LCD – OLED interface
Posted: Thu Oct 23, 2014 7:32 am
When I look at the OLED components, I see:
A) Inside of FlowCode 6: “LCD (Adafruit, OLED)” and “LCD 4x20 (Adafruit, OLED)”
B) Help File: “LCD (Adafruit, OLED) component”
What differences are between these 2 components?
Is it the second one 2), without 20x4 in its name, able to drive also OLED displays with other number of lines and other number of characters per line? If yes, then how? If not, then how can I drive 16x2 OLED display?
I see that both components have the same number of lines: 4 Data bits, RS, CS, Enable.
1) When I compare the above OLED components with “LCD (Generic)” and “LCD (Generic, 20x4)”, then I see are the same lines: 4 Data bits, RS, CS, Enable.
What is the difference between these LCDs and the above OLEDs? Timing, initialization, communication protocol?
2) I see many OLED displays in the market which have mentioned various interfaces as: MPU 8bit, MPU 4bit, 3 and 4-wire SPI and I2C, Parallel Interface 8080 and 6800.
When we use LCD and OLED components in FlowCode 6, and I see only 4bit for data, then which of the above interface is used? Is it 8080 or 6800? Is it any difference between MPU 8bit, MPU 4bit and Parallel Interface 8080 and 6800? For me MPU 8bit, MPU 4bit look as parallel interface.
Many OLED displays show in the datasheet only MPU 8 bit. Then how can I drive them with FlowCode when the components for LCD and OLED have only 4 bits?
I notice also the component LCD (I2C). It has only 2 data lines. Is it a 3-wire I2C?
What if I want to use 4-wire I2C LCD?
And If I need to use SPI LCD, then we do not have a component for it? Or how can we drive it? Writing the needed C code for it?
3) Many LCD and OLED displays claim the compatibility with HDD44780 driver, using a Sitronix driver, as for example ST7066U. Do you know and compatibility issues between FlowCode 6 and Sitronix driver when used in compatibility mode with HDD44780 driver and the LCD-OLED components inside the FlowCode?
4) I would like to understand the situation with FlowCode when I do not use only the recommended AdaFruit, but also some other LCD and OLED, let’s say 20x4 and 16x2, or generally speaking from 8x1 up to 20x4.
Here are some examples of 20x4:
a)http://www.tme.eu:
i. LCD: RAYSTAR OPTRONICS RC2004A-BIW-ESX (http://www.tme.eu/en/details/rc2004ab/l ... a-biw-esx/)
ii. OLED: RAYSTAR OPTRONICS REC002004AYPP5N00000 (http://www.tme.eu/en/details/rec002004a ... pp5n00000/)
b) http://www.newhavendisplay.com :
i. LCD: NHD-0420DZ-NSW-BBW (http://www.newhavendisplay.com/nhd0420d ... k1mq0g3qq6)
ii. OLED: NHD-0420DZW-AY5 (http://www.newhavendisplay.com/nhd0420d ... -4218.html)
c) http://www.crystalfontz.com :
i. LCD: CFAH2004A-TMI-JT (https://www.crystalfontz.com/product/CFAH2004ATMIJT)
ii. OLED: CFAL2004A-Y (https://www.crystalfontz.com/product/CFAL2004AY)
Which in fact seem to be the Winstar LCD, OLED. For example the Winstar WEH002004A OLED display (http://www.winstar.com.tw/products_deta ... &ProID=299).
Can we drive the above LCD, OLED with FlowCode LCD, OLED components?
A) Inside of FlowCode 6: “LCD (Adafruit, OLED)” and “LCD 4x20 (Adafruit, OLED)”
B) Help File: “LCD (Adafruit, OLED) component”
What differences are between these 2 components?
Is it the second one 2), without 20x4 in its name, able to drive also OLED displays with other number of lines and other number of characters per line? If yes, then how? If not, then how can I drive 16x2 OLED display?
I see that both components have the same number of lines: 4 Data bits, RS, CS, Enable.
1) When I compare the above OLED components with “LCD (Generic)” and “LCD (Generic, 20x4)”, then I see are the same lines: 4 Data bits, RS, CS, Enable.
What is the difference between these LCDs and the above OLEDs? Timing, initialization, communication protocol?
2) I see many OLED displays in the market which have mentioned various interfaces as: MPU 8bit, MPU 4bit, 3 and 4-wire SPI and I2C, Parallel Interface 8080 and 6800.
When we use LCD and OLED components in FlowCode 6, and I see only 4bit for data, then which of the above interface is used? Is it 8080 or 6800? Is it any difference between MPU 8bit, MPU 4bit and Parallel Interface 8080 and 6800? For me MPU 8bit, MPU 4bit look as parallel interface.
Many OLED displays show in the datasheet only MPU 8 bit. Then how can I drive them with FlowCode when the components for LCD and OLED have only 4 bits?
I notice also the component LCD (I2C). It has only 2 data lines. Is it a 3-wire I2C?
What if I want to use 4-wire I2C LCD?
And If I need to use SPI LCD, then we do not have a component for it? Or how can we drive it? Writing the needed C code for it?
3) Many LCD and OLED displays claim the compatibility with HDD44780 driver, using a Sitronix driver, as for example ST7066U. Do you know and compatibility issues between FlowCode 6 and Sitronix driver when used in compatibility mode with HDD44780 driver and the LCD-OLED components inside the FlowCode?
4) I would like to understand the situation with FlowCode when I do not use only the recommended AdaFruit, but also some other LCD and OLED, let’s say 20x4 and 16x2, or generally speaking from 8x1 up to 20x4.
Here are some examples of 20x4:
a)http://www.tme.eu:
i. LCD: RAYSTAR OPTRONICS RC2004A-BIW-ESX (http://www.tme.eu/en/details/rc2004ab/l ... a-biw-esx/)
ii. OLED: RAYSTAR OPTRONICS REC002004AYPP5N00000 (http://www.tme.eu/en/details/rec002004a ... pp5n00000/)
b) http://www.newhavendisplay.com :
i. LCD: NHD-0420DZ-NSW-BBW (http://www.newhavendisplay.com/nhd0420d ... k1mq0g3qq6)
ii. OLED: NHD-0420DZW-AY5 (http://www.newhavendisplay.com/nhd0420d ... -4218.html)
c) http://www.crystalfontz.com :
i. LCD: CFAH2004A-TMI-JT (https://www.crystalfontz.com/product/CFAH2004ATMIJT)
ii. OLED: CFAL2004A-Y (https://www.crystalfontz.com/product/CFAL2004AY)
Which in fact seem to be the Winstar LCD, OLED. For example the Winstar WEH002004A OLED display (http://www.winstar.com.tw/products_deta ... &ProID=299).
Can we drive the above LCD, OLED with FlowCode LCD, OLED components?