And doing D18.set() does nothing? Maybe you could check the voltages on each of the FET pins with a volt meter?
Is it possible you could have wired the FET up wrong previously and blown it up?
I just wired up your circuit on breakboard, with that exact P36NF06L FET and the exact same water pump, running off a ~4v LiPo battey, and it works great.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Honestly what you've got there looks perfect.
And doing
D18.set()
does nothing? Maybe you could check the voltages on each of the FET pins with a volt meter?Is it possible you could have wired the FET up wrong previously and blown it up?
I just wired up your circuit on breakboard, with that exact P36NF06L FET and the exact same water pump, running off a ~4v LiPo battey, and it works great.