Aziz Bench

AO3400A as a switch with Arduino and ESP32

A tiny SOT-23 MOSFET with RDS(on) guaranteed at 2.5 V: it switches a couple of amps fully from a 3.3 V pin. Many boards carry it, sometimes from a second source marked A09T.

Transistor
AO3400A
N-channel MOSFET · SOT-23 · Alpha & Omega
Max voltage
30 V
Max current
5.7 A
RDS(on)
48 mΩ at 2.5 V
SOT-23 pinout
3D1G2S

From a 3.3 V or 5 V pin

PinVerdictWhyIn free air
ESP32 · 3.3 VWorksRDS(on) at most 48 mΩ guaranteed from 2.5 V3.4 A (heat)
Arduino Uno · 5 VWorksRDS(on) at most 32 mΩ guaranteed from 4.5 V4.2 A (heat)

In free air at 25 °C, with the junction 25 °C below its 150 °C maximum and θJA 125 °C/W, at the guaranteed RDS(on) raised with temperature.

Specifications

TypeN-channel MOSFET
PackageSOT-23
Maximum voltage30 V
Maximum current5.7 A
Threshold VGS(th)0.65 … 1.45 V
RDS(on), maximum48 mΩ at 2.5 V (3 A) · 32 mΩ at 4.5 V (5 A) · 27 mΩ at 10 V (5.7 A)
Gate voltage limit±12 V
Gate charge7 nC at 4.5 V
Thermal resistanceθJA 125 °C/W
Maximum junction temperature150 °C
SMD markingA09T
Datasheet usedAlpha & Omega

Pinout

PinFunction
1Gate
2Source
3Drain

Seen from above with the single pin (3) at the top: pin 1 is bottom left, pin 2 bottom right.

Similar parts

PartPackageRDS(on) at 3.3 VRDS(on) at 5 VMax voltageMax current
AO3400ASOT-2348 mΩ32 mΩ30 V5.7 A
2N7000TO-92no5.3 Ω60 V200 mA
BS170TO-92nono60 V500 mA
Si2302SOT-2375 mΩ57 mΩ20 V2.6 A
IRLML6344SOT-2337 mΩ29 mΩ30 V5 A
IRLZ44NTO-220no25 mΩ55 V47 A
IRLB8721TO-220no16 mΩ30 V62 A
IRF520TO-220nono100 V9.2 A
IRF540NTO-220nono100 V33 A

Tips

Keep the 10 kΩ from gate to ground: while the microcontroller boots its pins float and the MOSFET could turn on by itself.

Every coil needs a flyback diode across it, cathode to the positive supply. Without it the voltage spike at turn-off can destroy the transistor at the first switching.

An SOT-23 sheds its heat through the copper on the drain pin: the datasheet figure assumes about 6.5 cm² (1 in²), a bare pad runs much hotter.

Open the calculator →Check the AO3400A with your own load, supply, PWM frequency and temperature.

Other transistors

Frequently asked questions

Does the AO3400A work with a 3.3 V ESP32?

Yes: its RDS(on) is guaranteed at 2.5 V (at most 48 mΩ), and a 3.3 V pin is above that. In free air it handles about 3.4 A.

How much current can the AO3400A switch without a heatsink?

About 4.2 A from a 5 V Arduino pin, in free air at 25 °C, keeping the junction 25 °C below its 150 °C maximum (limit: heat).

What is the AO3400A pinout?

SOT-23: 1 gate, 2 source, 3 drain. Seen from above with the single pin (3) at the top: pin 1 is bottom left, pin 2 bottom right.

Source of the figures: Alpha & Omega datasheet (PDF)