using_zero_with_ssd1306_based_lcd_and_spi
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| using_zero_with_ssd1306_based_lcd_and_spi [2026/08/24 21:07] – created walkeradmin | using_zero_with_ssd1306_based_lcd_and_spi [2026/08/25 18:23] (current) – [Test Code] walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | THIS PAGE IS VERY MUCH WIP - PLEASE COME BACK LATER. | + | ====== Using Zero with ssd1306 Based LCD and SPI ====== |
| + | <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | ---- | ||
| + | ===== Introduction ===== | ||
| + | \\ | ||
| The main difference between the driver we will use here, and the driver we used on the Pico is: | The main difference between the driver we will use here, and the driver we used on the Pico is: | ||
| - | * The GPIO pins you pass into the driver | + | * The GPIO pins you pass into the driver. |
| - | * The SPI bus number (Zero uses SPI0 by default) | + | * The SPI bus number (Zero uses SPI0 by default). |
| The Pico we used SPI bus 1 | The Pico we used SPI bus 1 | ||
| Line 21: | Line 30: | ||
| On the Zero, the SPI bus 1 pins are not exposed, so it cannot be used. | On the Zero, the SPI bus 1 pins are not exposed, so it cannot be used. | ||
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
| + | ==== The Wiring ==== | ||
| + | \\ | ||
| + | The wiring for the Zero is exactly the same as for the Pico, unfortunately there are two slight differences. | ||
| + | |||
| + | * 1. The GPIO Pins are different. | ||
| + | * 2. The Pico uses SPI1 and the Zero uses SPI0 | ||
| + | |||
| + | See the wiring below: | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | \\ | ||
| + | Once you have wired up your LCD, we can move on to the software. | ||
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
| + | ==== The Driver ==== | ||
| + | \\ | ||
| + | You can download the driver here: {{ : | ||
| + | \\ | ||
| + | \\ | ||
| + | I am not going to talk about the driver because there isn't anything in there we need to change. | ||
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
| + | ==== Test Code ==== | ||
| + | \\ | ||
| + | All this test code does is to print 8 lines of text with sequential numbers after them, the numbers keep incrementing one at a time. The test code is designed to ensure the LCD is working fine, not to provide any real functionality, | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | \\ | ||
using_zero_with_ssd1306_based_lcd_and_spi.1787605673.txt.gz · Last modified: by walkeradmin
