1
\$\begingroup\$

I'm making a project that requires an LCD, and the project was working fine on my breadboard for testing.

I moved it to my final product, but now my LCD stops displaying text after a few minutes, or when the potentiometer value is too low.

One thing that really gets my attention is that if the potentiometer is fully high, the LCD doesn't clear by itself. When I lower it, it happens again. I have a refresh rate in this project as well for about every 250 milliseconds. Here is the code for my project along with its schematic.

Schematic: enter image description here

\$\endgroup\$
7
  • 1
    \$\begingroup\$ Sounds like you have the pot connected incorrectly, so it shorts out the supply voltage. \$\endgroup\$ Jan 21, 2021 at 0:17
  • 1
    \$\begingroup\$ If you swap wiper and end of the element, it will present a direct short across the power when turned to one end. This can happen when footprint pin numbers don't match the schematic symbol. \$\endgroup\$ Jan 21, 2021 at 0:32
  • 1
    \$\begingroup\$ I made sure the footprint is right, and it is as far as I know. I've also been thinking that it might be a short between pins 3 and 4. This is because the lcd works for the first few seconds, but stops a while afterwards. Even if I don't touch the potentiometer. \$\endgroup\$
    – Comyar D
    Jan 21, 2021 at 0:35
  • 1
    \$\begingroup\$ Yes, that's another possibility. \$\endgroup\$ Jan 21, 2021 at 0:36
  • 1
    \$\begingroup\$ maybe you swapped 3 and 4 \$\endgroup\$
    – jsotola
    Jan 21, 2021 at 1:46

1 Answer 1

1
\$\begingroup\$

Turns out the issue was the potentiometer was cheap. I got a new one and it works as good as new.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.