Andy1845c
Active Member
Hello all,
Its been a while since I have screwed around with circuit design and and have trouble getting my head around something.
The control board in my water softener went bad. Its old enough I didn't want to buy a new board. I have a cheap PLC running some other stuff at home so I just added the softener regen cycle to that. That works fine but I have to manually tell it when to regen since it no longer keeps track of water usage. To keep track of water flow it has an impeller with a magnet on it that spins when water flows. There is a hall effect type IC that picks up the passing magnet and generates pulses. This is packaged in a way that doesn't allow me to see if it has any numbers on it to pull up a data sheet but I have screwed around with it enough to figure out it works like a low side switch.
I want to run this at the original 12 volts like the original control board supplied it. I need to convert the low side 12v switching to switching the PLC 24v supply high side.
Is there a way I can do this with a simple PNP or NPN transistor? I have been pondering this for a bit and can't figure out how to change voltage levels.
One thought is to use a transistor type optocoupler. Sadly all I have on hand are triac types and I don't belive those would work?
Is there a simple solution I am overlooking?
Its been a while since I have screwed around with circuit design and and have trouble getting my head around something.
The control board in my water softener went bad. Its old enough I didn't want to buy a new board. I have a cheap PLC running some other stuff at home so I just added the softener regen cycle to that. That works fine but I have to manually tell it when to regen since it no longer keeps track of water usage. To keep track of water flow it has an impeller with a magnet on it that spins when water flows. There is a hall effect type IC that picks up the passing magnet and generates pulses. This is packaged in a way that doesn't allow me to see if it has any numbers on it to pull up a data sheet but I have screwed around with it enough to figure out it works like a low side switch.
I want to run this at the original 12 volts like the original control board supplied it. I need to convert the low side 12v switching to switching the PLC 24v supply high side.
Is there a way I can do this with a simple PNP or NPN transistor? I have been pondering this for a bit and can't figure out how to change voltage levels.
One thought is to use a transistor type optocoupler. Sadly all I have on hand are triac types and I don't belive those would work?
Is there a simple solution I am overlooking?