MicroPython: Timers with ESP32 and ESP8266 – Generate Delay with Timer

MicroPython Timers ESP32 ESP8266

In this tutorial, we will focus on timers in ESP32 and ESP8266 and learn to configure Timers using MicroPython. Recommended Components The following components are used in this project or are helpful for getting started with MicroPython on ESP32 and ESP8266. Component How it’s used in this project Buy on Amazon ESP32 Development Board (DevKit … Read more

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

Getting Started with MicroPython on ESP32 and ESP8266

MicroPythoon with ESP32 and ESP8266

In this getting started guide on MicroPython with ESP32 and ESP8266, we will learn how to use program and flash firmware to ESP32 and ESP8266 development boards. Firstly, we will see the difference between ESP8266, ESP32, and Arduino to see why ESP32/ESP8266 should be your first choice for embedded application development using MicroPython. Secondly, we … Read more

Water Flow Sensor Interfacing with Arduino – Measure Flow Rate

YF-S201 wate flow sensor interfacing with Arduino and LCD connection diagram

In this tutorial, we will learn to use the YF-S201 water flow Sensor to measure flow rate of water. Firstly, we will see an introduction of flow rate sensors that is why and where to use flow sensors. Secondly, we will discuss its pinout diagram and working. In the end, we will see how to … Read more

TTGO LoRa32 SX1276 OLED Board with Arduino IDE

TTGO LoRA32 SX1276 OLED Board pinout diagram

This getting started guide on TTGO LoRa32 SX1276 OLED module explains pinout, pin configuration, features, how to use it with Arduino and how to install its library in Arduino IDE. There is no ambiguity that the internet of things is the potential future. Different electronic companies launch various devices almost every other day in the … Read more

UART/USART Communication STM32F4 Discovery Board – HAL UART Driver

STM32F4 discovery board UART pins

Learn UART/USART communication on the STM32F4 Discovery Board using the HAL UART driver in Keil uvision. Complete tutorial covering all 6 USART channels, pin mapping, baud rate, transmit and receive examples with FTDI cable wiring, plus troubleshooting for the STM32F407VGT6.