Sumo Bot and Ping
kman
Posts: 4
I've seen a post regarding this same problem but I'm not sure what the solution was. When I connect the ping to my sumo-bot and switch the power to 1 everything works fine. Its after switching to power option 2 that everything goes wrong. The readings drop to the point that it seems as if the ping sensor can only detect objects with 30 cm and then eventually it drops to 0 where it detects nothing. I've tried connecting the sensor's input to different pin numbers. The resuls are always the same. Why does this happen and what is the solution?
Comments
The easiest solution is to put in a 3-pin 'header' into your prototyping area, route Vdd, Vss, and your signal pin to it, and plug your 'ping' into that. This will reduce that "is it the ping connector, or is it a servo connector?" confusion, too.
·
·· Position one turns on the BASIC Stamp power.· Position two turns on power to the servos as well, which is useful for programming the robot and not have it take off on you.· Now, the servo headers are typically at VIN, which is usually around 6V on a Sumo-Bot.· The PING))) cannot handle over 5V.· So it sounds like you’re sending too much voltage to it if you have it connected to the servo headers.· The PING))) should be connected to VDD which may require you to connect it via the breadboard.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support