Controlling Arduino from OpenERP

L’articolo è disponibile solo in inglese, fai clic sulla bandierina in alto a destra per cambiare lingua.

4 commenti to “Controlling Arduino from OpenERP”

  1. colin Says:
    29 May 2012 at 19.00  

    Hello Alessandro,

    Looks like a nice implementation. Thanks for sharing this.

    I’ve started installing your module but don’t see how to import the PyFrimata into OpenERP.

    Have you also managed to get the Arduino to control OpenERP. for example, to read serial data from the Arduino RS232 pins and use this data to open a view and update specific fields in an Open ERP database?

    I’ve trying to test external devices connected to the Arduino (e.g. barcode scanner, weighing machine) and need to specify which module and database field to update.

    Any further info would be appreciated.

    Colin

  2. Alessandro Pasotti Says:
    30 May 2012 at 8.08  

    @Colin,

    Hi, thanks for the feedback! If pyfirmata is not installed a nice pop-up will tell you how to install, the message is:

    Pyfirmata is not installed, arduino operations are disabled. You can install pyfirmata from hg clone ssh://hg@bitbucket.org/tino/pyfirmata

    The module successfully reads analog and digital data from Arduino pins, so it’s possible to use this values to update fields on other models but this should be coded on a case by case basis.

  3. CB Says:
    04 September 2012 at 17.42  

    Hello Alessandro,

    Thank you for sharing the results of your project. It looks really interesting. I’ve also used Arduino Uno / firmdata for other serial interface projects and (like the other Colin) I am now also exploring using the Arduino as a possible ‘external device’ interface to OpenERP (e.g for use with weighing scales, barcode scanner, Reading Production machine status, etc). Do you have any detailed technical design documentation of the OpenERP/Arduino interface and any details of the Arduino sketch?

    Any further info would be appreciated.

    Regards

    CB

  4. Alessandro Pasotti Says:
    04 September 2012 at 17.57  

    Hello Colin,

    The arduino sketch is just plain standard firmata firmware shipped with the Arduino IDE.

    You can find the complete code of this OE addon on my gihub repo: https://github.com/elpaso/arduinocontroller

    Regards.

Lascia un Commento