lpcware

(Help) Connecting LPC1769 LPCXPresso with HD44780 16x2 LED Display

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Nabil55 on Sun Jul 13 23:27:05 MST 2014
I recently bought the HD44780 16x2 LED display, and was hoping to display something on it using my LPC1769 LPCXpresso board. Looking online, I came across an example someone posted to display something on the same display with the LPCXpresso. However, I'm not exactly sure about which pins to use. For reference, the example included three files:

main.c (https://01346703230337342267.googlegroups.com/attach/37a3693e358f1f6c/main.c?part=0.3&view=1&vt=ANaJVrFveP_aqKJvjfGtEtV8tVAuwWDHeCu4Z9XsbKBmj3JZL_n72mzmaNnGzcNfYEgPw3RhqHDTW5Bch3BvS0XMzNfVd_PsqRqm6b9syV-7tXAi6yif9oQ)

LCD.h (https://01346703230337342267.googlegroups.com/attach/37a3693e358f1f6c/LCD.h?part=0.2&view=1&vt=ANaJVrHJcLTYc82bHO5BKjSrewe9rF8qSMyeTuCZJwi82PRAKWkYJrlwU4cjQ-W0JoR2rysreNSUmHa26KwTD3-ceN9Rw29Nc6zonbc42TQPLNZJHUJADYs)

LCD.c (https://01346703230337342267.googlegroups.com/attach/37a3693e358f1f6c/LCD.c?part=0.1&view=1&vt=ANaJVrFAMPIto2ggrgTXfWQDzpidD-ucvfR4KSP7qmFoX-zru20loq0VRTwv8ChjV1S39SHGyRUHfEkXDVLpY64SegDiEoMccGTy6Df5DFk3MzECX5mcM2E)

Now from what I read in the code, I THINK the display's RS pin is connected to pin 2.0 on the board, and the E pin is connected to pin 2.1 (correct me if I'm wrong, as I am still a beginner with these things). However, what about the display's R/W pin? Isn't that supposed to be connected? If so, where in the board? Also, what of the eight data bit pins (DB0-DB7)? Where do they go?

Outcomes