2N3904TFR Application Guide


I’ll verify the exact 2N3904TFR package and manufacturer data, then write a cited application guide in the project files. The current description conflicts between TO-92 and SOT-23, so I’ll resolve that before giving pinout or footprint guidance.
The source listings identify 2N3904TFR as an onsemi TO-92 through-hole part, not SOT-23, but datasheet citation validation is still stalled after two attempts. I’ll save a clearly marked draft with primary-source links and flag the specifications and replacement compatibility that remain unverified.
Created a project doc

2N3904TFR Application and Usage Guide

View Document

2N3904TFR Application and Usage Guide
The 2N3904TFR is identified in onsemi source listings as a general-purpose NPN bipolar junction transistor in a three-lead TO-92 through-hole package for small-signal amplification and switching. A common practical application is a GPIO-controlled low-side switch for a small resistive load, indicator LED, or appropriately protected relay coil.
Provisional draft — technical verification incomplete. Datasheet evidence extraction remained pending after two attempts; all manufacturer-derived specifications, pin assignments, dimensions, revision details, and alternative-part compatibility below are unverified transcriptions from source listings, not validated datasheet claims. Source links are supplied for manual checking, not as a substitu...
I saved the seven-section 2N3904TFR Application and Usage Guide in project files, including wiring examples, resistor calculations, layout guidance, and source links. It remains a provisional draft: datasheet validation stalled, and the current part record contains conflicting package information; pinout, lead geometry, and replacement compatibility still require verification before publication or fabrication. For the stalled validation issue: Contact Support.

2N3904TFR Application and Usage Guide
The 2N3904TFR is identified in onsemi source listings as a general-purpose NPN bipolar junction transistor in a three-lead TO-92 through-hole package for small-signal amplification and switching. A common practical application is a GPIO-controlled low-side switch for a small resistive load, indicator LED, or appropriately protected relay coil.
Provisional draft — technical verification incomplete. Datasheet evidence extraction remained pending after two attempts; all manufacturer-derived specifications, pin assignments, dimensions, revision details, and alternative-part compatibility below are unverified transcriptions from source listings, not validated datasheet claims. Source links are supplied for manual checking, not as a substitute for that verification. Do not release a PCB or publish this as a verified guide until the cited PDFs and actual part footprint have been checked. Design examples are explicitly labeled assumptions and calculations.
Important identity conflict: The current library record mixes TO-92 text with SOT-23/SOT-23-6 surface-mount metadata and points to a PZT3904 datasheet. The exact 2N3904TFR ordering entry instead appears under onsemi's TO-92 2N3904 family. This guide does not validate or modify the current Flux symbol, pads, or metadata.
1. Quick Specifications
Values below are provisional, unverified transcriptions of the onsemi source listing; see the manufacturer datasheet, Maximum Ratings, Thermal Characteristics, Electrical Characteristics, and Ordering Information.

Table


ParameterListed value / conditionsClassification
Collector-emitter voltage, VCEO40 VAbsolute maximum; unverified
Collector-base voltage, VCBO60 VAbsolute maximum; unverified
Emitter-base reverse voltage, VEBO6.0 VAbsolute maximum; unverified; not a forward base-drive voltage
Continuous collector current, IC200 mAAbsolute maximum; unverified; not a recommended load current
Junction/storage temperature−55 to +150 °CLimiting range; unverified; not ambient-temperature allowance at full power
Device dissipation, PD625 mW at TA = 25 °C; derate 5.0 mW/°C above 25 °CThermal limit; unverified; mounting conditions matter
Junction-to-ambient thermal resistance200 °C/WListed thermal characteristic; unverified; actual board/enclosure may differ
DC gain, hFE100–300 at IC = 10 mA, VCE = 1 VElectrical min/max at stated test conditions; unverified; not a universal typical value
VCE(sat)Maximum 0.2 V at IC = 10 mA, IB = 1 mA; 0.3 V at IC = 50 mA, IB = 5 mAConditional electrical limits; unverified
VBE(sat)0.65–0.85 V at IC = 10 mA, IB = 1 mA; maximum 0.95 V at IC = 50 mA, IB = 5 mAConditional electrical limits; unverified
Current-gain bandwidth product, fTMinimum 300 MHz at IC = 10 mA, VCE = 20 V, f = 100 MHzSmall-signal test specification; unverified; not maximum switching frequency
Package / mountingTO-92, 3 leads; through-hole; formed-lead variant indicated by distributor listingsIdentity/package information; unverified
Lead pitchExact TFR formed-lead geometry remains unresolvedUnverified; do not substitute a generic TO-92 pitch
Recommended operating conditionsNo separate recommended-operating table was verifiedUnresolved; do not interpret absolute maxima as operating targets
Practical example operating point5 V resistive load supply, 10 mA collector current, 3.3 V or 5 V GPIOGuide design assumption, not a manufacturer recommendation
2. Pinout & Connections
Provisional pin assignment from the onsemi pin-configuration listing: 1 = emitter, 2 = base, 3 = collector. Unverified; inspect the manufacturer's drawing and its viewing direction before mapping schematic pins to PCB pads.

Table


Pin NumberPin NameDescriptionBest Practice
1E — EmitterNPN emitter; unverified numberingTie to circuit GND in the low-side switch example; share ground with the GPIO source.
2B — BaseCurrent-controlled input; unverified numberingDrive through a calculated series resistor; add an optional 47 kΩ base-to-emitter pull-down for high-impedance/reset states.
3C — CollectorSwitched current path; unverified numberingConnect to the load's low side; connect the load's high side to its supply. Protect against inductive turn-off transients.
Do not identify pins solely by a photograph or by left-to-right lead order: top/bottom views and lead forming can reverse the apparent order.
3. Standard Application Circuit
GPIO-controlled low-side switch
The following is an engineering example, not a manufacturer reference circuit:

Text


+VLOAD ── resistive load ── C (provisional pin 3)
GPIO ── RB ─────────────── B (provisional pin 2)
                          E (provisional pin 1) ── GND
                          B ── 47 kΩ ── E
GPIO ground ──────────────────────────────────── GND
  • Required base resistor RB: limit GPIO/base current. For a 10 mA load, use an example forced current gain of 10, giving IB = 1 mA. This mirrors the listed 10 mA / 1 mA saturation test ratio, which remains unverified.
  • Example base-resistor calculation: assume VBE(sat) = 0.85 V, nominal GPIO output equal to its supply, and a 47 kΩ pull-down. The pull-down draws 0.85/47000 = 18.1 µA. Therefore RB ≤ (VOH − 0.85 V)/(1 mA + 18.1 µA): approximately 2.41 kΩ at 3.3 V and 4.08 kΩ at 5 V. Example selections are 2.2 kΩ and 3.9 kΩ, respectively, with 0.125 W resistor ratings. These choices must be recalculated using the actual GPIO's minimum VOH, source-current limit, resistor tolerance, and temperature requirements; they are not universal guaranteed values.
  • Optional 47 kΩ base-emitter pull-down: keeps the input near ground when the GPIO is high impedance. Account for its current when selecting RB.
  • Inductive loads only: add a flyback diode across the coil, cathode to +VLOAD and anode to collector. Select current, reverse-voltage, and transient-energy ratings from the actual load. A simple diode slows relay release; use an engineered clamp if faster release is required. Do not assume the transistor is avalanche-rated.
  • Decoupling: this transistor has no dedicated supply pin, so there is no universal transistor decoupling capacitor. If the local load rail needs transient support, a 100 nF ceramic plus load-dependent bulk capacitance is an example starting point, not a verified manufacturer requirement; size it for the real rail and switching waveform.
Optional LED-load example
For an LED controlled by this transistor, place a series resistor in the load branch: +VLOAD → RLED → LED anode; LED cathode → collector. These calculations apply only to that optional LED application, not to arbitrary loads.
Assume LED forward voltage = 2.0 V, target LED current = 10 mA, and transistor drop = 0.2 V. Then RLED = (VLOAD − VF − VCE)/ILED:

Table


LED supplyCalculated resistanceExample selectionCurrent under stated assumptions
3.3 V110 Ω120 Ω, 0.125 W9.17 mA
5 V280 Ω300 Ω, 0.125 W9.33 mA
Use the actual LED's minimum forward voltage and maximum supply voltage when checking maximum current. The GPIO supply and load supply may differ; do not mix them in the base and LED resistor equations.
Dissipation check
Engineering approximation: PQ ≈ VCE × IC + VBE × IB. Under the 10 mA/1 mA assumptions above, PQ ≈ 2.85 mW. By contrast, 5 V across a transistor carrying 100 mA produces approximately 0.5 W before base-drive loss; a partially conducting switch can be far hotter than a saturated one. The provisional 5 mW/°C derating gives 325 mW at 85 °C, but actual thermal conditions and verification govern the allowable power.
4. PCB Layout & Routing Guidelines
These are engineering recommendations, not extracted manufacturer layout instructions.
  • Verify the actual lead form first: match hole coordinates, finished-hole diameter, annular ring, and courtyard to the exact TFR drawing and lead tolerances. Use JLCPCB-compatible fabrication rules; a three-pad count alone does not establish fit.
  • Keep the base loop short: place RB and the base-emitter pull-down near the device; route away from collector switching nodes and noisy load wiring to reduce unintended coupling.
  • Control load-current return: size collector/emitter traces and vias for real peak/RMS current, copper thickness, length, and acceptable heating. Avoid sharing a sensitive analog-ground segment with the switched load return. No universal trace width is justified without those inputs.
  • Balance solderability and heat flow: use suitable thermal reliefs on through-hole pads connected to planes; avoid narrow relief spokes that become current bottlenecks. Copper can help heat flow, but does not guarantee a particular junction-to-ambient resistance.
  • Minimize inductive loops: place any flyback diode close to the coil or its connector and keep the clamp loop compact. Place any load-rail ceramic/bulk capacitors near that loop. Differential-pair routing does not apply to this discrete low-side switch.
5. Common Pitfalls / Things to Watch Out For
  1. Using the wrong package or pin mapping. The current library metadata conflicts with the exact ordering code. TO-92, SOT-23, and SOT-223 variants are not footprint equivalents; verify lead geometry and E/B/C mapping independently before fabrication.
  2. Treating gain and absolute maxima as design guarantees. Do not use hFE = 100–300 to guarantee saturation or assume 200 mA is a recommended continuous switching current. Calculate base drive, check GPIO limits, calculate temperature-dependent dissipation, and provide a flyback clamp for inductive loads. The 300 MHz fT listing does not imply 300 MHz saturated switching.
No replacement is verified drop-in in this draft. Manufacturer listings support the following candidates, but citation validation and exact mechanical comparison remain incomplete. Matching family names are not enough to qualify a replacement.

Table


Candidate / manufacturerCompatibility classificationQualification required
2N3904 — Central Semiconductor (datasheet)Provisionally pin-compatible: listed E/B/C = 1/2/3; TO-92. Footprint compatibility unverified, particularly versus TFR formed leads.Unverified listings indicate 40 V, 200 mA, 625 mW and matching saturation test points. Verify lead-form fit, plating/order suffix, and temperature-dependent specifications. Exact manufacturer-specific Flux library match was not established.
2N3904 — Micro Commercial Components (datasheet)Functionally similar NPN candidate in TO-92. Pin and footprint compatibility unverified.Unverified listings indicate 40 V and 200 mA. Check the actual pin drawing and bulk/ammo packing code; do not substitute solely on electrical headline ratings. Exact manufacturer-specific Flux library match was not established.
Neither alternative is authorized as a drop-in replacement until the actual ordering code and footprint have been compared to the manufacturer drawings.
7. Sourcing & Purchasing Guide

Table


AttributeDetails
Primary DistributorsExact-code listings were located at Arrow and TME. DigiKey hosts the historical manufacturer PDF linked below. Current stock and franchise status were not independently verified; no exact-code availability claim is made for LCSC or Mouser.
Packaging OptionsProvisional onsemi ordering entry: 2N3904TFR, TO-92-3, lead-free, tape and reel. Distributor cut-tape/repack options must be confirmed per seller.
Standard MOQProvisional manufacturer pack quantity: 2,000 units/reel, not 3,000. This is pack quantity, not a universal distributor MOQ. A one-unit cut-tape MOQ was not verified.
Sourcing AdviceOrder by exact MPN, manufacturer, package drawing, lead form, and packaging option. Use manufacturer-listed franchised distributors and retain traceability; non-authorized marketplace stock carries authenticity and storage risks. Confirm suffixes rather than treating TFR as a universal cross-manufacturer convention. Obtain current stock, lifecycle, MOQ, compliance documentation, and price at purchase time.
Sources
Primary-source PDFs located for manual verification; dates and revisions below remain unverified because datasheet extraction did not complete.
Research date: 7 October 2026. Open items before final publication: validated primary-datasheet citations, exact TFR lead pitch and view orientation, current Flux pad/symbol audit, and qualified replacement ordering codes/mechanical fit.
  • 1. Quick Specifications

  • 2. Pinout & Connections

  • 3. Standard Application Circuit

  • GPIO-controlled low-side switch

  • Optional LED-load example

  • Dissipation check

  • 4. PCB Layout & Routing Guidelines

  • 5. Common Pitfalls / Things to Watch Out For

  • 6. Popular Alternatives & Equivalents

  • 7. Sourcing & Purchasing Guide

  • Sources