Electronics > Beginners
Don't understand how to read datasheet for OLED display, also current resisting?
(1/1)
Mp3:
Hi all, two questions.

I just bought one of these displays to replace an old EL backlit LCD from a device with a dead inverter. https://www.mouser.com/datasheet/2/427/oled040n002alpp5n00000-1153452.pdf

1. I can't tell from the datasheet what i need to do to switch it between 4 bit and 8 bit mode. I don't know which I actually need. I know these displays are a drop in solution but i don't know whether they are set to 4 bit or 8 bit by default. https://www.buydisplay.com/default/4002-40x2-character-lcd-display-module-hd44780-white-on-black

2. Will i need a current limiting resistor on the OLED? If so where would i put it?
mariush:
The OLED display uses OLED-100 controllers which seem to use the same command set as those HD44780 modules

You can find a datasheet of some sort here: https://docs-emea.rs-online.com/webdocs/1401/0900766b814011cc.pdf

The standard hd44780 or clones can work either in 4 bit mode or 8 bit mode - YOU select the mode during initialization.
In 4 bit mode, you only need to use RS, RW, EN and 4 of the 8 data pins... actually only RS is needed out of the RS,RW and EN - you can hardwire EN to have the lcd always on, and you only need RW connected to a microcontroller if you need to read data from the lcd display back to the microcontroller. For just controller to lcd communication, the RW can be left unused.

Here's a display which uses a clone of that hd44780 chip, with the same instructions : http://www.newhavendisplay.com/specs/NHD-0208AZ-FL-GBW.pdf
You can see the pinout and the way you'd connect in 4bit mode or 8bit mode, and how you use a potentiometer to adjust contrast.
Also, you have in that datasheet the minimum of instructions you need and code that shows you how to initialize the display in either 4bit mode, or 8bit mode.

The datasheet also links to the full documentation for that controller, which is here: http://www.newhavendisplay.com/app_notes/ST7066U.pdf

OLED displays shouldn't need a backlight, so I don't see why you'd use a current limiting resistor.
Navigation
Message Index
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod