nevermind, i figured it out, in 4bit mode, I shouldnt have connected R/W to the uC, I tied it to ground and now it all works![]()
Hello all, i'm having some troubles interfacing between a hd44780 compatible LCD and a PIC microcontroller, all I ever see on the LCD is those white blocks! I cant figure it out, my code works on the PIC simulator I am using, but in the real world it doesnt work, maybe I am hooking it up wrong.
Its a 4x20 Character LCD, I'm running it in 4bit mode, I have pins 4-7 on PORTB as the Data Pins and they are connected to pins 10-14 on the LCD, I have PORTB pin 1 as RS, PORTB pin 2 as RW, and PORTB pin 3 as E, they are connected to pins 4-6 on the LCD.
As far as I know its all connected right, I hope its not the LCD though, thats the only thing I can think of since it worked in the simulator but not with the actual LCD.
Hey Laserlips, your momma was a snowblower!!
nevermind, i figured it out, in 4bit mode, I shouldnt have connected R/W to the uC, I tied it to ground and now it all works![]()
Hey Laserlips, your momma was a snowblower!!
Good to hear you succeeded.
What are you displaying on that LCD?
I'm not sure, I am thinking of getting data from my OBD-I computer and displaying that on the LCD using the PIC's A/D and an analogue multiplexer
Hey Laserlips, your momma was a snowblower!!
Bookmarks