For the past few weeks, I've been able to drive several DC motors and servos off of the Adafruit motor shield v2s stacked on top of my Mega R3 for a project I'm working on. For some reason, the board just completely stopped communicating with them. Both the shields and Arduino are getting power, but it's not recognizing any of the I2C addresses of the shields anymore. I tried connecting them to my Uno, and all of the shields work fine now. It's not the end of the world, I'm just pretty bummed out since this is a pretty new board. Any ideas for how this could've happened?
Hi,
How are you powering the motors?
Can you please post an image(s) of the stacked shields on the Mega.
Does that mean that the shields are also working on the Mega again?
Thanks.. Tom..
No, the shields only drive the motors off of the Uno now. The mega still gets power and I can upload code to it, I just can’t drive any motors off of it all of a sudden. I’m supplying between 5–12v to each shield through an external power supply.
Hi,
Have you run I2C scanner on the Mega to see if it can detect the shields?
Tom...
Yes I have. Usually it detects 0x61, 0x42, 0x64 and 0x27 for the 3 shields and the LCD but now it’s only detecting the LCD.
What happens if you disconnect all the I2C units and run the scanner with only one of them plugged in at a time?
Tom...
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.