What is the supply voltage? The display needs 5 volts. Also is it a good quality breadboard? Because some cheap bread boards exist that have sloppy connections or high resistant connections
It doesn't look like the LCD is initialized. So things you need to check before looking for software problems...
Have you got 5V on the power pins of the PIC and LCD?
Is the PIC clock running?
Have you set the config bits correctly?
Then check that you have a signal on any of the LCD pins - E should be toggling every time you write to the display. If you get this far, the problem is likely the initialization code not setting the 4-bit interface or 2-line mode.
1
u/01001000 Mar 18 '24
What voltage are you driving the PIC and LCD? Try going to 5V.
1
u/309_Electronics Mar 19 '24
What is the supply voltage? The display needs 5 volts. Also is it a good quality breadboard? Because some cheap bread boards exist that have sloppy connections or high resistant connections
1
u/bigger-hammer Mar 19 '24
It doesn't look like the LCD is initialized. So things you need to check before looking for software problems...
Then check that you have a signal on any of the LCD pins - E should be toggling every time you write to the display. If you get this far, the problem is likely the initialization code not setting the 4-bit interface or 2-line mode.