Quote from dhicks on September 19, 2011, 22:45
What's the best way to go about controlling motors from the Raspberry Pi? Does anyone make USB plug-in motors that I can power via a USB hub and control with simple start() and stop() functions? Or do I have to use a separate (hopefully USB-controlled) relay device of some sort?
The same goes for sensors: does anyone make handy plug-in-and-go USB sensors for light, temperature, etc?
If your need isn't urgent, you might consider the Open Universities SenseBoard which will be part of their TU100 programming course. I was part of the design team.
It can control two DC motors, or one stepper, and servo's. It has 6 LEDs under user control, a sound sensor (for clap-on clap-off
) and plugable analogue sensors. So it might be sensitive to light, temperature, humidity, air pressure, or just bumping into a wall.
The OU's extended version of Scratch (Sense) uses a pretty simple protocol to communicate with it over USB.
I'm working on something which I think is better, but that isn't finished. You might have a look at my blog to get some idea of where I am coming from.