Hi everybody.
I finally managed to operate my pir sensor but the problem is that when I am in front of the sensor it captures me for 1 second and and I get more for 5 seconds and so on
How can I fix this?
Thank you !
Hi everybody.
I finally managed to operate my pir sensor but the problem is that when I am in front of the sensor it captures me for 1 second and and I get more for 5 seconds and so on
How can I fix this?
Thank you !
@johnnyboy There is no break in connection I think, I use this to test the sensor and it says always “Motion detected”.
from gpiozero import MotionSensor
import time
pir = MotionSensor(4)
while True: #repeat this forever
if pir.motion_detected: # if motion is detected print the message
print("Motion detected!")
if not pir.motion_detected: # if no motion is detected print the message
print("No motion detected!")
time.sleep(1)
@johnnyboy I used several cables
I have to put all the cables in the ferrite bead ?
@johnnyboy the sensor will be about sixty centimeters of raspberry
Hello
I read that it was necessary to put a ferrite bead around the cables, I try but it doesn’t work. You know how to do it and where on the cable ?
Thank you :)
I test the sensor with this, but it marks indefinitely “motion detected”.
from gpiozero import MotionSensor
pir = MotionSensor(4)
while True:
if pir.motion_detected:
print("Motion detected!")
Edit : I connected it to the GPIO 4
UP ! :)
I need help please ^^
@hartattack I connected the sensor to the pin 22. I didn’t change anything else.
Hi everyone !
I followed the steps of the readme, but after rebooting the screen never turns off.
I don’t know where I am wrong but it doesn’t work ^^
Thank you.
Hi everyone,
If someone can do this and if it is possible, can you make a module to display the next alarms of the Timely application?
The application shares alarm clocks with all phones with the same google account so why not with the mirror ? ^^
Thank you and have a good day.