It is a small but efficient interpreter of the Python Programming Language , optimized to work in microcontrollers and restricted environments.
An interpreter is defined as the logical layer of software between the code and the hardware , in other words, it is in charge of processing the programming code and making it possible for the hardware like computers, microcontrollers to execute the actions described in it.
MicroPython is implemented starting with the Python 3.4 standard interpreter – with features selected from later versions .
Due to the resource limitations of microcontrollers, most of the modules in the standard library have been simplified, but providing their main functionalities – a subset of the total functionalities .
MicroPython also has specific modules within the standard library that allow the programmer access to the microcontroller hardware .
There are some features that MicroPython has and it is what makes it unique and different from other embedded systems:
It has, as well as the Python Programming Language, a multitude of libraries for the execution of tasks .
It has a very simple code editor of its own.
It is extensible. For advanced MicroPython users, they can extend Python to lower-level functions such as C or C ++, and can mix code that requires faster, lower-level execution with MicroPython.
With MicroPython, many things can be done, such as controlling the inputs / outputs of a microcontrollers by blinking an LED, obtaining readings of analog and digital signals, generating PWM signals, controlling servo motors, OLED displays, NeoPixel displays, performing I2C, SPI communication, etc. In some microcontrollers like ESP32 it also allows Network and WiFi connections.
Interfacing 16X2 LCD Module with Raspberry pi Pico with and without I2C
Overview: In this quick tutorial, learn how to connect 16X2 LCD display module without I2C adapter with Raspberry Pi Pico…Read More »
How to use ADC on Raspberry Pi Pico in detail with MicroPython example
Overview In this detailed tutorial let’s learn about Raspberry Pi Pico ADC, How it works, what are its uses, Pinout,…Read More »
MicroPython: SunLight Tracker system for solar panels using ESP8266
Solar panels need sunlight to generate the electricity but as we all know our renewable light source sun is not…Read More »
Install MicroPython on ESP8266 -Getting started with flashing
In this Tutorial we are going to now how to get started with MicroPython on ESP8266 boards by flashing and…Read More »
What is MicroPython? its features and what you can do with it
A new way of programming micro controllers has been born and it is through the MicroPython Programming Language. But what is MicroPython, here…Read More »