

A single socket is an electrical outlet designed to connect one device to the power supply, allowing for the safe and convenient use of electrical appliances. It is a fundamental component in residential, commercial, and industrial electrical systems. Single sockets are typically mounted on walls or panels and are available in various designs to suit different voltage and current requirements.








| Parameter | Specification |
|---|---|
| Voltage Rating | 110V - 250V AC (varies by region) |
| Current Rating | 6A - 16A (depending on the model) |
| Frequency | 50Hz / 60Hz |
| Material | Flame-retardant plastic, copper alloy |
| Mounting Type | Wall-mounted or panel-mounted |
| Number of Outlets | 1 |
| Safety Features | Childproof shutters, grounding pin |
| Pin Name | Description |
|---|---|
| Line (L) | The live wire connection that carries the current to the device. |
| Neutral (N) | The neutral wire connection that completes the circuit. |
| Ground (G) | The grounding pin for safety, preventing electric shocks and short circuits. |
While single sockets are not directly connected to microcontrollers like the Arduino UNO, they can be used in conjunction with a relay module to control AC devices. Below is an example of how to use a relay module to control a device connected to a single socket.
/*
Example: Controlling a Single Socket with an Arduino UNO and Relay Module
This code turns an AC device connected to a single socket ON and OFF
using a relay module. Ensure proper isolation between AC and DC circuits.
*/
const int relayPin = 7; // Pin connected to the relay module
void setup() {
pinMode(relayPin, OUTPUT); // Set relay pin as output
digitalWrite(relayPin, LOW); // Ensure relay is off at startup
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay ON (device ON)
delay(5000); // Keep the device ON for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay OFF (device OFF)
delay(5000); // Keep the device OFF for 5 seconds
}
Note: Always use a relay module with proper isolation and ensure safe handling of AC circuits.
Socket Not Providing Power:
Overheating Socket:
Device Not Turning On:
Sparks or Burning Smell:
By following these guidelines, you can safely and effectively use a single socket in your electrical projects.