I recently bought a Driveway Patrol Motion Detector but I wanted to use it to detect lights instead of motion. I have the Cds Photoresistor but unsure how to make this work. I bought it from Adafruit. The reason being that I wanted to know when someone enters the room. Motion sensor will work but not reliable because it depends on movement and when someone stands still for a few seconds, it failed. In contrast, this room required light in order to see. There's no window or any other interfering light source. I'm utilizing the motion sensor detector for its wireless transmitter/receiver capability as I will have the receiver mounted to where I can see it. Think of it as an occupancy detector.
Here's what I understand:
Thanks!
Here's what I understand:
- Photosensor is really a resistor which depends on the light source.
- Photosensor will need to be used with 10KΩ resistor to make it either a pull-up or pull-down resistor.
- IR sensor is dependent on the frequency.
- IR sensor will output 0V when a certain frequency is detected and output high when nothing is detected.
- IR sensor has 3 pins, Vin, Ground, and Output.
Thanks!