I thought this would be a simple project but it has left me scratching my head. I pulled all my hair out on the last project so scratching is all I have left. The project is as follows:
I have a 12v winch for my trailer. I want to use a 2 channel remote control for activation. The motor uses the standard starter solenoid to energize the motor. My research indicates the solenoid will pull 4 amps. The solenoid gets it ground through the frame of the trailer. The remote is simple enough, you just apply +5v and ground once a channel button is pressed it sends 5 volts to the channel pin.
Because the solenoid is permanently grounded I decided to go with a P channel (irf9540) mosfet so that I could switch the positive side to the solenoid vs negative. My true problem comes from the fact that I need to now pass a negative 5v to the fet to activate where the remote passes a 5 volt positive.
I tried using an opamp to invert the +5v to -5v but failed at this idea as well.
In sum: I have a remote control module that outputs +5volts to a channel pin. I am trying to use a p channel irf9540 mofset to switch the 12v 4amp motors solenoid on and off.
Any ideas on my approach or a whole new approach would be appreciated.
I have a 12v winch for my trailer. I want to use a 2 channel remote control for activation. The motor uses the standard starter solenoid to energize the motor. My research indicates the solenoid will pull 4 amps. The solenoid gets it ground through the frame of the trailer. The remote is simple enough, you just apply +5v and ground once a channel button is pressed it sends 5 volts to the channel pin.
Because the solenoid is permanently grounded I decided to go with a P channel (irf9540) mosfet so that I could switch the positive side to the solenoid vs negative. My true problem comes from the fact that I need to now pass a negative 5v to the fet to activate where the remote passes a 5 volt positive.
I tried using an opamp to invert the +5v to -5v but failed at this idea as well.
In sum: I have a remote control module that outputs +5volts to a channel pin. I am trying to use a p channel irf9540 mofset to switch the 12v 4amp motors solenoid on and off.
Any ideas on my approach or a whole new approach would be appreciated.