LEGO MINDSTORMS Motors with Raspberry Pi #piday #raspberrypi @Raspberry_Pi
We just got this message from John Cole from Dexter Industries: “We just got a load of Raspberry Pi’s from Adafruit and we’ll be putting together some more projects! Thanks for the support!” Here are some notes from their latest project, building a LEGO MINDSTORM robot around a Raspberry Pi:
Since we first got the Raspberry Pi, we have wanted to make a robot out of it. There aren’t many kits out there yet that let you do that (yet). This HowTo Raspberry Pi Project shows you how we hacked together a motor controller from the Raspberry Pi and used it to control LEGO MINDSTORMS Motors.
The LEGO MINDSTORMS system comes with 3 motors that are run at 9V. The LEGO MINDSTORMS motors run by applying 9V power to the White or Black wires in the Mindstorms jack. If you apply 9V to the black wire, the motor moves in one direction. If you apply 9V to the white wire, the motor moves in the opposite direction. And thus you’re able to get the motor to turn, depending on the voltage put across either of the the two wires.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.