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

Sun Sep 26 2021, 08:16 AM
Marina Elizabeth
Hey, I'm Marina.. I found your profile in Social network. I'm single and horny.. Please come and chat with me. Come here to chat with me.
Sun Sep 26 2021, 07:26 AM
Ranker SEO
Hello,
Sat Sep 25 2021, 09:53 PM
Earnestine Nowak
Reach first page on Google with our powerful backlinks for just $49. Take your business to the next level by utilizing our SEO service. No.1 Genuine SEO Agency in 2021. For real proofs visit https://www.ranker.one
Sat Sep 25 2021, 09:27 PM
Celesta
This info is invaluable. How can I find out more? 2гис дубай [ekskurzia-Dubai.Bg] ekskurzia-dubai Ekskurzia Dubai
Sat Sep 25 2021, 09:24 PM
Brigitte Hickson
I think that nobody should have to pay for advertising online any more these days which is why I put together this list of places where you can advertise completely free! Check it out: https://tinyurl.com/getfreeadshere

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: 54, Members: 0 ...

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

Members: 38215
Newest member: Mirza123