Pages: [1]   Go Down
Author Topic: Arduino and Ultrasound...  (Read 600 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi
just got my arduino board and ultrasound device.
i uploaded the code to my arduino board:

-->
http://www.arduino.cc/en/Tutorial/UltrasoundSensor

and i have the following ultrasound detectors:

-->
http://www.robot-electronics.co.uk/htm/srf05tech.htm

so, how do i connect them to the arduino board? i am a newbie..

ARDUINO > SRF05

5v power to > 5v supply
Gnd > 0v ground
pin 7 > trigger input
pin 6 > echo output

arduino is runnig with the code from the website above.


Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Reading the documentation for the sensor, it sounds like that if you connect its mode pin to ground, connect the trigger input pin (which is both trigger and echo in this mode) to pin 7 of the Arduino, and connect ground to ground and +5V to +5V, the example code should work as is.  You may just need to change the delayMicroseconds(5) to delayMicroseconds(10).  
Logged

Pages: [1]   Go Up
Jump to: