NHD-0420CW-AY3 and 5 V Power Supply
Hello, I have a question of understanding. I bought this excellent oled NHD-0420CW-AY3 and I do not understand the 5 V power supply.
1. Hardware:
The following makes no difference:
- 5 V at VDD and REGVDD
- 5 V only at VDD
- 5 V only at REGVDD
Which is correct?
2. Software:
The initialization routine:
void init(){
RES = 1;//reset HIGH - inactive
delayms(1);//delay
command(0x2A);//function set (extended command set)
command(0x71);//function selection A
data(0x00);//disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
If I send only data(0x00) or data(0x5C). It makes no difference.
Which is correct?
Thanks in advance.
Holger
-
Hello Holger,
When running at 5V there is an internal connection (between Vdd & REGVdd) happening that over rides the software for the internal regulator. Only when applying around the 3V does the software regulator take into effect and needed. When working with 5V it is recommended to output to both Vdd and REGVdd (not just one).
Thanks,
ZP0 -
Dear ZP, thank you very much!
So with +5 V on both Vdd and REGVdd this code is not required.
command(0x2A); //function set (extended command set)
command(0x71); //function selection A
data(0x00); // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
I tested it.
best regards
Holger0
Please sign in to leave a comment.
Comments
2 comments