Get the ball rolling: The Marble Tree

The robot arm can lift small objects and move them under visual control. Using a joystick and some practice, the control can become intuitive.

A great example of the robot would be to place a ball in a maze, pick it up at the end and repeat. With that in mind, a marble tree (wooden musical instrument and coffee table amusement) is ideal. The marble tree shown in the pictures was purchased in Berea, KY. [1]

Example

This system uses the robot arm, a Raspberry Pi to run the IOC, and a joystick that runs in the IOC. No GUI is necessary. It is useful to place the robot on a plinth so that it can reach top of the marble tree, as well as pick up the marble from the bin at the bottom.

../_images/20150513_164853.jpg

System for marble tree example

See the section Joystick - IOC support (not really a client) for details about the mapping of controls on the joystick.

Once the Raspberry Pi has been connected to the joystick and robot arm and the Linux system is started up, the EPICS IOC should start within two minutes. (Otherwise something is wrong. Check all the connections.) Keep in mind that the Raspberry Pi is very sensitive to changes in electrical power demand. It is best to plug everything in before plugging in the electrical power to the Raspberry Pi.

Pulse the LED button to ensure the IOC is operating.

Step 1

../_images/SANY0004.JPG

Move arm into place to pick up marble. Be sure to clear all the wooden leaves!

../_images/SANY0005.JPG

Address the ball. [2]

Step 2

../_images/SANY0007.JPG

Approach the ball with the grips open. It may help to turn on the LED to verify alignment.

../_images/SANY0008.JPG

It may be needed to nudge the ball to using the base to pick it up with the grips.

Step 3

../_images/SANY0009.JPG

Grip the ball until the motor stops.

Step 4

../_images/SANY0010.JPG

Carefully, raise the shoulder a bit, without banging the wooden leaves. Don’t knock the ball out of the grips.

Move back until the arm can clear all the leaves.

Step 5

../_images/SANY0011.JPG

Raise and lengthen the arm to position the ball at the top of the marble tree.

Step 6

../_images/SANY0012.JPG

Open the grips to release the ball. Listen as the ball moves downward.


[1]marble tree: http://www.berea.com/appalachian-fireside-gallery/
[2]http://www.barryrhodes.com/2012/01/addressing-ball.html