Door-sensor-with-433MHz-and-ATTINY13
Door-sensor-with-433MHz-and-ATTINY13 copied to clipboard
circuit diagram needed
I am trying to make it. Just wondering how the attiny-13 pins are connected to reed switch and resistance. It will be nice if you can draw a diagram and share.
I looked at brd file and photoes but couldn't understand circuit. I will be handsoldering it on a perforrated board.
@shariramani hi as fare as i understand the Code and the pictures the reed goes to PB0 and PB1 as well. With 10k to ground. One PCI waits for the rising and the other PCI waits for the falling edge and fires the respective routine.
Hi, Sorry, I do not have a schematic drawing but please see Board_Image.img
@mrohner so first leg from the reed to VCC second leg from the reed to PB0 and PB1 and both via 10k resistor to ground. Right?
@evilknivel you can see my schematic here https://openplatform.xyz/attiny13_low_power_door_sensor.html
Reed is between Ground and PB0. Resister is between vcc and PB0. I used PB1 to connect a LED through a jumper. This is optional. I used it for troubleshooting. You can remove jumper to save battery.