![]() ![]() Now it’s time to work on the next gen, and the 0.96″ OLEDs that we initially ignored have dropped to ~$2.50 each. These changes usually bring sleep-mode current on 0.96″ OLEDs to about 2μA per screen. Here I’ve also removed the redundant I2C pullups (R6&R7, 4k7) and bridged out the 662k regulator which isn’t needed on a 3.3v system. Modifications done to the second display: The only thing you must do for dual screens is change the bus address. This let us add those SPI screens to a codebase that was already near the memory limits of a 328p. ![]() While driver libraries were plentiful, I realized that Julian Ilett’s shift-out method could pull font maps from the Arduino’s internal eeprom rather than progmem. That prototype was our first compelling use-case for a display screen, and we used cheap Nokia 5110 LCDs because they were large enough to see in murky water. But a few years ago we built a hand-held flow sensor that needed to provide operator feedback while the diver hunted for the peak discharge point of an underwater spring. And most of our instruments spend months-to-years in underground darkness, far from any observer. Oceanographic instruments rarely have displays, because they don’t contribute much to profilers being lowered off the side of a boat on long cables. The CODE ON GITHUB drives each screen in different memory modes to simplify the functions and uses internal eeprom memory to store fonts/bitmaps. Left is split Yellow: 128×16 pixels & Blue: 128×48 pixels while the right screen is mono-white. Two I2C 0.96″ OLED screens used simultaneously. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |