MicroPython HC-SR04 Ultrasonic Sensor with ESP32 and ESP8266

HC-SR04 Ultrasonic Sensor with ESP32 and ESP8266 using MicroPython OLED

This tutorial shows how to interface HC-SR04 ultrasonic sensors with ESP32 and ESP8266 NodeMCU for contactless distance measurement using MicroPython. First, we will learn to interface HC-SR04 with ESP32 and ESP8266 NodeMCU. After that, we will see the MicroPython example code to measure distance and display it on the MicroPython terminal. Secondly, we will see a … Read more

Flash MicroPython Firmware to ESP32 and ESP8266 with esptool.py

Flash MicroPython Firmware with esptool.py to ESP32 and ESP8266

In this comprehensive tutorial, we will learn how to flash MicroPython firmware to ESP32 and ESP8266 NodeMCU boards using esptool.py. The esptool.py tools can be used on Windows, Linux, and MacOS. It is a python based command line utility used to flash and erase Micropython firmware for various development boards such as ESP32 and ESP8266. … Read more

MicroPython ESP32 and ESP8266: Program with VS Code and Pymakr

MicroPython ESP32 and ESP8266 Program with VS Code and Pymakr

In this tutorial, we will learn to program ESP32 and ESP8266 boards with VS code by using the Pymakr extension available in visual studio code. As we have seen in previous tutorials, we have learned to program ESP32 and ESP8266 boards using various IDEs. Recommended Components The following components are used in this project or … Read more

MicroPython: ESP32 Deep Sleep Mode and Wake Up Sources

MicroPython ESP32 Deep Sleep Mode and Wake Up Sources

In this tutorial, we will learn about ESP32 deep sleep modes. In this comprehensive guide, we will look at ways to put the ESP32 development board into a deep sleep mode. Furthermore, We will also discuss different wake up sources through which ESP32 can go from sleep to normal execution mode such as timer, external … Read more

OLED Display with ESP32 and ESP8266 in MicroPython

MicroPython OLED Display with ESP32 and ESP8266

In this user guide, we learn about the SSD1306 0.96-inch I2C OLED display and how to connect it with ESP32 and ESP8266 by using MicroPython firmware. An OLED (organic light-emitting diode) is used frequently in displaying texts, bitmap images, shapes, and different types of clocks. They offer good view angles and pixel density in a … Read more

MicroPython: Wi-Fi Manager with ESP32 and ESP8266

MicroPython Wi-Fi Manager with ESP32 and ESP8266

In this user guide, we will learn how to incorporate Wi-Fi manager with our ESP32/ESP8266 boards. WiFi manager let us connect ESP32 or ESP8266 to a network without having to hardcode our network credentials in a script. We will be using a previous example when we learned how to build a web server (ESP32/ESP8266 MicroPython … Read more

MicroPython: BME680 Web Server with ESP32 and ESP8266 (Gas, Pressure, Temperature, Humidity)

MicroPython ESP32 ESP8266 BME680 web server

In this user guide, we will learn to create a web server with BME680 environmental sensor, which is used to measure ambient temperature, barometric pressure, relative humidity, and gas (VOC) or Indoor air quality (IAQ). We will learn how to display sensor values on a web page using ESP32 and ESP8266 NodeMCU and MicroPython firmware. … Read more

MicroPython: BME680 with ESP32 and ESP8266 (Gas, Pressure, Temperature, Humidity)

MicroPython BME680 with ESP32 and ESP8266 Gas Pressure Temperature Humidity

In the user guide, we will look upon the BME680 environmental sensor, which is used to measure ambient temperature, barometric pressure, relative humidity, and gas (VOC) or Indoor air quality (IAQ). We will learn how to interface it with ESP32 and ESP8266 NodeMCU using MicroPython firmware. For demonstration, firstly, we will a simple MicroPython program … Read more

MicroPython: MPU-6050 with ESP32/ESP8266 (Accelerometer, Gyroscope, and temperature)

MicroPython MPU-6050 ESP32 ESP8266

In this tutorial, we will learn to use the MPU-6050 MEMS module with ESP32 and ESP8266 to measure accelerometer, gyroscope, and temperature values using MicroPython firmware. Firstly, we will see an introduction of MPU6050 such as pinout diagram, pin configuration. Secondly, we will see how to upload the MPU-6050 MicroPython library to ESP boards using … Read more