Closed munhra closed 7 years ago
Let's change the PIR sensors by ultrasonic sensors HCSR04: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
The tests show that there is problem as this sensor uses 5V and ESP8266 only delivery 3V so it will not work. I did a test with Arduino MEGA and it work as expected as Arduino have 5V feed.
Done ! it worked. It was required to create a tension divider to send 3v from the ultrasonic sensor instead of 5v.
Let's change the PIR sensors by ultrasonic sensors HCSR04: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
The tests show that there is problem as this sensor uses 5V and ESP8266 only delivery 3V so it will not work. I did a test with Arduino MEGA and it work as expected as Arduino have 5V feed.