I have a an N-Channel Mosfet soldered to an adapter board and connected to PB4 of an ATtiny85 via a solderless breadboard. The mosfet currently switches the ground leg of some other low power components, less than 50mA.
DMG2302UK-7 N-Channel Mosfet
ATtiny85 spec sheet
From the instant the ATtiny code decides to fire an output on PB4, how long does it take for the Mosfet to be to the full on state? Reading the spec sheet it looks like the mosfet should take 3.3nS and the Attiny should take 1.5 clock cycles (150nS at 10mhz). The internet tells me gate capacitance comes into play too, but I doubt its a simple RC calc?
I don't need to be exact I just need to make sure im in the right ball park and dont need some sort of specialized driver circuit or a different mosfet. I am trying to send a signal at a khz speeds, and am seeing like 0.03s delay for this mosfet to trigger. I just want to determine if it is an issue with my code or with the circuit.
Thanks!