Using digital I/O. Arduino + firmata + pyFirmata + pyQt

Arduino Nano + Board 0101v4 + Board 0104v3 :  nano-eCat pinout : pyQt + pyFirmata custom program : This layout is designed with Qt Designer : led_uSw.ui (pyuic4 led_uSw.ui > ui_led_uSw.py) It can be converted in Python : ui_led_uSw.py Code to use nano-eCat’s P2 : exFirmata03.py Code to use nano-eCat’s P1 : exFirmata03P1.py Using digital outputs : #self.ledB7 = 13 # P2b7#self.ledB6… Continueu llegint Using digital I/O. Arduino + firmata + pyFirmata + pyQt

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

nano-eCat using 8 relays

Taking advantage from last post, this is a video using a Relays Module Adapter connected to 8 Relays Module . nano-eCat can connect to two 4 Relays Module per port using Relays Module Adapter in Daisy Chain :