Gpio motion sensor help
Posted: Saturday 21 May 2016 15:46
Hi everybody!
I am not a forum veteran, so please bare with me if I do something "wrong".
I have a Raspberry Pi 3b, and I recently bought a chinese, cheap motion sensor like this one (http://preview.tinyurl.com/jh6mr26), and I have connected it to bcm gpio 11, and to 5V and GND.
When I previously have connected for example a temperature sensor to the gpio, I only had to define lets say "gpio export 27 IN", but I have an impression its not that easy with my motion sensor.
I dont understand the "EDGE" definition.
So, I would like the motion sensor "window" in the control panel to change state from open to closed or vice versa when the my garage door opens. Is that possible?
I am not a forum veteran, so please bare with me if I do something "wrong".
I have a Raspberry Pi 3b, and I recently bought a chinese, cheap motion sensor like this one (http://preview.tinyurl.com/jh6mr26), and I have connected it to bcm gpio 11, and to 5V and GND.
When I previously have connected for example a temperature sensor to the gpio, I only had to define lets say "gpio export 27 IN", but I have an impression its not that easy with my motion sensor.
I dont understand the "EDGE" definition.
So, I would like the motion sensor "window" in the control panel to change state from open to closed or vice versa when the my garage door opens. Is that possible?