Arduino + Raspberry Pi using pyFirmata and pyQt

Steps on Raspberry Pi : 1) Install pyQt : $ sudo aptitude install pyqt4-dev-tools 2) Install pip $ sudo aptitude install python-pip 3) Install pyFirmata $ sudo pip install pyfirmata 4) Download qtgui02.py (Based on qtgui.py) $ wget https://www.binefa.cat/php/raspberryPi/python/pyQt/qtgui02.py.tar.gz $ tar -zxvf qtgui02.py.tar.gz Steps on Arduino : 5) Install standard firmata on Arduino 6) Mount Arduino Nano… Continueu llegint Arduino + Raspberry Pi using pyFirmata and pyQt

SCoop + Ardublock

First two options are not optimal because event are detected after delays. The last two options are using SCoop Sleep instead of delay. The last two options are better than the first ones. SCoop should be installed at Arduino IDE

SCoop installation on Arduino IDE

SCoop : Simple Cooperative Scheduler for Arduino and Teensy ARM and AVR 1st option) Go to official SCoop website : https://github.com/fabriceo/SCoop/ and follow its instructions 2nd option) Once Arduino IDE is installed on Debian, download https://www.binefa.cat/arduino/ardublock/SCoop.tar.gz at /usr/share/arduino/libraries and uncompress it. clot@debian:/usr/share/arduino/libraries$ wget https://www.binefa.cat/arduino/ardublock/SCoop.tar.gz –2014-11-18 17:26:30– http://www.binefa.cat/php/arduino/ardublock/SCoop.tar.gz S’està resolent www.binefa.cat (www.binefa.cat)… 37.58.75.228 S’està connectant a… Continueu llegint SCoop installation on Arduino IDE