Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.16 KB

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