397Views2Replies

Author Options:

connecting new ping to arduino. Answered

Hi, I got ping from amazon but it has 4 leads and I do not know how to connect it to the arduino. The leads say vcc, trig, echo, and gnd. Will I be able to use the examples with ping on my arduino?  http://www.amazon.com/gp/product/B004U8TOE6/ref=oh_details_o00_s00_i00

Tags:arduino

2 Replies

user
innerskyBest Answer (author)2012-08-16

Try this;
http://www.elecfreaks.com/244.html
or
http://www.xappsoftware.com/wordpress/2012/03/15/how-to-interface-the-hc-sr04-ultrasonic-ranging-module-to-arduino/

or just search google for: hc-sr04 arduino connect
you'll find numerous examples.

Select as Best AnswerUndo Best Answer

user
teckel (author)2012-11-14

Simple, use the best, fastest, smallest, and most feature laden ultrasonic library out there, NewPing

Get it here: http://code.google.com/p/arduino-new-ping/

Select as Best AnswerUndo Best Answer