Maker Pro
Maker Pro

Ultrasonic Range Finder

jagan

Jun 4, 2012
10
Joined
Jun 4, 2012
Messages
10
I am doing a project for a robot and i want it to be able to sense walls and move back. I thought of doing this with an ultrasonic range finder, but after looking online, all the circuit schematics i can find for it are too complicated and/or require programming, and i can't programme. I am using the Circuit Wizard 2 software and amm meant to use the flowchart programming method.

This is a link to an image of the circuit i have built so far with a PIC:
https://www.dropbox.com/s/tch2p67k1gyvc1o/USRF.png
You can see to the right of the main circuit there is an ultrasonic reciever and transmitter in one module. What i want to know is how to connect it to the circuit, so i can use the flowchart to programme it. If you want to know, the pins on the USRF are :

power
ground
Trigger (TR)
Mode (MD)
Echo (EC).

Thanks.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,505
Joined
Jan 21, 2010
Messages
25,505
If you're using a PIC and you can't program... You're in the wrong territory.

I also assume from what you say that this is a school project.

Your dropbox image isn't particularly helpful.

There are many modules that can be obtained for very little money that do almost all you need. Essentially you trigger the transmitter and they tell you when the echo returns.

All you need to do is determine the time between these events which is essentially the distance that has been measured.
 
Top