gns
Newbie level 4
Hello,
I want to interface a 16*2 lcd (HD44780) to at89s51 atmel microcontroller.
I have a program in c but i want your help because i don't know if its correct.
The datasheet of the lcd is this on : https://media.digikey.com/pdf/Data Sheets/Optrex PDFs/DMC-16205NY-LY Spec.pdf
Also i need some help for powering up the lcd, as you can see from the datasheet
pin 1 -> gnd
pin 2 -> Vcc
pin 3 -> Vee
.
.
pin 15 -> LED
In the datasheet Vcc and Vee are suggested to be powered to 4.7V and my question is, am i going to connect those two pins to the same power supply at 4.7V and connect the gnd to pin 1 or i have to use two power supplies for each pin (2-3). Finally the pin 15 which is the backlight where i have to connect it?
I have attached the c code here
Best wishes,
John
I want to interface a 16*2 lcd (HD44780) to at89s51 atmel microcontroller.
I have a program in c but i want your help because i don't know if its correct.
The datasheet of the lcd is this on : https://media.digikey.com/pdf/Data Sheets/Optrex PDFs/DMC-16205NY-LY Spec.pdf
Also i need some help for powering up the lcd, as you can see from the datasheet
pin 1 -> gnd
pin 2 -> Vcc
pin 3 -> Vee
.
.
pin 15 -> LED
In the datasheet Vcc and Vee are suggested to be powered to 4.7V and my question is, am i going to connect those two pins to the same power supply at 4.7V and connect the gnd to pin 1 or i have to use two power supplies for each pin (2-3). Finally the pin 15 which is the backlight where i have to connect it?
I have attached the c code here
Best wishes,
John