This is my first post here and my background is ME so go easy on me please.
I need to amplify an analog signal that is 0-5V (w/respect to ground) to be 0-24V (two wires out, not referenced to ground) to drive a solenoid coil. The problem is my power supply is + and - 12V.
I have two ideas about how to do this:
- Use the 0-5V signal to drive a PWM IC. Send the PWM signal to a FET which switches the solenoid load, tied between + and - 12V.
- Use an opto-isolator to isolate the 0-5V signal. The isolated signal can then drive a transistor which is supplied by the + and -
Will either of these ideas work? Is one idea better/easier than the other? Does anyone have a better idea?
Thanks for your replies.
-Alex