Learn electronics, coding, and projects — step by step.

Series: ESP32 MicroPython

011 - ESP32 MicroPython: DHT11, DHT22 in MicroPython

George Bantique October 1, 2020 3 Comments

In this tutorial, we will learn to use the DHT22 in MicroPython. DHT11 should be compatible with slight modification. CIRCUIT DIAGRAM INSTRUCTION Connect the OLED VCC pin to 3V3 supply pin of ESP32. Connect the OLED GND pin to ESP32 GND pin. Connect the OLED SCL pin to ESP32 GPIO D22 pin (SCL dedicated pin). […]


Read more 011 - ESP32 MicroPython: DHT11, DHT22 in MicroPython

010 - ESP32 MicroPython: 0.96 OLED in MicroPython

George Bantique September 30, 2020 No Comments

In this tutorial, we will learn to use the 0.96 inch OLED display with monochrome display. This is useful for displaying something for the end user. Its easy to use, we just need 4 wires. 2 wires for the power and another 2 wires for the i2c comunication protocol for controlling the display. CIRCUIT DIAGRAM […]


Read more 010 - ESP32 MicroPython: 0.96 OLED in MicroPython

009 - ESP32 MicroPython: Non-blocking Delays and Multithreading | Multitasking

George Bantique September 27, 2020 6 Comments

In previous tutorials we learned to use the hardware timer interrupt which is very useful when we need to execute a task at specific interval period. We also use hardware timer interrupts for executing timed threaded task which is similar to multitasking. Using the hardware timer in that manner, sooner or later, we will runout […]


Read more 009 - ESP32 MicroPython: Non-blocking Delays and Multithreading | Multitasking

008 - ESP32 MicroPython: Hardware Timer Interrupts

George Bantique September 26, 2020 No Comments

In this tutorial, we will learn how to use the hardware Timer Interrupts of ESP32 in MicroPython. Timer in essence is basically a counter that either counts up or counts down. Timers can be use to trigger an interrupt event when an overflow happened or a certain count value is reached. CIRCUIT DIAGRAM VIDEO DESCRIPTION […]


Read more 008 - ESP32 MicroPython: Hardware Timer Interrupts

007 - ESP32 MicroPython: How to make some sound with MicroPython

George Bantique September 18, 2020 7 Comments

In this article, we will be exploring the use of Pulse Width Modulation or PWM in producing a sound using MicroPython. BILL OF MATERIALS ESP32 Development board. A buzzer module or a speaker. Some connecting wires. CIRCUIT DIAGRAM VIDEO DEMONSTRATION CALL TO ACTION If you found this tutorial as helpful, please consider supporting me by […]


Read more 007 - ESP32 MicroPython: How to make some sound with MicroPython