Updating the Arduino Mega Via SD Card/BlueTooth

Hello,

I have built 50 IoT boxes and have them in a field.

I was wondering the best way to deploy new ones, I have a MicoSD breakout on each new box, a SIM700a and bluetooth.

Problem:

  • When one gets struck by lightning I need to replace it and the code for that specific box. The boxes are built with no code initially and the client has them. I do not want to have to touch every unit physically.

Possible Solution (if even feasible)

  • Mail the client a SD card with the code, the client can put the sd card in and it would install the code on the Arduino.

I am sure this is totally crazy talk but maybe somebody knows a solution. Maybe the client can update via bluetooth?

Any suggestions would be very helpful.

Matt

SD bootloader

Juraj! Thank you!