Modify HC-SR501 PIR sensor to work with 3.3V

Using a PIR sensor, motion of persons or pets can be detected. The inexpensive HC-SR501 (and clones) is worth the price, but without modification a 5V signal is required. To make it work with ESP8266 / ESP32 3.3V would be much better.

With a slight modification 3.3V can be used as input voltage and the trigger works correctly.
Orange: 3.3V
Green: Data
Blue: Ground

Sources and more help:

1 thought on “Modify HC-SR501 PIR sensor to work with 3.3V

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.