In this video, I show you how to perform an Over-the-Air (OTA) firmware update on an ESP32 using the A7670G 4G LTE module and an AWS S3 Bucket. We will configure the S3 bucket for public access, set up the bucket policy, and flash the ESP32 remotely over the 4G network.
This is the 7th video in our ESP32 4G IoT series. If you are new, please check the setup video first (link below).
⚠️ Prerequisite: Before starting, make sure your modem is wired correctly!
▶️ Watch the Hardware Setup Guide here: • How to Connect SIMA7670G 4G GSM Module wit...
📌 Topics Covered:
ESP32 OTA update using 4G GSM Module
AWS S3 Bucket file hosting for IoT
A7670G vs SIM800L (SSL Support)
Remote firmware update ESP32
*Hardware Used:*
ESP32 Development Board (38-pin)
Buy on Amazon: https://amzn.to/45AKIcy
Buy on AliExpress: https://s.click.aliexpress.com/e/_c3z...
MicroUSB Cable
Buy on Amazon: https://amzn.to/3KTvMPW
Buy on AliExpress: https://s.click.aliexpress.com/e/_c3N...
⏱️ Timestamps:
[00:00] - Introduction & Project Overview
[00:37] - How the OTA Process Works (Logic Flow)
[01:38] - Circuit Diagram & Setup Info
[02:24] - Creating an AWS S3 Bucket
[04:32] - Configuring S3 Bucket Policy & Permissions
[05:08] - Uploading version.txt to AWS
[05:46] - Modifying ESP32 Code for S3 URLs
[06:36] - Compiling .bin File & Uploading to AWS
[08:50] - Flashing the ESP32 & Testing OTA Update
[10:00] - Final Results & Troubleshooting
📂 Code & Resources:
AWS Bucket Policy Snippet:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/*"
}
]
}
Source Code: https://github.com/ittipu/IoT_Bhai_Yo...
Library Link - https://github.com/lewisxhe/TinyGSM-fork
Website - https://iotbhai.io/
Facebook - https://www.facebook.com/profile.php?...
Email - [email protected]
GitHub - https://github.com/ittipu
WhatsApp +8801715497977
Like, comment, and subscribe for more Raspberry Pi, Arduino, ESP32, GSM, GPS, Embedded System & IoT tutorials!
#esp32 #ota #github #iot #microcontroller #electronics #firmwareupdate #embeddedsystems #esp32projects #arduino #arduinoproject #arduinoprogramming #esp32ota #iotbhai #esp32wifi #raspberrypi #esp32 #A7670G #awsiot #iot #ota #4g #lte #arduino #EmbeddedSystems #TinyGSM