DEV Community

nickray
nickray

Posted on

1

Rustic OLED on the Nucleo

Actual date: 2018-12-17 and 2018-12-18

Since my USB device efforts have not led anywhere so far, I diverted my efforts to get an OLED up and running, still on the STM32L4 platform. Eventually, it will be nice to have a Solo key with an integrated display!

Scott Mabin recently added I2C support to his HAL, so I got everything ready quickly. It DID NOT WORK!!!!

Well. First, I bought a very cheap soldering iron and did a horrible job (first solder experience in over two decades) of attaching the pins to my 0.91" 128x32 OLED (with an SSD1306 chip). Still, did not work!

Then, I discovered the 0.96" 128x64 OLED with the same chip was already pre-soldered... again, DID NOT WORK!

(...)

The next day, I finally followed both Conor's and Scott's advice in trying different I2C addresses. A quick search suggested using 0x78 (which is 2*0x3c, which all the data sheets mention) for cheap Chinese clones such as mine, and ta-daa! Success!

SoloKeys logo on OLED, courtesy of Rust

Further outcome of non-immediate success

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

If this post resonated with you, feel free to hit ❤️ or leave a quick comment to share your thoughts!

Okay