Autonomous Uploader (Platformio)

A project log for Plug and play connected devices

Plug an arduino on any USB port to connect it.

Rémi SarrailhRémi Sarrailh 04/18/2017 at 08:480 Comments

I'm currently working on an autonomous uploader so anyone can automate the production of usb devices.


Here is a prototype of this idea:

How does it works ?

Each github repo on have instructions for platformio.

On a terminal (with platformio installed) we can upload a sketch with this command:

platformio -f run -d /opt/arduino/test


# Project Configuration File
# Arduino IDE compatible version

src_dir = buzzer
lib_dir = libraries

platform = atmelavr
framework = arduino
board = nanoatmega328
targets = upload
# lib_install = 

I'm using a python script that will manage the lcd/buttons and run commands for platformio.

LibreConnect start at boot, and is stopped when a sketch is upload and then restart, once an arduino is programmed, it will be accessible as a websocket, ready to be tested.