Projects › Projects › How to interface Sharp’s distance sensor with 8051 microcontroller (AT89C51)-can i get the actual distance on the screen › HiIf you are unable to see
If you are unable to see distance on LCD then it could be either a fault in circuit connection or it could be in the code as well. According to me the code written for this project, on EG, is correct so most probabaly the fault is related to connections in the circuit; check it out again. Also try adjusting the potentiometer connected to pin 3 of LCD, this is used to adjust the contrast value of LCD. Sometimes you don't get to see things on LCD screen even if contrast is zero.