Adafruit moto shield and PING sensor - sensor stops working

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Adafruit moto shield and PING sensor - sensor stops working

Postby ncoronges » Sun Feb 10, 2013 9:26 am

I have assembled and soldered the adafruit motor shield from kit, and successfully got motors, servo and PING distance sensors working.. HOWEVER, once the motors run for about 10-20 seconds, the PING sensor appears to just power off.. The distance readings also stop showing accurate readings. It appears that running the motors causes the PING sensor to power off, because i can run tests without the motors running and the sensor works consistently and apparently indefinitely.

The solder job is over all pretty crappy but i dont see anything obvious. Before i start general clean up, wondering if the above behavior sounds indicative of something particular. thanks in advance for any help.
Attachments
image (1).jpeg
image (1).jpeg (137.12 KiB) Viewed 192 times
image.jpeg
image.jpeg (138.59 KiB) Viewed 192 times
ncoronges
 
Posts: 2
Joined: Sun Feb 10, 2013 9:03 am

Re: Adafruit moto shield and PING sensor - sensor stops working

Postby adafruit_support_bill » Sun Feb 10, 2013 10:26 am

DC motors (and in particular the ones from that 4WD chassis in the photo) generate a LOT of brush noise that feeds back into the system. Sometimes it is bad enough to cause the Arduino to reset. In your case it sounds like it may be interfering with your ping sensor.

Look down near the end of the FAQ for a solution: http://learn.adafruit.com/adafruit-motor-shield/faq
Your kit may have come with 1 capacitor per motor, but based on the feedback we have been getting, most need the full 3 capacitor treatment.
User avatar
adafruit_support_bill
 
Posts: 16027
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit moto shield and PING sensor - sensor stops working

Postby ncoronges » Sun Feb 17, 2013 5:34 pm

Just wanted to mention i put 2 additional capacitors on each motor, for a total of 3 on each.. and this worked perfectly. no more signal failure on the PING sensor. thanks.
ncoronges
 
Posts: 2
Joined: Sun Feb 10, 2013 9:03 am


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 7 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]