Introducing the WiiRoboticArm gem

Installation

You will need at least 1 libusb package and the wii-robotic-arm gem (gem install wii-robotic-arm).

require 'wii-robotic-arm'

wra = WiiRoboticArm.new
wra.activate

Commands

base left button b + tilt left
base right button b + tilt right
shoulder up button a + tilt up
shoulder down button a + tilt down
elbow up button b + tilt up
elbow down button b + tilt down
wrist up up arrow key
wrist down down arrow key
gripper open left arrow key
gripper close right arrow key
LED on plus button (toggle on or off)
LED off plus button (toggle on or off)

Note: To move direction keep the button or combined buttons pressed.

I also made a short video of the soldering using the robotic-arm + wiimote [jamesrobertson.eu].

Resources

Tags:
Source:
2013hrs.txt
Published:
02-02-2013 20:13