Hi Everyone.
For a assignment I was asked to make an alarm system with a reed switch that would activate an alarm. The reed switch is >15m away from where the micro controller is going to be installed.
I'm thinking I could make an RC circuit to remove noise but think this would be less reliable then an octocoupler circuit as I wouldn't know what values to use for R and C.
I've draw up an octocoupler circuit but not sure what value for resistor 2 I should use and why. The reed switch would be used to turn the LED on and off. The whole idea of the project is to learn so I feel that its quite important to know the reason + I also need to create a report explaining why I used that value. I've looked through the datasheet and not really sure what I'm looking for. The octocoupler I'm using is the 4N25
Could someone please help me out with this, I'd be extremely happy
For a assignment I was asked to make an alarm system with a reed switch that would activate an alarm. The reed switch is >15m away from where the micro controller is going to be installed.
I'm thinking I could make an RC circuit to remove noise but think this would be less reliable then an octocoupler circuit as I wouldn't know what values to use for R and C.
I've draw up an octocoupler circuit but not sure what value for resistor 2 I should use and why. The reed switch would be used to turn the LED on and off. The whole idea of the project is to learn so I feel that its quite important to know the reason + I also need to create a report explaining why I used that value. I've looked through the datasheet and not really sure what I'm looking for. The octocoupler I'm using is the 4N25
Could someone please help me out with this, I'd be extremely happy