Use of Ultrasonic sensor for measuring distance........

we already have a complete thread dedicated to similar sensor from parallax Ping))
take a look at this thread. It has all the pseudo code and information on distance measurement sensor.
http://www.8051projects.net/t27437/8051-discussion-forum/pulse-generator-using-p89c51rd2.htm... Read Compelte post
Posted by ajay_bhargav on Thu Sep 13 2012, 04:39 AM

Pulse generator using p89c51rd2

i give you pseudo code to follow..
sonarO connected to INT0 pin P3.2 not P1.0 to make things easier.


sonarO = 0; //make it o/p pin and o/p low on P3.2
sonarO = 1; //
5uS delay// or whatever u want to keep
sonarO = 0;// pulse complete L-H-L
//no delay required, prepare your controller for calculating time..
sonarO = 1;//make it i/p pin to read the pulse width
TMOD = 0x09; //Timer0, 16bit gate controlled(P3... Read Compelte post
Posted by ajay_bhargav on Fri Nov 06 2009, 10:36 AM

Conversation

Wed Apr 14 2021, 07:42 PM
Harmanjsj
only
Wed Apr 14 2021, 05:05 PM
Valencia
Thank you for some other excellent article. Where else may anyone get that type of info in such a perfect manner of writing? I have a presentation subsequent week, and I'm on the search for such info. viagra otc https://viagrasildenafilok.com/
Wed Apr 14 2021, 03:56 PM
Maritza
Hello, i think that i noticed you visited my web site thus i came to return the prefer?.I am attempting to in finding issues to improve my website!I assume its good enough to make use of a few of your ideas!! https://auto.rifugiofiori.it/docbook-sample.pdf Katja
Wed Apr 14 2021, 09:31 AM
Niklas Spearman
$99 once off!
Tue Apr 13 2021, 10:42 PM
Aliza Dyal
Brand new way of online advertising just released! The best part is you'll never have to pay for clicks again! To find out more have a look at : http://bit.ly/advertising-with-zero-perclick-charges-ever

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 113, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123