Share your projects


Four years later I finally started making an OLED screen replacement for the simple and ugly LED bar I made for this project.

Using an Arduino code and a 1.5" RGB OLED display, started working out a crude interface.

Build the general device without too many issues. Wired in 3 buttons to change setting and brightness control. Not some of my best soldering work, but I don't have to look at it once it's in a case.

I found a web utility that makes it easy to create graphics for OLED projects like this, so I mocked up a general idea of how I want it, still work in progress. https://lopaka.app/

I've worked out a bit of the coding, had to figure out how to only trigger screen refreshes only on the change of state of an I/O pin. Figured out Contrast control and such.

I still need to design an enclosure, and a ton more coding and debugging. I'll share more when I'm done...



View attachment 39975View attachment 39976View attachment 39978View attachment 39979View attachment 39980
Tip: If your push buttons sometimes act up, you might need to debounce them in hardware (10k Ohm resistor + 1uF capacitor) or perform the filtering in software by reading a button as pushed if it registers multiple times instead of just once.
 
Four years later I finally started making an OLED screen replacement for the simple and ugly LED bar I made for this project.

Using an Arduino code and a 1.5" RGB OLED display, started working out a crude interface.

Build the general device without too many issues. Wired in 3 buttons to change setting and brightness control. Not some of my best soldering work, but I don't have to look at it once it's in a case.

I found a web utility that makes it easy to create graphics for OLED projects like this, so I mocked up a general idea of how I want it, still work in progress. https://lopaka.app/

I've worked out a bit of the coding, had to figure out how to only trigger screen refreshes only on the change of state of an I/O pin. Figured out Contrast control and such.

I still need to design an enclosure, and a ton more coding and debugging. I'll share more when I'm done...



View attachment 39975View attachment 39976View attachment 39978View attachment 39979View attachment 39980
Update, I buttoned up the electronics, and got the programming pretty much close to the final version. Had some issues how I was implementing the graphics realizing the 32k of ram is a bit tight for using full bitmap graphics, but instead used the simple draw features built into the Adafruit GFX library, which cut down the memory usage. drawRectangle() and fillRectangle() where the stars of the show...

Couldn't get a good picture of the OLED screen in actual use, colo(u)rs seem to be drowned out on camera... so I'll just attach what I mocked up I did on the web application and then implemented it in code.. Fairly happy how the left bar indicator came out and my crude drivetrain picture came out way better than I expected.
 

Attachments

  • Screenshot_20260223_124713.png
    Screenshot_20260223_124713.png
    4.9 KB · Views: 5
Last edited:
Back
Top