A 2 gang socket with wire is an electrical outlet designed to accommodate two devices simultaneously. It features two power outlets and comes with a pre-attached wire for straightforward installation. This component is widely used in residential, commercial, and industrial environments to provide power to various appliances and equipment. Its pre-wired design simplifies the installation process, making it a convenient choice for electricians and DIY enthusiasts alike.
Below are the key technical details for the 2 gang socket with wire:
Parameter | Specification |
---|---|
Voltage Rating | 220-250V AC |
Current Rating | 10A or 13A (depending on the model) |
Number of Outlets | 2 |
Wire Length | Typically 1.5m to 3m |
Wire Type | 3-core cable (Live, Neutral, Earth) |
Socket Type | Type G (UK), Type F (EU), or others |
Material | Flame-retardant plastic housing |
Mounting Type | Surface-mounted or flush-mounted |
Safety Features | Childproof shutters, grounding pin |
The 2 gang socket with wire typically includes a 3-core cable with the following connections:
Wire Color | Function | Description |
---|---|---|
Brown | Live (L) | Carries the current to the socket. |
Blue | Neutral (N) | Returns the current to complete the circuit. |
Green/Yellow | Earth (E) | Provides safety by grounding the socket. |
While a 2 gang socket with wire is not directly connected to an Arduino UNO, it can be used in projects involving relays to control AC devices. Below is an example of Arduino code to control a relay module connected to a 2 gang socket:
// Example: Controlling a relay to switch a 2 gang socket on/off
// Pin 7 is connected to the relay module's control pin
const int relayPin = 7; // Define the relay control pin
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Ensure the relay is off initially
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay (and socket) ON
delay(5000); // Keep it ON for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay (and socket) OFF
delay(5000); // Keep it OFF for 5 seconds
}
Note: Ensure proper isolation between the Arduino and the AC circuit using a relay module with optocoupler protection.
Socket Not Powering Devices:
Overheating Socket:
Tripped Circuit Breaker:
Relay Not Controlling the Socket (if used with Arduino):
By following this documentation, users can safely and effectively install and use a 2 gang socket with wire in various applications.