My project is a driveway monitor which can sense the direction of traffic.
I'm using a PIC16F1827 for the smarts, and have 2 LM4 IR laser modules from Oatley Electronics. They work well under manual control but I cannot get them to work with the PIC. Specs for the modules do not appear to be available, and they are sealed. No switch, just red and white wires out the back end.
I've tried opto-couplers and OC transistors with no luck.
In test circuits I manually apply 4.5v to the opto-couplers and transistors in place of the PIC, and the lasers and power supply behave nicely. But once I connect them to the PIC, I only get about 1.5v across the modules and serious fluctuation in the power supply (LM317).
How can I control the modules?
Thanks
Jim
<SNIP>
I'm using a PIC16F1827 for the smarts, and have 2 LM4 IR laser modules from Oatley Electronics. They work well under manual control but I cannot get them to work with the PIC. Specs for the modules do not appear to be available, and they are sealed. No switch, just red and white wires out the back end.
I've tried opto-couplers and OC transistors with no luck.
In test circuits I manually apply 4.5v to the opto-couplers and transistors in place of the PIC, and the lasers and power supply behave nicely. But once I connect them to the PIC, I only get about 1.5v across the modules and serious fluctuation in the power supply (LM317).
How can I control the modules?
Thanks
Jim
<SNIP>
Last edited by a moderator: