ms-iot/hexapod

Name: hexapod

Owner: ms-iot

Description: null

Created: 2016-07-21 19:03:30.0

Updated: 2016-08-30 16:59:41.0

Pushed: 2016-07-25 23:01:29.0

Homepage: null

Size: 56

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Phoenix Hexapod

This project contains instructions to port phoenix.js (code to control a Lynxmotion Phoenix hexapod with Johnny-Five) to be able to run on Windows IoT Core with Node.js (ChakraCore).

Hardware

The hardware used is similar to what is used in the original phoenix.js project. The difference is that instead of attaching the servos to an Arduino, they are attached to servo hats connected to the Raspberry Pi. This is achieved, with the help of the Johnny-Five IO Plugin feature.

Software

The software is similar to what is used in the original phoenix.js project. The only change in phoenix.js will be to initialize Johnny-Five with an IO plugin. The IO plugin we use (win-io) is only useful for this project. It just handles i2c reads/writes to control the servos provided with the hexapod. A proper IO plugin does much more than that. The code in server.js can also be added to phoenix.js as a way to control the hexapod from a simple Express website.

Instructions to run
Install/Copy Node.js (ChakraCore)

*The change we are applying can be seen here the reason we patch is because the change hasn't made it to the node-chakracore repository yet.

Prepare the code
phoenix.js win-io
Run phoenix.js

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.