My idea is to use an attiny45 , a pir motion sensor and one 433mhz sender.
Just like this:
Cheap-Wireless-Motion-Sensor-Device
Unfortunately I don't have a arduino and don't want a arduino to compile this properly with arduino libraries )-:
I tried to get some code compiled the way Mercuri0 did, solely on my pilight raspberry and avr dude
Or like this: make and done
PIR sensor changes pin state on attiny, interrupt sends a 433mhz code as long a s the sensor detects movement. The PIR sensor will toggle even when there is movement, so that should be taken in consideration.
There should also be some sort of power saving option when there is no movement detected.
Some examples that mostly use arduino's:
VirtualWire
Remote temp sensor:
Remote Temperature sensor example
Another wireless temp sensor example
ridiculously-simple-AVR-mcu-am-radio-transmitter
Last but not least, almost ready example but without the sending part!
Hopefully I triggered some curiosity
Just like this:
Cheap-Wireless-Motion-Sensor-Device
Unfortunately I don't have a arduino and don't want a arduino to compile this properly with arduino libraries )-:
I tried to get some code compiled the way Mercuri0 did, solely on my pilight raspberry and avr dude

PIR sensor changes pin state on attiny, interrupt sends a 433mhz code as long a s the sensor detects movement. The PIR sensor will toggle even when there is movement, so that should be taken in consideration.
There should also be some sort of power saving option when there is no movement detected.
Some examples that mostly use arduino's:
VirtualWire
Remote temp sensor:
Remote Temperature sensor example
Another wireless temp sensor example
ridiculously-simple-AVR-mcu-am-radio-transmitter
Last but not least, almost ready example but without the sending part!
Hopefully I triggered some curiosity
