- This topic has 10 replies, 7 voices, and was last updated 9 years, 9 months ago by .
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- You must be logged in to reply to this topic.
|
Electronics › Electronics › help in ultrasonic circuit
i want to use ultrasonic in my project i know it’s therotical theory but i don’t know it’s circuit ..can any one help me plz and thanks in advance :
which type of project are you making……. because i am also making project on ultrasonic range finder…….
i wanna to use it in robot to detect te object
you can get some information by this
February 2008 • electronics for you w w w. e f y m a g . c o m
EE616 Electronic Design Lab Project Report, EE Dept, IIT Bombay, November 2007
seems like a very late reply but still would want to help .. !
the ultrasonic sensor can be easily interfaced with a microcontroller..using the cheap modules no external circuitry is required and you get very accurate results… you can refer the datasheet for more info.
The one i used was HC-SR 04 ..just google the data sheet..quite simple to implement
i m doing some programming in embedded c but i m not getting proper output …so if u have 8052 uc interfacing with sr hc04 sensor than plz send me ,…[email protected]
Hello Narayan, we don't have 8052 uc, but we have ultrasonic sensor which you may need in your project, if needed, please contact me at [email protected] or you may check more product information at http://www.longsun-acoustic.com.
regards,
Bruce
ultrasonic sensor works on very simple principle
it sends ultrasonic pulse when trig pin is given high logic
then one has to wait till the pulse returns back through ECHO pin
just calculate the time between sending-receiving the pulse
then distance = velocity of sound / time x 2
A M sir i read fully these sensors manual and according to that i have written code…
basic principle what i have read is ..
first i will trigger on trig pin for 10 microsec than bcoz of that sensor will automatically make echo pin high
as soon as echo pin is high my timer will start and wait upto next echo signal …when echo pin comes low within 38ms ..timer will stop nd according to that time value i m going to calculate distance ..
bt dificulty is its is not giving proper output i mean if i put my hand in front of sensor at distance of 30cm ..in programm it is giving just double 60cm…which is totally wrong …so plz give me proper solution .how i can debugg it..?
means every time u r getting double value of distance?
if thats the thing means u have not divided the value by 2.
the distance traveled is calculated as to-n-fro. so u hv to divide it by 2 to get correct distance
i did these all calculation ….i will send u code if u get some time plz evaluate my code and notify my mistake …give me ur mail id ….mine is…[email protected]