In the circuit I have a proximity sensor that is triggering a relay by going to a micro-controller. This is working fine until the micro-controller ignores the sensor (due to a fail safe I have programmed into the controller), upon a soft reset (NOT A REBOOT, sending a signal to the controller to come out of inactive mode), the sensor is still sending 5VDC when it shouldn't be sending anymore then 1VDC. What is the cause of this? or How can it be fixed?
Note, Everything runs normally if I hold something in front of the proximity sensor for a second or two, then take it away?
Short Recap: Sensor works fine --> controller ignores input due to another input --> controller starts receiving input --> sensor sends out 5VDC even if nothing is in front of it.
Sensor Information: Proxmity sensor 6VDC input @ 300mA max
Micro-Controller: Arduino Based Micro-Controller Input pins - 40mA max
- Are you powering the sensor from 6 V DC?
Yes, the Sensor is being powered by 6 V DC.
Provide a link to the sensor so that we don't have to look it up.
- What is the pot wiper connected to?
I would assume the wiper is connected to the Signal line(Black). Its not an external pot.
- Why have you added a pot? Is it to reduce the voltage to the micro-controller? If so, what voltage is the micro running on?
The controller is running 5VDC but is a more "rugged" arduino that can take up to 30VDC per I/O pins.
- Provide a link to the sensor so that we don't have to look it up.