Skip to content

Arduino: Over the Air (OTA) Update though SSH on Raspberry Pi

License

Notifications You must be signed in to change notification settings

AustinSaintAubin/Arduino_OTA-SSH

Repository files navigation

Arduino_OTA-SSH

Over the Air (OTA) Update though SSH on Raspberry Pi.

Used to flash new firmware from the Arduino IDE though a Raspberry Pi to an Arduino. In my case I have an Arduino connected over USB OTG to a Raspberry Pi Zero W, connected over WiFi

Screenshoot

Setup: Raspberry Pi (Client)

  • Install required dependacies sudo apt-get install -y avrdude gcc-avr avr-libc
  • Manually Copy ( Arduino IDE/.../hardware/tools/avr/etc/avrdude.conf ) to the Raspberry Pi ( ~/Arduino/avrdude.conf )
  • Manually Copy ( usbreset.sh ) to the Raspberry Pi ( ~/Arduino/usbreset.sh )

Setup: Workstation Setup

MacOS

  • Run: sh setup_ssh-passwordless-login.sh to configure Password-less SSH Login.
  • Move HARDWARE folder to: /Users/.../Documents/Arduino/HARDWARE (or your Arduino "My Sketch" folder)
    • Run: chmod +x /Users/.../Documents/Arduino/HARDWARE/Arduino_OTA-SSH/arduino_ssh_upload.sh

Linux

  • Your using linux... you'll figure it out ( similar to above ).

Windows

About

Arduino: Over the Air (OTA) Update though SSH on Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages