Recently, I started learning OpenERP: what better occasion to develop a module to control an Arduino UNO Board?
I’ve already blogged about PyFirmata (see: https://www.itopen.it/?s=pyfirmata), which is a python library to control an Arduino board flashed with Firmata firmware, this nice library integrates perfectly with OpenERP and let you read/write analog and digital values from an USB-connected board.
PWM and SERVO control are also supported natively by PyFirmata and hence by the module I’ve developed, the only thing I’ve not yet implemented is digitalWrite on the analog pins even if this would be pretty easy to do with proper checks in the code.
The module only depends on pyfirmata (and pyserial) and it’s not yet final (but if you feel brave you can download a development snapshot here: arduinocontroller-2012-05-31-00:05:52).
You can find the latest development version on my github repository
This short (and quite laggy) screencast shows the module running: