I would like to commute a 12V siren with an ESP01. I thought to use NPN or PNP transistors TO-92 that I have since a long time in my drawers.
The ESP01 has 3.3V maximum at the output, and the siren work at 12V and drive a current about 300 mA.
I found for example a NPN transistor S8050 which can draw up to 700 mA. The power dissipation is about 0.625W, whereas the siren consume about 3.6W. I don't know if it is a problem or not...
Is this NPN transistor is ok for my application, or should I use a MOSFET ?