Pages: [1]   Go Down
Author Topic: Connecting two ping sensors  (Read 164 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have one ping sensor connected to the arduino uno microcontroller however I need to connect two ping sensors up. I don't understand how to do this so could someone show me a diagram or something on how two ping sensors would connect using a breadboard. Thank you.
Logged

Online Online
Faraday Member
**
Karma: 80
Posts: 3787
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have a handy means of doing a pic for you, but basically take the Arduino 5V to the red rail on the breadboard with a wire , and put bith pings red wires into the same rail.

Then do the same with the Arduino GND to the other rail (sometimes blue?) and the Ping black wires.

Then the ping signal wires whatever i/o pins on Arduino take your fancy.
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Tried this but it doesn't work :S I haven't a clue how to even connect this up.
Logged

Online Online
Faraday Member
**
Karma: 80
Posts: 3787
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah, well you need to do some coding in the sketch too. Hooking up another one doesn't mean the sketch knows anything about it... What changes did you make to the code?
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

Pages: [1]   Go Up
Jump to: