I'm going to be doing an Arduino presentation at the Orlando Ruby Users Group (demo'ing RAD http://rad.rubyforge.org
) and I would like to do a simple BarMonkey project.
Using the first pump on the list here: http://www.sciplus.com/category.cfm/subsection/18/category/176
It's my understanding that using a transistor, I can use a digital out to control the transistor like a switch to turn power on/off from the pump. I'll be writing some Ruby to send off commands to the Arduino over serial to tell it which pin and for how long. This will result in a nice little drink dispensing system controlled by the Arduino.
Is my logic on controlling the pump with a transistor correct?
Also, can I get 12VDC 1A off of the Arduino or will I need to power the pumps with another power source and drop a diode in my circuit so I don't end up messing up my Arduino.
Any suggestions or tweaks are very welcomed.
Thanks for any comments!