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:
ItOpen.it is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! logo is used under a limited license granted by Open Source Matter the trademark holder in the USA and other countries.