Build A Wiimote-Controlled Robot Butler #piday #raspberrypi @Raspberry_Pi
A guide to building and controlling a Raspberry Pi-powered robot with a Nintendo Wiimote. via rapsberrypi.org
As well as a Raspberry Pi with an SD card loaded with Raspbian, you’ll also need:
Robot chassis – Rover 5. This includes 2 motors and a battery pack.
Motor controller, such as the Ryanteck motor controller
Input device – Nintendo Wiimote
Bluetooth dongle to talk to the Wiimote
USB rechargeable battery to power the Raspberry Pi like this one from the PiHut
Software packages to use Bluetooth
Python libraries for the Wiimote
Instructions on installing this software is given in the worksheet.
It’s always good to break down projects into chunks, as it makes it much easier to troubleshoot. If you do this project all at once and it doesn’t work, how do you know if it’s the motor board, the motors, the Bluetooth connection or your program at fault? The steps are:
Set up and test the motor board and motors
Set up and test the Bluetooth connection
Set up and test the Wiimote
Write the final program
Serve a nice cup of tea to your mum.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
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.