Instructables

Raspberry Pi and Wiimote controlled Robot Arm

Picture of Raspberry Pi and Wiimote controlled Robot Arm
I received a robot arm as a birthday present, but after about the first day the controller that came with it became a bit dull to use. Later I bought the usb controller that was made for the robot, but once again the canned software was limited and dull after a while. I was planning to hack the arm anyway, so I started the solution to end my boredom.
 
Remove these adsRemove these ads by Signing Up

Step 1: Components

Picture of Components
Some programming experience would be nice, but it isn't required. I'll try to keep everything simple. (Knowing me things might not go according to plan)

Parts:
Computer (I used a raspberry pi) with a python compiler, along with libusb, python-pip, pyusb, and cwiid installed
Bluetooth Connection/Dongle (for Wiimote)
OWI-535 Robotic Arm Edge with USB extension kit
Spare time to have fun with it or show off to your coworkers and friends!

Step 2: Connecting to the robot

Picture of Connecting to the robot
Since I'm doing this on a raspberry pi, I will explain everything the way I got the arm to run on it. Most everything is well documented for Windows and Mac - only a google search away so it shouldn't be much of a problem.

First we need to install libusb. Open a terminal and type:    sudo apt-get install libusb-dev
Next we need to install python-pip. In the terminal type:     sudo apt-get install python-pip
And we need to install pyusb. In the terminal type:     sudo pip install pyusb

I assume that the robot is all built and everything functions properly; if not, I noticed several instructables on how to assemble it so I won't go over that.

Now, if your robot is connected through the usb you can use the List USB command by typing "lsusb" (without quotes of course) into the terminal. You should see a device with a vendor ID of 1267 and a product ID of 0. If not, double check your connections, batteries and see if the switch is on.
5t0rm1 month ago

could this be replicated with another Bluetooth controller such as the ps3 controller?

AdamGalbraith2 months ago

i want to make this using the same arm but im going to put it on a rc car frame you think i can use the other nunchuk to control the car

Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!