I am using a Raspberry Pi to control a 16x2 LCD screen. It displays a countdown timer once per second for several minutes— most of the time it works perfectly, but sometimes (<1% of the time) it writes a random character to the whole display.
Because it’s intermittent and random, it seems like a hardware issue and not software— perhaps a problem with current fluctuations?
I was reading that I should add a capacitor in parallel to the LCD connection to mitigate variable current but I don’t know exactly where to wire it or what capacitance to use. There is a variable potentiometer to control the backlight intensity but otherwise there are no resistors or capacitors in the system.
I would really appreciate any assistance in this, even just some guidance on how to start debugging the circuitry. Thanks!
Because it’s intermittent and random, it seems like a hardware issue and not software— perhaps a problem with current fluctuations?
I was reading that I should add a capacitor in parallel to the LCD connection to mitigate variable current but I don’t know exactly where to wire it or what capacitance to use. There is a variable potentiometer to control the backlight intensity but otherwise there are no resistors or capacitors in the system.
I would really appreciate any assistance in this, even just some guidance on how to start debugging the circuitry. Thanks!
Attachments
-
41.2 KB Views: 9