Your shopping cart is empty!
Program ESP32 Using MicroPython
- Idris Zainal Abidin
- 19 Feb 2020
- 1402
Introduction
According to IEEE Spectrum, Python is the most popular programming language. It is very easy to learn, yet highly expressive and very powerful, and has a huge existing community. But the challenges to put Python in microcontroller, it requires a lot of memory and doesn't allow low level access. That is the reason why MicroPython is developed (credit to Damien George).
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers and in constrained environments.
MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.
In simple word, MicroPython means Python for microcontroller
Video
This video shows how to program ESP32 board using MicroPython.
Hardware Preparation
This is the list of items used in the video.
Thank You
References:
- Flashing MicroPython Firmware with esptool.py on ESP32 and ESP8266
- Getting Started with Thonny MicroPython (Python) IDE for ESP32 and ESP8266
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."