[PIC] ultrasonic sensor sense the distance and display the result in LCD

Status
Not open for further replies.

xinhui

Junior Member level 1
Joined
Jun 2, 2015
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
MALAYSIA
Activity points
143
Hi... i had met a problem in doing the assembly code for the ultrasonic sensor that can sense the distance and display the result in LCD. I use the proteus to simulate the circuit but the displayed result is not in my expectation. My desired result is the ultrasonic sensor can sense the distance and display the result in cm. So how should i write the assembly code for this? Hope that someone can help me solve this problem. Thank you!
The attachment is assembly code that i write:
 

Attachments

  • ASSEMBLY CODE.rar
    3.1 KB · Views: 77

My personal experience is that there may be differences in the working of a circuit when it is simulated and when it is physically built and run. Once you are confident about the working of the code, you may try the circuit on a breadboard.
Regards
 
Reactions: xinhui

    xinhui

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…