Hi all:
I am using a picaxe 8M microcontroller to run an LDR circuit.
This circuit will run a lens exchanger for a camera. IR filter for daytime and clear at night. I need some help to figure how to reverse the polarity to the exchanger when it changes from night to day and back again. I assume that I will need some type of a relay but I do not know which type or how to wire.
The LDr input on the PIC is on pin 6. the daytime output is on pin 5 and will output 5 volts. The output for nighttime is on pin 3 and will output 5 volts.
basically I need pins 5 and 3 to run a relay that will reverse the polarity when they are energized for day or night.
I hope this makes sense
If you know what I need to do please if you can post a diagram of how to wire and what relays I will need it will be greatly appreciated
Thanks
Dan N
newer than new
I am using a picaxe 8M microcontroller to run an LDR circuit.
This circuit will run a lens exchanger for a camera. IR filter for daytime and clear at night. I need some help to figure how to reverse the polarity to the exchanger when it changes from night to day and back again. I assume that I will need some type of a relay but I do not know which type or how to wire.
The LDr input on the PIC is on pin 6. the daytime output is on pin 5 and will output 5 volts. The output for nighttime is on pin 3 and will output 5 volts.
basically I need pins 5 and 3 to run a relay that will reverse the polarity when they are energized for day or night.
I hope this makes sense
If you know what I need to do please if you can post a diagram of how to wire and what relays I will need it will be greatly appreciated
Thanks
Dan N
newer than new