In this post, I will show you how to program and read analog sensors using MicroPython on the ESP32 D1 R32. Even if you don’t own the Rich Shield from Open Smart, you can still follow along with the circuits and programs presented here. In the video below, I explain the circuit setup. In my…
Category: ESP32
MicroPython with ESP32: Controlling LED Brightness with PWM
In this post, you’ll learn how to use Pulse Width Modulation (PWM) with the ESP32 D1 R32 and MicroPython. PWM is a versatile technique widely used in many applications, from LED dimming to motor control. With the ESP32 and MicroPython, generating and controlling PWM signals is straightforward. n a previous post, MicroPython with ESP32: Introduction…
MicroPython with ESP32: Controlling GPIO Pins – LEDs and Buttons
After demonstrating how to flash the ESP32 for MicroPython and introducing the programming language’s structure, we will now control LEDs and buttons via GPIO pins. For this series, I am using the ESP32 D1 R32 along with the Rich Shield Two from Open Smart. If you don’t have this shield, I’ll provide guidance on how…
MicroPython with ESP32: Programming basics
In this article, I would like to introduce you to the basics of programming in MicroPython using the ESP32 D1 R32. However, you can also easily apply this to other microcontrollers that also work with MicroPython. MicroPython vs. Python MicroPython is a full implementation of the Python 3 programming language that runs directly on embedded…