Program ESP32 Using MicroPython

Program ESP32 Using MicroPython

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:

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."

Related Products

USB Micro B Cable

$1.00 $1.48 $1.00

x 1 unit(s)

NODEMCU ESP32

$7.25 $7.25

x 1 unit(s)