I'm a bit new to all this, but I'm attempting to build a setup that pumps water with small submersible pumps at a given time. I have everything setup and working. However, when I attempt to power the small DC motor directly from the A0 on my UNO, the RTC starts giving bad date/times.
I am using a 3V/6V DC motor (http://www.ebay.com/itm/like/181889057490?lpid=82&chn=ps&ul_noapp=true). The time library I'm using is by Michael Margolis in the library manager. The RTC is the level shift RTC from Sparkfun.
I set the pin to output. What is odd (or normal) is that I can put the pin high without the pump and everything is fine. As soon as I push the pump into the breadboard, I start getting goofy values.
I'm sure there is some basics I'm missing here but I don't know what it is.
Thanks for any help.