Rename Pin Request
11 days
Thought for a moment
Thought for 2 sec
Read schematic.
Thought for a moment
Reviews
1751248
Properties
Connector
Phoenix Contact
1751248
J
Pricing & Availability
Distributor | Qty 1 |
|---|
Controls
Welcome 👋
Flux accelerates your PCB design with AI.
Create your account to start using this component and bring your ideas to life.
aichaa
copilot
- To use the 2N3904 as a switch:
- Connect the emitter (E) of the 2N3904 to ground.
- Connect the collector (C) of the 2N3904 to one side of the load (in this example, an LED).
- The other side of the load should be connected to the positive supply voltage through a current-limiting resistor. If an LED is used, the resistor value could be calculated using R=ILEDVsupply−VLED, where:
- $V_{supply}$ is your power supply voltage.
- $V_{LED}$ is the forward voltage of the LED (assume 2V for a typical red LED).
- $I_{LED}$ is the desired current through the LED (20mA is a common value).
- Connect the base (B) of the 2N3904 to a control signal (like a GPIO pin from a microcontroller) through a base resistor. The base resistor value can be calculated using Rbase=IBVGPIO−VBE, where:
- $V_{GPIO}$ is the voltage of the control signal.
- $V_{BE}$ is the base-emitter voltage (assume 0.7V for the 2N3904).
- $I_{B}$ is the base current, which can be taken as $I_{C}/\beta$, with $I_{C}$ being the collector current and $\beta$ the current gain of the transistor (a value of 100 is a safe assumption for the 2N3904).
Simplified connection steps: