my goal is to spin something.. (like a tube/turret).. upon button interaction..
my code is all set-up..etc.. working fine.. and I thought adding this effect to the existing code would be a nice addition to the overall effect..
if the button is pressed one time.. I want to 'jog' the motor a certain distance..(pulse it real quick?) (accuracy is not very important.. its more for 'effect')
if the button is held down...I want the tube/turret (motor) to keep spinning..
from reading, I understand that I can run 1 servo directly off my Arduiono
(got a cheapie, small servo from dealextreme..and tested it out)
the default servo sketch(s) seem to work..
problem with a servo, is it only goes 180 degrees... looked up mod'ing one.. but wasnt sure it can do 360 degrees (continuously...ie: spinning around consistently after the mod???)..
-AND- it seemed rather slow.... not what I was going for.... unless there is way to speed them up?
moved over to a motor based solution... found this kids toy that had a motor in it (wand type toy with led 'feelers' on the end that spin around...kinda neat how they gave power to the pcb/leds that were spinning.. [motor shaft/spring combo..etc]...)
gutted it..put it on my PSU.. it seemed to work at under 5v..
hooked it up directly to my Arduino.. (after more reading.. I read thats bad to do...but would really like to use the less parts the better motor here)..
no go.. (probably needs to much current to run? (I tested pins on Adruino after to ensure they still work fine..they do)
so Im looking for a very small motor... (to fit inside of a toy/prop-nerf gun)...and spin the turret/tube when the button is pressed..stop when let go....etc..
I want to run up to my local radio shack and grab a few things to test this out before final implementation..
can anyone guide me on what motor(s) to check out?
if there is one I can drive directly.. GREAT!..
but if not.. Im not 100% sure what other components I need.. a transistor? and some resistors? (some threads mention a diode?)
If I try to use one of these: http://www.radioshack.com/product/index.jsp?productId=2914700
can I just remove the un-balanced weight at the end.. use as regular motor/shaft..and drive it directly?