I'm looking to drive an active magnetic 3V buzzer with an ESP32 pin through an N-Channel MOSFET as follows:
I'm not sure if the 100 Ohm resistor is needed and whether the value is correct. Buzzer datasheet says 50mA max current but in their sample circuit they don't use any resistor at all.
My MOSFET has near-0 resistance and buzzer's resistance is 16 Ohm. Since I want to use a resistor from JLCPCB basic parts library, I'm limited to 100mW / 100 Ohm = 30mA since at 68 Ohm I'd be over the 100mW on the resistor. Is this reasoning sound? :) Thank you.
