Firmata

Firmata is a generic protocol for communicating with microcontrollers (Arduino, ...) from software on a host computer.

http://firmata.org/wiki/Main_Page

Board side

 * Arduino : includes in the Examples of the IDE ( File > Examples > Firmata > StandardFirmata )
 * MSP430 : ??
 * MSP430 with Energia: ??
 * STM32 : ??

Host side

 * Python : https://bitbucket.org/fab/pyfirmata ou https://github.com/firmata/pyduino
 * Processing : https://github.com/firmata/processing
 * Node.js

Processing


1.1) Téléchargez et décompressez http://firmata.org/wiki/Download#Arduino.2FWiring dans ~/Arduino

1.2) Depuis Arduino, Ouvrez et chargez Exemples > Firmata > AllInputsFirmata

2.1) Telechargez http://arduino.cc/playground/uploads/Interfacing/processing-arduino.zip et décompressez dans ~/Processing/Libraries

2.2) Depuis Processing, Ouvrez et Lancez Sketchbook > Libraries > arduino > examples > arduino_output


 * http://arduino.cc/playground/Interfacing/ProcesssHackForFirmata
 * http://www.arduino.cc/playground/Interfacing/Processing
 * http://mediawiki.e-apprendre.net/index.php/Firmata_et_Java