I'm currently trying to control an array of MOSFETS so I can drive several solenoids. I'm using the Boron from particle.io as my main board, the PCF8575 as my I/O expander, the MAX3004 as a level shifter, and the PSMN5R4-25YLDX as my MOSFET (see attached image).
The issue I'm running into is that the output from the PCF8575 is below the 3.3V mark. It's around 2V. The MAX3004 outputs just under 3V. So, the MOSFET never turns on. I read that the PCF8575 provides a "soft" high state, but does that mean that, in this situation, it won't even reach 3.3V?
Experimenting, I found out that if I bypass 180 Ohm resistor leading to the MOSFET, I can get the MOSFET to turn on with no load. With load, it doesn't switch.
I'm not quite sure how I should fix this problem if anyone has suggestions.