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

Sat Dec 05 2020, 05:52 PM
Vaughn
Nicely put. Appreciate it! Best Essay writing essay
Sat Dec 05 2020, 05:50 PM
Smithdog
only
Sat Dec 05 2020, 05:06 PM
Lavern
I'm pretty pleased to find this page. I wanted to thank you for ones time for this particularly wonderful read!! I definitely loved every part of it and I have you saved to fav to look at new stuff in your website. https://yescheapessaywriting.com best essay writing services best essay writing services https://yescheapessaywriting.com
Sat Dec 05 2020, 03:40 PM
Isiah
What's Taking place i am new to this, I stumbled upon this I have discovered It positively helpful and it has helped me out loads. I'm hoping to contribute & aid other users like its aided me. Good job. https://servicesdigitalwriters.com custom dissertation writers custom dissertation writers https://servicesdigitalwriters.com
Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051

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

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

Members: 38215
Newest member: Mirza123