I want to build a simple USB controlled (on/off, maybe change directions) motor. I can do some programming/scripting and have basic soldering skills. How do I start? I'd rather not shell out 20+ bux on some gay-ass arduino or whatever.
motor? what to power? those cheap $2 ones cant really be beat, you can solder the usb cable to it or solder a connector to it.
>>1198608
I'm happy if I can just turn it on and off through a script or something. I want to use it as a physical notifier for random stuff.
Would this work? http://www.ebay.de/itm/Mini-Digispark-Kickstarter-ATTINY85-Micro-USB-Development-Board-for-Arduino-/331453927604?hash=item4d2c3190b4:g:FL4AAOSwa39UvHm4
>>1198615
>just turn it on and off
If you can script the DTR output pin this is all you would need.
>>1198615
You have to use transistor or relay to power a motor.
>>1198700
Unless its a really really tiny motor. I think attiny85 can drive a total of 200 ma, but it has no limiting circuitry, it will simply blow itself out if you exceed it.
>>1198615
Get something called an h bridge and connect it to your digispark, now you can drive the motor in both directions.
>>1198700
The power would be supplied externally via battery.
>>1198607
1.5$ arduino pro mini/nano from china
I use em all the time for prototypes when i dont wanna write machine languages for cheaper 8 bit cpus