Remote Arduino Deployments via Raspberry Pi
This guide covers the automation of remotely deploying custom firmware, also known as a sketch, to an Arduino (or similar microcontroller) via an attached Raspberry Pi.
This guide consists of three parts:
-
Raspberry Pi Configuration
Preparing the Raspberry Pi (RPi) to receive source code, compile it, and flash the Arduino with an updated sketch.
-
Wiring the Arduino and Raspberry Pi
Using either USB (preferred) or RPi General Purpose Input/Output (GPIO) pins to create a serial data connection, and wiring a reset circuit for the Arduino via a transistor or logic level converter.
-
Setting Up Deployments
Organizing project files and modifying the Python deployment scripts.
