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 Oct 25 2020, 07:18 PM
dav
https://olinuris.library.cornell.edu/sites/default/files/webform/mgcb-watch-the-lion-king-online-full-hd-123movies-jehk.pdf
Sun Oct 25 2020, 03:46 PM
Fae Merlin
Tired of paying for clicks and getting lousy results? Now you can post your ad on thousands of ad websites and it'll only cost you one flat fee per month. Get unlimited traffic forever! |
Thu Jun 11 2020, 07:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 11:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 08:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 02:39 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 11:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 01:55 PM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 06:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 05:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?

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

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

Members: 38215
Newest member: Mirza123