Programming STM32 using Arduino IDE on Debian Jessie

BOM ST-LINK V2 programmer stm32f103c8 learning board evaluation kit STM32F103C8T6 ARM STM32 Minimum System Development Board Module  Discovering ST-LINK V2 on Debian Jessie I have followed these steps and I have changed file /etc/udev/rules.d/49-stlinkv2.rules because Arduino IDE doesn’t detect /dev/stlinkv2_4 but it is able to detect /dev/ttyACM4 Arduino IDE There is a good explanation at Roger… Continueu llegint Programming STM32 using Arduino IDE on Debian Jessie

Arduino library for SX1276 using LoRA and PyQt

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

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

Modbus RTU using Python and Qt

Bill of materials: WP8028ADAM 8DI/8DO Modbus device Step Up Boost Power Supply (5 volts input / 9-30 volts output) USB to RS485 Converter Source code: wp8028adamPyQt_01.tar.gz

Metadistribució basada en Debian Jessie 8.2

Enllaç a la imatge comprimida allotjada a mega (màxim de quatre descàrregues simultànies). La mida de l’arxiu comprimit és de 2,54GB i descomprimit de 7,6GB. Per tant, cal una memòria USB d’una mida mínima de 8GB. Les instruccions d’instal·lació per arrencar-la des d’una memòria USB estan a l’entrada Arrencant Debian des d’una memòria USB. La… Continueu llegint Metadistribució basada en Debian Jessie 8.2

Publicada el
Categorizat com Debian Etiquetat

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

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