-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read HC-SR501- infrared detector module #196
Comments
Using an interrupt callback works fine for me, example and motion sensor firmware can be found here:- https://github.com/maccoylton/esp-homekit-motion-sensor/tree/master/src |
Hi @maccoylton, thanks for replying.
What do you use to compile, please. |
This is not for use with Arduino, it's normally built from the command line. You need to follow the instructions on esp-homekit to set up your development environment. |
Ok, I will make a configuration environment to compile and test. Is it possible to compile the example with a generic ESP8266, or just with ESP32? |
This should work with either, although I use ESP8266. |
I’d like to use at Arduino interface, but I stay to try configuring and install environment to compile the example (https://github.com/maccoylton/esp-homekit-motion-sensor/tree/master/src). |
I used ‘Exemple04_MultipleAccessories’ multiple_accessories.ino example and change to read sensor pin HC-SR501.
But it is unstable, that is, when the sensor is active it does not show the door reading. When I use the same circuit simply, just to check the reading it works.
simple.ino (just to test)
Thanks in Advanced.
The text was updated successfully, but these errors were encountered: