MicroPython: Interrupts with ESP32 and ESP8266 – PIR Sensor Interfacing Example

MicroPython Interrupts with ESP32 and ESP8266

In this tutorial, we will learn how to configure and handle interrupts in ESP32 and ESP8266 development boards using MicroPython. We will demonstrate this through an example with a PIR sensor and an LED. Recommended Components The following components are used in this project or are helpful for getting started with MicroPython on ESP32 and … Read more

MicroPython: PWM with ESP32 and ESP8266 – LED fading and Brightness Control Examples

MicroPython PWM with ESP32 and ESP8266

In this MicroPython PWM tutorial, we will learn how to access the PWM or pulse width modulation modules in ESP32 and ESP8266 using MicroPython firmware. We will look at how to produce the PWM signals with the GPIO pins of the ESP development boards and consequently fade the led as well as control its brightness. … Read more

ESP32/ESP8266 ADC with MicroPython – Measure Analog Readings

MicroPython ADC Tutorial ESP32 and ESP8266

In this tutorial we will learn about the Analog to Digital Converter module and how to read analog values in Esp32 and Esp8266 in MicroPython firmware. We will achieve this by interfacing a potentiometer with our ESP32/ESP8266 boards and read its analog values respectively. Recommended Components The following components are used in this project or … Read more

ESP32 and ESP8266 GPIO Programming with MicroPython – LED Blinking Example

ESP32 GPIO pins programming micropython

In this tutorial, we will learn about how to use GPIO pins of ESP32 and ESP266 using the MicroPython programming language.  For demonstration purposes, we will, first, take an LED blinking example. After that, we will see an LED chaser example in MicroPython using uPyCraft IDE.  We will discuss GPIO pin examples for both ESP32 … Read more