TWILCD together with OLED



There is a wide range of OLED character displays available using the HD44780 controller. We had one from Newhaven that worked just fine with our TWILCD TWI/I2C LCD backpack, but we were recently made aware of the fact that most of Newhaven's other OLED displays wouldn't work with TWILCD (nor with the standard version of the Arduino LiquidCrystal library for that matter).

Turns out we needed to make some changes to our TWILiquidCrystal display to make things run smoothly with most OLED displays. So we are happy to announce that our TWI/I2C LCD backpack null is now fully functioning with various OLED Character Displays.

We've updated our TWILiquidCrystal Arduino Library, and it now fully supports a wide range of OLED Character Displays. If you have a problem connecting an OLED to your TWILCD, please make sure to download the latest version from here.

These displays have been tested:

  • NHD-0216SZW-BY5
  • NHD-0420DZW-AG5
  • NHD-0216KZW-AB5
  • A noname (OEM) OLED with 2x7 pin header, compatible with HD44780 layout.

Here is a size comparison (the NHD-0216SZW-BY5 is HUGE!)oled2

A special thanks goes to TOMEGA3 for debugging help on this issue.