I’m at a loss as to the problem, but I’m trying to use this SMD N channel Mosfet as a small switch. I actually have 2 different custom boards I’ve made with it on, and neither are working, So I populated on of my boards with the bare minimum to test it, and it’s not working. Seems like it’s on all the time, whether I turn Digital pin 4 on or off. Here’s photos of the schematic, the board layout, and even one of the actual real life board. I don’t think I have the source/drain/gate hooked up wrong, do I?
PS. The board has a 5 volt regulator on it for the ATtiny85. I tested the ATtiny85 by have it blink a different pin on and off, and watching it with my meter, and it was working. So I know the ATtiny85 is working. But when I had it blink D4 on and off every second, (that’s that pin connected to the gate of the MOSFET), it was always on according to my meter.
board.pdf (21.3 KB)