Wawa:
Did you measure battery voltage with the compressor on.
Perhaps the battery is bad, and the voltage collapses when the compressor starts.
Yes, I measured the voltage while the compressor was on. I should've specified that in the original post. When the compressor was on, I read a voltage of 5.5V across the compressor leads.
I also directly hooked the compressor up to the battery without going through the mosfet and other circuitry. It worked perfectly then.
gpsmikey:
You need to measure the battery voltage under load to see what it is doing. As for your question about "why is 5.5v across the MOSFET a problem when it is rated for 60v" you are comparing apples and fish - the 60v is the maximum voltage the MOSFET can handle without shorting (breakdown). The 5.5v across it is a different issue - if you are dropping 5.5v across the MOSFET and pulling 2amps for example, that is 11 watts being dropped in the MOSFET - without a decent heatsink, it will rapidly overheat. Typically a small compressor will probably pull 2-5 amps. You need to measure voltages and figure out just what voltage is being dropped where in the circuit - starting with what is the battery doing under load.
EDIT - in looking at the compressor data sheet, I see it is rated for max 12A so if your MOSFET was dropping 5.5. volts at even 10A, you are looking at 55 watts ... the MOSFET would get very hot very fast.
The mosfet was not heating up to any noticeably amount while the compressor was in the circuit and running, or when the compressor was out of the circuit. As for where the voltage is being dropped, I have no idea. Like I said, I read the correct 12V without the compressor in the circuit, but read 5.5V when it's in the circuit. I'll report back tomorrow after I've probed around a bit more.
tinman13kup:
When you hooked up the meter from drain to source, you SHOULD be reading 12v with no voltage to the gate. As voltage rises on the gate, the channel starts to conduct more and more, and voltage differential between drain and source drops while current increases.
With no voltage applied to the gate, I was also reading 0V between drain and source. While the 5V was being applied to the gate, I was reading 12V between drain and source. What I was reading is opposite to what you just said.
tinman13kup:
Ok, I think I misread the OP.
If you are reading 12V without the load, and 5v across the load with the mosfet conducting, I would lean towards the battery being dead. The low side (ground) of the compressor should be at ground potential when the mosfet is conducting (provided the mosfet is fully on), which you can check by testing between the low side of the compressor and battery ground with the circuit on. You should get under a volt, and when the circuit is off, you should get Vbat (12v )
If so, charge the battery, or perhaps the battery is shot.
I'm not sure that the battery is the problem because when I attached the compressor up to the battery directly, the compressor ran perfectly. I will charge it up just in case.
EDIT: Again, I read the voltage across where the load SHOULD have been and I read the correct 12V. The compressor was completely removed from the circuit, so I just had two open leads. This is probably not the correct way to test, but nothing melted. 