The TIP120 is a widely used NPN Darlington transistor capable of handling high current loads. It is designed for general-purpose amplifier and low-speed switching applications. The TIP120 is particularly useful for interfacing with microcontrollers, such as the Arduino UNO, to control devices like motors, solenoids, and relays that require more current than a microcontroller can provide directly.
Pin Number | Name | Description |
---|---|---|
1 | Base | Control signal input, activates the transistor |
2 | Collector | Connected to the high-power load |
3 | Emitter | Connected to ground (common reference) |
// Define the pin connected to the base of the TIP120
const int controlPin = 3;
void setup() {
// Set the control pin as an output
pinMode(controlPin, OUTPUT);
}
void loop() {
// Turn on the load connected to the TIP120
digitalWrite(controlPin, HIGH);
delay(1000); // Wait for 1 second
// Turn off the load
digitalWrite(controlPin, LOW);
delay(1000); // Wait for 1 second
}
Q: Can I use the TIP120 to control an AC load? A: No, the TIP120 is designed for DC applications only.
Q: What is the function of the Darlington pair inside the TIP120? A: The Darlington pair configuration within the TIP120 allows for high current gain, enabling control of high-current loads with a very small base current.
Q: How do I choose the correct base resistor value? A: The base resistor value depends on the voltage of the control signal and the desired base current. Use Ohm's law (R = V/I) to calculate the appropriate resistor value, ensuring the base current does not exceed the microcontroller's maximum current rating for a pin.