View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
PhantomX Robot Turret Controller

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 34.3 KB File ID: #36147 Version: 1.1
image thumbnail

PhantomX Robot Turret Controller


Gavin (view profile)


12 Apr 2012 (Updated )

Control the Trossen Robotics PhantomX RoboTurret:

| Watch this File

File Information

Can be used to control the Trossen Robotics PhantomX RoboTurret.
Or more generally to control AX12 dynamixel servos connected to an Arbotix board.

See here for demonstration video:

1) You will need at least an Arduino board which can talk RS495 and 1 dynamixel servo
2) If you want to modify the Arduino code it wouldn't be hard to get it to work on another Arduino compatible board
which can (or has a shield to allow it to) talk to Dynamixel servos

__ Author __
Gavin Paul
12th April 2012
Update: 18th May 2012 (added the missing strpad.m file)

__ Files in Toolbox __


Serial to PantomX Protocol Specification.doc

__ Instructions __
1) Burn the PhantomXTurret.pde to your arbotix board
2) For how to:
- use the basic controller type "help PhantomXMessagePort" into matlab command line
- write/load/play an unlimited sequence of movements type "help PhantomXSequencePlayer" into matlab command line
- use the GUI type "help PhantomXTurretGUI" into matlab command line

Note: a serial port and a message port are different things. The serial port is lower level and only talks serial,
while the message port understands the hardware and sends/processes control messages to/from the serial port.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Other requirements Recommended: Trossen Robotics PhantomX RoboTurret Required: At least one AX12 dynamixel servos connected to an Arbotix board that can speak RS485
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
18 May 2012 1.1

Included the strpad.m which is (and always was) needed to construct the correctly sized packets.

Contact us