This PyQt code sends to Arduino payload binary information prepended by two bytes. 1st byte is function mode and 2nd byte is payload length. This code is able to receive binary information, to add CRC at the end or request a CRC calculation from Arduino. It is attached an example inside loraIno library for Arduino. Hardware is based on… Continueu llegint Arduino library for SX1276 using LoRA and PyQt
Categoria: Arduino
How to deal with binary data between Python and Arduino
This PyQt code sends to Arduino payload binary information prepended by two bytes. 1st byte is function mode and 2nd byte is payload length. This code is able to receive binary information, to add CRC at the end or request a CRC calculation from Arduino. How to run in Linux (it has been tested on Debian… Continueu llegint How to deal with binary data between Python and Arduino
SPI – Sample of master and slave using two Arduino
Sample of SPI communication using two Arduino on S4A Programming Learning Board : Arduino’s SPI master code (mirror) Arduino’s SPI slave code (mirror) How it works: When at master board is pressed button attached at pin 2 (zero level), it is immediately received by slave and lits led at pin 3 on. Afterwards, master is reading slave and updates… Continueu llegint SPI – Sample of master and slave using two Arduino
Modbus RTU on RS485 using Arduino and PyQt
Bill of materials: Arduino Nano S4A Programming Learning Board (pdf) USB to RS485 Converter RS485 Converter Module Board For Arduino Arduino source code (version for RS485 module) Program source code in pyQt (Python + Qt) Connections: Arduino S4A PLB (P1) RS485 module GND … Continueu llegint Modbus RTU on RS485 using Arduino and PyQt
Scada using Python and Arduino
Code (Python + Arduino + images)
Electrònica amb S4A
Taller d’electrònica amb S4A al WeMake. Presentació en PDF Codis de la presentació Arxius de disseny Llistat de material per a muntar la versió del kit de la placa
Sistemes encastats d’escala petita
Presentació de Sistemes encastats d’escala petita al Col·legi d’Enginyers Industrials de Catalunya en el curs Sistemes embedded. Els sistemes ciberfísics, pilar de la quarta revolució industrial Codis dels exemples pràctics Especificacions de l’ESP8266 Llista d’ordres AT de l’ESP8266
How to install S4A on 64 bit Debian Jessie
$ wget http://vps34736.ovh.net/S4A/S4A16.deb $ su – # dpkg –add-architecture i386 # aptitude update # aptitude install libcairo2:i386 libglib2.0-0:i386 libpango1.0-0:i386 libv4l-0:i386 # aptitude install libpulse-dev:i386 # aptitude install scratch # dpkg -i –force-architecture S4A16.deb
S4A Progamming Learning Board
Codis de la presentació Arxius de disseny Llistat de material per a muntar la placa