Wire harnesses are critical in electrical and electronics projects, more particularly the latter because there are electrical signals involved. So if you’re working on a microcontroller project, designing a custom wire harness for the task ahead is an essential step, but you must get it right to enhance the performance and reliability of the end…
Author: Stefan Draeger
How To Build an Arduino Pulse Oximeter
A pulse oximeter takes advantage of the blood’s changing properties when carrying oxygen or carbon dioxide around the body. Oxygenated hemoglobin in the red blood cells absorbs more infrared light while letting red light pass through, giving blood its red color. But when carrying carbon dioxide, hemoglobin becomes dark red, so it absorbs more red…
MicroPython with ESP32: Introduction to Analog Sensors
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…
RP2040 microcontroller: small, powerful and ready for use directly in the USB port
In this article, I would like to introduce you to a compact microcontroller featuring the RP2040 chip, which plugs directly into a USB port, eliminating the need for an additional data cable. I purchased this microcontroller for approximately €5, including shipping, from AliExpress. In terms of price, it is comparable to the original Raspberry Pi…
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…
MicroPython with ESP32: Introduction to the ESP32 D1 R32
In this and upcoming posts, I would like to give you an introduction to programming the ESP32 with MicroPython. However, before we can start this little course, we need to get to know this microcontroller a little better and flash it. What is special about the ESP32 D1 R32? This microcontroller with an ESP-WROOM-32 chip…