MicroPython and UPyCraft on ESP32
by embpic in Circuits > Electronics
7039 Views, 7 Favorites, 0 Comments
MicroPython and UPyCraft on ESP32

Micropython is python's optimize and small footprint of python. Which meant to build for embedded device which has memory constraints and low power consumption.
Micropython is available for many controller families which includes ESP8266,ESP32 and some of nordic's controller.
In this article we will see how to use the micropython with esp32.
We will cover the article steps by step which includes video tutorial as well.
Required Components
Component required:
- Nodemcu - https://www.banggood.in/custlink/mmKheOZjl3
- ESP32 - https://www.banggood.in/custlink/KDmh0l8aOr
- Breadboard - https://www.banggood.in/custlink/DGKyeOSast
- Jumper Wires - https://www.banggood.in/custlink/vGGheoIogd
Links to Download the MicroPython Binary

Download the binary for variant of board being used
Download binaries from following link,
https://micropython.org/
Download esptool which handles read, write and erase of ESP32/ESP8266,
Getting Started With MicroPython and ESP32
![[ESP32#2] microPython on ESP32 Getting Started | WIFI Connection | Led Blinking](/proxy/?url=https://content.instructables.com/FKU/KMQ6/JQKTJMO5/FKUKMQ6JQKTJMO5.jpg&filename=[ESP32#2] microPython on ESP32 Getting Started | WIFI Connection | Led Blinking)
Here is tutorial which explains on how to start with micropython and ESP32. Which covers the some basics and which helps to start with led blink example and Wifi connection using python.
How to Access the File System
![[ESP32#4] MicroPython - Autostart on boots up and Access file System | Ampy](/proxy/?url=https://content.instructables.com/FYP/LT6B/JQKTJMRX/FYPLT6BJQKTJMRX.jpg&filename=[ESP32#4] MicroPython - Autostart on boots up and Access file System | Ampy)
Demo on how to access the files on ESP32 board and how to autorun the script on boot up.
Demo on Neopixel
![[ESP32#3] NeoPixel using microPython](/proxy/?url=https://content.instructables.com/FVC/WJUF/JQKTJMQ3/FVCWJUFJQKTJMQ3.jpg&filename=[ESP32#3] NeoPixel using microPython)
Demo on how to use neopixel with esp32 using micropython.
Getting Start With UPyCraft IDE With ESP32

![[ESP32#5] microPython and uPyCraft Tool | Getting started](/proxy/?url=https://content.instructables.com/FS3/XCLF/JQKTTLE8/FS3XCLFJQKTTLE8.jpg&filename=[ESP32#5] microPython and uPyCraft Tool | Getting started)
Tutorial on how to start using uPyCraft IDE with ESP32.
Also covers how to execute the commands and script using uPyCraft.