Hello Sandeep,
your display has not the standard pinout !
5V is on pin 14 and ground on 13 !
VO has to be connected to a poti to setup the contrast (1k to 10k will work).
If you change the VO voltage the display have to change. Without init you normaly see one of the two lines darker.
HD44780 compatible displays can be sensitive for contrast voltage - VO connected to 5V or GND no display.
To follow the demo :
#include "mbed.h"
#include "TextLCD.h"
TextLCD lcd(p15, p16, p17, p18, p19, p20, TextLCD::LCD16x2); // rs, e, d4-d7
int main() {
lcd.printf("Hello World!\n");
}
you have to connect:
p15 to LCD 11,
p16 to LCD 9,
p17 to LCD 4,
p18 to LCD 3,
p19 to LCD 2,
p20 to LCD 1,
LCD 10 to GND,
LCD 5 - LCD 8 open or conected to GND
15 + 16 is the background light. You have to use a resistor to limit the current when using 5V.
Hello everyone,
As I am new to mbed, I am currently having problem with connecting an lcd to the mbed please check the attached lcd picture.
An any formation would be helpfull.
Thanks