I'm currently working on an autonomous uploader so anyone can automate the production of usb devices.
- a Raspberry Pi,
- a 16x2 LCD shield,
- (optional) a usb drive with devices repo from github.com/madnerdorg
- (optional) a smartphone/tablet to test the devices
- (optional) a 3D printer to make the case
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
# 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.