

A 3 pin header is a type of electrical connector that consists of three pins arranged in a single row. It is commonly used in electronics for connecting wires, modules, or other components to a circuit. The 3 pin header provides a simple and reliable way to establish connections, making it a popular choice in prototyping, breadboarding, and PCB designs.








The 3 pin header does not have a fixed pin assignment, as it is a generic connector. However, it is often used in the following configurations:
| Pin Number | Typical Use | Description |
|---|---|---|
| 1 | VCC (Power) | Supplies power to the connected device. |
| 2 | Signal (Data) | Transmits data or signal. |
| 3 | GND (Ground) | Provides a ground connection. |
| Pin Number | Typical Use | Description |
|---|---|---|
| 1 | Open/Connected | Used to configure a circuit setting. |
| 2 | Common Pin | Shared connection point. |
| 3 | Open/Connected | Used to configure a circuit setting. |
Here is an example of how to connect a 3 pin header to an Arduino UNO for reading a sensor signal:
// Example: Reading a signal from a sensor connected via a 3 pin header
// Pin 1: VCC (5V from Arduino)
// Pin 2: Signal (connected to A0 on Arduino)
// Pin 3: GND (connected to Arduino GND)
const int sensorPin = A0; // Analog pin connected to the signal pin of the header
int sensorValue = 0; // Variable to store the sensor reading
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
pinMode(sensorPin, INPUT); // Set the sensor pin as an input
}
void loop() {
sensorValue = analogRead(sensorPin); // Read the sensor value
Serial.print("Sensor Value: "); // Print the sensor value to the serial monitor
Serial.println(sensorValue);
delay(500); // Wait for 500ms before the next reading
}
Loose Connections: The header pins may not make proper contact with the wires or connectors.
Incorrect Pin Assignment: Misidentifying the pins can lead to incorrect connections.
Corrosion or Oxidation: Over time, the pins may corrode, leading to poor conductivity.
Overloading the Pins: Exceeding the current or voltage ratings can damage the header or connected components.
Q: Can I use a 3 pin header for high-frequency signals?
A: Yes, but ensure that the header and connected wires are suitable for the frequency range to avoid signal degradation.
Q: How do I remove a 3 pin header from a PCB?
A: Use a soldering iron and desoldering pump or wick to carefully remove the solder, then gently pull out the header.
Q: Can I connect multiple devices to a single 3 pin header?
A: Yes, but ensure that the total current and voltage requirements of the devices do not exceed the header's ratings.
Q: Are 3 pin headers compatible with breadboards?
A: Yes, as long as the pin spacing (2.54 mm) matches the breadboard's hole spacing.