User Tools

Site Tools


using_zero_with_ssd1306_based_lcd_and_spi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
using_zero_with_ssd1306_based_lcd_and_spi [2026/08/24 21:08] – walkeradminusing_zero_with_ssd1306_based_lcd_and_spi [2026/08/25 18:23] (current) – [Test Code] walkeradmin
Line 1: Line 1:
 +====== Using Zero with ssd1306 Based LCD and SPI ======
 +<color #db5f0b>Jul 2026</color>
 +\\ 
 +\\ 
 <color #ed1c24>***** THIS PAGE IS VERY MUCH WIP - PLEASE COME BACK LATER *****</color> <color #ed1c24>***** THIS PAGE IS VERY MUCH WIP - PLEASE COME BACK LATER *****</color>
 +\\  
 +\\  
 +{{ :ws-rp2040-01.jpg?100 |}} 
 +---- 
 +===== 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:
 +\\ 
 +\\ 
 +{{ :waveshare-sp-lcd-wiring.png?700 |}}
 +\\ 
 +Once you have wired up your LCD, we can move on to the software.
 +\\ 
 +\\ 
 +----
 +==== The Driver ====
 +\\ 
 +You can download the driver here: {{ :ssd_1306_zero.zip |}} you have to upload the driver to the \lib folder.
 +\\ 
 +\\ 
 +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, that will be up to you once you get your LCD working.
 +\\ 
 +\\ 
 +
 +\\ 
  
using_zero_with_ssd1306_based_lcd_and_spi.1787605702.txt.gz · Last modified: by walkeradmin