Using a ping sensor with the adafruit motor shield

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
curarelemon
 
Posts: 1
Joined: Tue Aug 13, 2013 3:20 pm

Using a ping sensor with the adafruit motor shield

Post by curarelemon »

Does someone have a diagram, photo, or tutorial of the wiring of the SainSmart Ultrasonic Module HC-SR04 Distance sensor? I am using an Adruino UNO with the adafruit motor shield stacked on top. Thanks for any advice.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Using a ping sensor with the adafruit motor shield

Post by adafruit_support_mike »

We don't have one. Your best bet is to check with SainSmart.

User avatar
walker
 
Posts: 77
Joined: Sat Aug 04, 2012 8:40 am

Re: Using a ping sensor with the adafruit motor shield

Post by walker »

You can find lots of references on the web if you search for 'hc-sr04'. I found this one to be the simplest without using a library: http://trollmaker.com/article3/arduino- ... nic-sensor.

Using a library might be the right way to go long-term. But I liked seeing the bare mechanics for my own understanding before proceeding with my full project. Especially with something as simple to use as the HC-SR04.

The Adafruit sensors are probably more accurate and durable than the SainSmart unit. But the hc-sr04 is a lot less expensive.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”