Tag Archives: PWM

ESP32 Arduino: Alarm with PIR motion sensor and buzzer

In this tutorial we will check how to create a very simple alarm system with a buzzer and a PIR motion sensor. We will be using the Arduino core, running on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated … Continue reading

Posted in ESP32 | Tagged , , , , , , , , , , | 2 Comments

ESP32 Arduino: Controlling a buzzer with PWM

The objective of this code is to explain how to control a buzzer with the ESP32, using its PWM functionalities. In particular, we are going to use ESP32’s LED PWM functions.

Posted in ESP32 | Tagged , , , | 1 Comment

ESP32 Arduino: LED PWM fading

The objective of this post is to explain how to fade a LED with the ESP32, using the LED PWM functionalities.

Posted in ESP32 | Tagged , , , , , , | 6 Comments

ESP8266: Using the PWM technique

The objective of this post is to explain how to use the Pulse Width Modulation (PWM) technique with the ESP8266 and the main differences of the implementation comparing with the Arduino.

Posted in ESP8266, Microcontrollers | Tagged , , , , , , , , , | 3 Comments