Go Down

Topic: moving a remote compiled program to arduino mega (Read 171 times) previous topic - next topic

fredguthrie

hi
I don't know if this can be done, but here is what I want to do.

1) I want to compile my sketch on my PC (this I know can be done with that I have seen)
2) using sim900 get the compiled program and write it to an SD card. ( this I also know how to do)

Now the part I don't know how or if I can do it

3) upload my compiled program with only what I have on the sd card and Arduino mega

why?
I am trying to update the sketch on the Arduino remotely.
my project will be on the move and I may have to fix or add functionality and the only communication I have is through the sim900 card.

questions
1) can I update the Arduino mega or will they have to send the unit to me and I use my computer to upload the sketch?

2) if I can update the compiled code remotely using the SD card and the Arduino mega. how do I do this?



ieee488

Google on OTA programming of Arduino.

https://medium.com/@andrewlr/arduino-remote-uploader-aa61e4d620b1

Go Up