ESP32 Firmware Setup-1
ESP32 Firmware Setup-1
Programming
By:
Dr. Siti Marwangi Mohamad Maharum
Electronics Technology Section
UniKL British Malaysian Institute
SLIDESMANIA.COM
[email protected]
You’ll learn …
Pin Diagram of ESP32 Board
What is MicroPython Programming
Flashing ESP32 Board Firmware
Run your 1st Micropython Program
on ESP32
SLIDESMANIA.COM
● A dual core MCU, developed by Espressif Systems.
● A successor to ESP8266.
● Consists of integrated WiFi and Bluetooth.
● Preferable by hobbyists, students, teachers, SMEs
for Proof of Concept (PoC) & prototype
development.
● Suitable for battery operated applications like
wearables, audio equipment, baby monitors, smart
SLIDESMANIA.COM
watches, etc.
What is on the board?
ESP-WROOM-32 Module
Two rows of IO Pins (with 15 pins on each side)
CP2012 USB – UART Bridge IC
Micro–USB Connector (for power and
programming)
AMS1117 3.3V Regulator IC
Enable Button (for Reset)
Boot Button (for flashing)
Power LED (Red)
User LED (Blue – connected to GPIO2)
SLIDESMANIA.COM
2) Editor
3) MicroPython Terminal
4) Tools
SLIDESMANIA.COM
uPyCraft for Newbie!
Getting to know
the available
Tools on uPyCraft:
SLIDESMANIA.COM
uPyCraft for Newbie!
Click the workspace folder. A new window pops up for you to choose your
workspace path. Create a new folder or select an existing folder to be your
working directory.
For example: Create a folder name “uPyCraft”
main.py
Click Download and Run on Tools (Left Sidebar) to upload the file to
your ESP board
SLIDESMANIA.COM
uPyCraft for Newbie!
Run the following code to the Editor on the main.py file:
SLIDESMANIA.COM
uPyCraft for Newbie!
Click Download and Run on Tools (Left Sidebar) to upload the script to the
ESP32 or ESP8266:
You should see a message saying “download ok” in the Shell window
SLIDESMANIA.COM
Tadaaaa… Look on your board now! The blue LED is blinking for every
0.5seconds
Thank you!
Do you have any questions?
[email protected]
013-7304703
SLIDESMANIA.COM