My DC Motors won't work using the example code

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
thesmartone057
 
Posts: 2
Joined: Wed Mar 07, 2018 9:06 am

My DC Motors won't work using the example code

Post by thesmartone057 »

I can't get my motors to run. I believe I have everything set up right. I believe my soldering possibly broke the board somehow. Just to be sure I'm ordering another one and having it overnighted. I would like confirmation if possible though.
The Code I'm using is Adafruit's example code DCMotorTest.
I am using four 1.5v D cell batteries in series for a total of 6v in the terminal block with the jumper off
I am using Mega2560 board pins 20 and 21 for I2C communication as shown in the picture
I am using 3-12v DC motor, low noise, low current, no spark, max current draw when stalled using 3v is 2.15 amps, when under no load conditions .2 amps.
I know the software side is working because the serial monitor is ticking away.
I have uploaded my physical setup as well.
Attachments
20180307_050628.jpg
20180307_050628.jpg (170.63 KiB) Viewed 328 times
20180307_050622.jpg
20180307_050622.jpg (159.85 KiB) Viewed 328 times
20180307_050643.jpg
20180307_050643.jpg (173.54 KiB) Viewed 328 times

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: My DC Motors won't work using the example code

Post by adafruit_support_bill »

I don't see any +5v and GND connection between your processor and the shield. You need to provide power to the logic circuits and a ground reference for your i2c signals.

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

Return to “Arduino Shields from Adafruit”