Go Down

Topic: Is there a way to update Arduino uno Over The Air (Read 2836 times) previous topic - next topic

resolver101757

I have the Arduino uno with a Ethernet W5100 Shield and would like to remotely sketches. Is there a way to update Arduino uno over the air? If not, is there a wired network arduino solution that will allow update over the air.

I've done this on the esp8266 using there tools but I can't find one for the Uno.

pert

Well it's not really accurate to say "over the air" with Ethernet but here it is:
https://github.com/loathingKernel/ariadne-bootloader
Enjoy!

pert

Also posted at:
https://arduino.stackexchange.com/q/46636
If you're going to do that then please be considerate enough to add links to the other places you cross posted. This will let us avoid wasting time due to duplicate effort and also help others who have the same questions and find your post to discover all the relevant information. When you post links please always use the chain links icon on the toolbar to make them clickable.

ron_sutherland

Another option is to use a Raspberry Pi Zero. I have been working on a board to use them with my projects. I connect the RX/TX lines from the Pi Zero to an Uno's TX/RX. The RTS line from the Pi can be used in place of DTR for bootloading (it needs a .1uF capacitor like DTR as well).

I have some notes from the last time I  set up a Pi.

https://github.com/epccs/RPUpi/blob/master/Hardware/Testing/linux.md

One of my wants was to be able to build and upload from a headless connection so that I did not have to forward a raw serial port over a network that I have a trust issue with.
my projects: https://github.com/epccs

gdsports

esp-link running on an ESP8266 can flash an AVR over WiFi. See esp-link uC Flashing

Watcher

Also posted at:
https://arduino.stackexchange.com/q/46636

In the above link someone mentioned that it was done via Bluetooth becouse its serial.

I would be interesed to upload sketches via atmega32u4's second serial port via an rs485 link.
Would this be possible?

CrossRoads

Probably. Need a bootloader change to look for a start sequence over that port and then to receive the data and load it.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

ron_sutherland

@Watcher: do you mean to use the 32u4 as a bridge, i.e. the host on its USB can upload the image (hex file) through the 32u4 to a remote rs485 device (perhaps a 328p)?

If so the problem that I am aware of is control of the transceiver, which has a line that has to be controlled to talk, and another for listening (though it can always be on).

Since the upload starts with avrdude I would look there and see if someone has done a protocol that works with RS-485 and how avrdude controls that talk line. My guess is the avr109 protocol may have a way to control the transceiver, if so then have a look at [xboot] for the bootloader which I seem to recall has RS-485.

[xboot]: https://github.com/alexforencich/xboot
my projects: https://github.com/epccs

Go Up