If you have 8 A/D channels avaliable on your pic you can easily detect a 0.2V change. It should give a difference for aprox 30-40 steps in the reading if you power your pic from 5V.
Disadvantage? YES several - slow and needs you to scan the A/D frequently to detect if the laser is on or not.
External comparators - Cheap, easy to use and fast. Use a potentiometer to set the reference level on one input. Use the other input for the LDR (4.6 to 4.4V signal) and have one comparator for each LDR.
Connect each comparator to a digital pin and then you can read the port to get all 8 values at the same time. You could also try to connect the 8 outputs from the comparators to pins that have interupt function and then you can wait for an interupt to fire and then you know you have a hit on a target.
It all depends what you are trying to make, ambient light can be a problem and there could be better ways to solve your design.
8 LDR targets ... and a laser.. my guess is Laser Tag system or maybe some kind of Laser fence
Any one else up for some guessing?
Bookmarks