Skip to content

Proof of concept of try to launch remote OTA update from a simple Arduino file.

License

Notifications You must be signed in to change notification settings

hpsaturn/esp32-canairio-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlatformIO ViewCount

ESP32 CanAirIO Loader

This project will able to upload the latest version of CanAir.IO firmware automatically via a simple Arduino sketch.

General steps

You can run it from your Arduino IDE or from your Android phone using ArduinoDroid app (recommended) with a simple OTG cable connected to your board. (see the video below)

Video step by step (Arduino Droid alternative)

Youtube CanAirIO basic loader guide


Troubleshooting

Not happen anything after upload

Please view the output messages in the serial monitor, maybe you have internet connection issues, for that:

  • Wait for complete upload firmware (i.e 100%)
  • Enter to serial monitor (button on top right)
  • Press and hold the reset button
  • The serial output in Arduino Droid app for example is similar like this:

serial monitor output example

  • The output in Arduino IDE monitor is the same.

When I try to compile have errors

For example if you have the next error:

serial monitor output example

loader (1).ino:53:5: error: redefinition of 'int_payloadVersion'

maybe you have two or more files open in the IDE, please review the opened tabs:

serial monitor output example

Not enough space to begin OTA

If you have this error message in the output, please check the right selection of partition on your IDE:

ESP32 partition selection on IDE

Arduino Droid only supports 64bits devices

When you have a error message like this:

Arduino Droid 64bits error

you need change or use another Android device more updated (64bit version)


We have a Telegram group for support, maybe the community can help you. (Spanish/English)

About

Proof of concept of try to launch remote OTA update from a simple Arduino file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages