close-circle
Close

Autonomous Uploader (Platformio)

A project log for Plug and play connected devices

Plug an arduino on any USB port to connect it.

RĂ©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.

Components

Here is a prototype of this idea:

How does it works ?

Each github repo on github.com/madnerdorg/ 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

platformio.ini

# Project Configuration File
# Arduino IDE compatible version

[platformio]
src_dir = buzzer
lib_dir = libraries

[env:nano]
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.

Discussions