I'm relatively new to Arduino and electronics in general. I'm working on a school project, and am trying to run a 3V DC motor AND an 8x8 LED matrix off of my Arduino Uno. Basically running these two circuits at the same time
I've gotten each of these circuits individually to run. I have the motor on a switch, and when I start up my program everything is fine. However, as soon as I get the motor running the LED matrix goes nuts, and then all the LEDs light up. Any thoughts?
Hi,
Visit the two links in my signature for one possibility and the solution, although the links refer to servos, they use LEDs to illustrate the point and provide a relavent fix.
Duane B
Thanks for the input. I'm already running my motor off a separate power circuit, using PWM through a transistor to control the current. When my LEDs misbehave they don't go out, rather all of them light up. I'm using a MAX7219 chip to control the LED matrix, and currently have it plugged directly into the arduino's 5V supply for power. Should I have it on a separate supply? Also, when I added another capacitor and moved the capacitors closer to the MAX chip it seemed to alleviate the problem slightly.
Hi,
Sounds like you just need more decoupling,
Heres a set of useful links from a forum members site -
http://www.thebox.myzen.co.uk/Tutorial/Introduction.html
Duane B
rcarduino.blogspot.com