i bought your course for ESP32 and it’s weel explained. I’ve a doubt about what you write (“However, if you’re using another PIR motion sensor like the HC-SR501, it operates at 5V. You can either modify it to operate at 3.3V or simply power it using the Vin pin.”) . What i know about ESP32 is that is not 5v tolerant, so if i will connect HC-SR501 to a pin it gives me 5v and i will burn my pin. It is right? or maybe i’m wrong?
That information is right. If you’re using one of these sensors: https://makeradvisor.com/tools/pir-motion-sensor-hc-sr501/
It will output 3.3V even if powered using 5V.
You can try it with a multimeter before using it with the ESP32.