Notifications
Clear all

-->September 6th, 2025<--

Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.

--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark

OLED schematic

7 Posts
3 Users
0 Reactions
2,121 Views
(@mezmer3365)
Active Member
Joined: 6 years ago
Posts: 16
Topic starter  

Mark - Quick question. On the schematic for the OLED you have the ON button and OLED data sharing the same gpio. How did you accomplish this?



   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Good question, and great catch. I am making the assumption that the only time the 'On' button would be pressed is when the RPI is powered down, and therefore will not cause any issues for the OLED display. 

If on the other hand, the 'On' button is pressed while the OLED display is on, it will cause the display to scramble. The OLED display needs to use the same pin that is required to make the 'On' button function, so this was the compromise. - Mark



   
ReplyQuote
(@captain_ron)
Reputable Member
Joined: 6 years ago
Posts: 172
 

The OLED's I bought only have 4 pins, your schematic shows 8. The Vin and GND i get, but the DATA and CLK pins I'm not sure what the correlate to. I have SCL and SDA. Please help.



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Yes, the only OLED pics available for the Fritzling diagram had 8 pins. In real life this style can be wired either using I2C (which uses 4 of the pins, and is what LiveSectional has been written to use) or SPI which needs them all. To answer your question;

4 pin   8 pin   RPi
SCL =  Clk = Pin 5
SDA = Data = Pin 3

Hope this helps. - Mark

LS Circuit with 1 OLED Display Board bb


   
ReplyQuote
(@captain_ron)
Reputable Member
Joined: 6 years ago
Posts: 172
 

It did thanks. Once I got the number of OLED used and turned it on in the settings it works! Now to wire up all 5 and get them mounted.



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Great! Send a pic once you have them up and running. - Mark



   
ReplyQuote
(@captain_ron)
Reputable Member
Joined: 6 years ago
Posts: 172
 

@markyharris I will. I need to make the box from the OLED STL file and get my frame mounted. This will give me time to wire things up and solder the new board.



   
ReplyQuote
Share: