A spark core controller for the MeArm robotic arm. Complete with S-Curve motion planning and inverse kinematics.
C++ Arduino
Latest commit 3265542 Aug 18, 2014 @benjamind benjamind Initial commit.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md Initial commit. Aug 18, 2014
Spark-MeArm.ino
move.cpp Initial commit. Aug 18, 2014
move.h
tester.html Initial commit. Aug 18, 2014

README.md

Spark-MeArm

A spark core controller for the MeArm robotic arm. Complete with S-Curve motion planning and inverse kinematics.

This sketch provides servo control for the MeArm robotic arm kit using a Spark Core. It implements S-Curve motion planning borrowing heavily from the TinyG firmware implementation. It also uses the Inverse Kinematics implementation provided by Phenoptix.

To use add a new application in the Spark Build IDE, add an extra set of files and copy and paste the move.cpp and move.h files into the project. Next add the SparkIntervalTimer library using the Spark Build interface. Then copy and paste the main code from Spark-MeArm.ino into the main sketch. Flash your core and you should be working.

You can use the tester.html file to control your Spark Core. Its not a great UI, but it lets you try out the inverse kinematics by specifying target positions.

You will need to get your Spark Core ID, and your Access Token from the Spark Build IDE.