Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

distance measuring sensor

Status
Not open for further replies.

asim_123

Junior Member level 2
Joined
Feb 16, 2013
Messages
20
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,405
HI


friends i am working on distance measuring sensor and i am going to display the output on LCD i got the output but , how can I get the output in increment form mean ,just like digital counter on LCD. plz help!!!!!......
 

Which type of Distance Measurement Sensor you are using and What type of Output you are getting from it.

You have refresh your LCD as soon as you sense change in measurement, and then display those distance values on LCD
 

I am using assembly language for programming here is the output below

https://obrazki.elektroda.pl/2359114300_1361092282.jpg

but i want LCD show me the digits just like "24" and increase and decrease when sensor sense any object indeed it measures the distance between object and sensor .. but i am facing the trouble of lcd display plz help
 

I am using assembly language for programming here is the output below

https://obrazki.elektroda.pl/2359114300_1361092282.jpg

but i want LCD show me the digits just like "24" and increase and decrease when sensor sense any object indeed it measures the distance between object and sensor .. but i am facing the trouble of lcd display plz help


First check whether you can display something on lcd or not.
I think you can..
Than there is a simple algorithm to convert the output coming from the sensor and display it on lcd.

Suppose you get 24 it is in decimal you have to convert it into seprate '2' and '4' character to display it on lcd.

Divide 24 by 10 you will get remainder as 4
add 0x30 to it you will get 0x34 means '4' character
Now extract quotient you will get 2 add 0x30 you will 0x32 which is '2' in charcter
Display these characters on lCD

You have to implement this algorithm in Assembly.
 
https://www.youtube.com/watch?feature=player_detailpage&v=0uWCLy_-B1Q

please see the LCD output i want LCD show me this type of output but i failed
i will add my code also plz see it below in 4 links
https://obrazki.elektroda.pl/5669568800_1361127054_thumb.jpg
https://obrazki.elektroda.pl/8159296400_1361127056_thumb.jpg
https://obrazki.elektroda.pl/3726740300_1361127058_thumb.jpg
https://obrazki.elektroda.pl/7890293700_1361127059_thumb.jpg

- - - Updated - - -

the top most link is the video link in which outout of lcd is showed

- - - Updated - - -

try this it is working LCD code
http://obrazki.elektroda.pl/4436703100_1361128165.jpg

- - - Updated - - -

http://obrazki.elektroda.pl/4436703100_1361128165.jpg

- - - Updated - - -

http://obrazki.elektroda.pl/4436703100_1361128165.jpg

- - - Updated - - -

i cant upload right formate of code due to internet error sorry

- - - Updated - - -

its working now
http://obrazki.elektroda.pl/8505931400_1361096293.jpg

- - - Updated - - -

copy url and paste it
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top