A socket is a device that allows for the connection of electrical plugs to a power source, providing a secure and stable connection for electrical appliances. Sockets are ubiquitous in both residential and commercial settings, enabling the safe and efficient distribution of electrical power to various devices. They come in various types and configurations to accommodate different plug standards and power requirements.
Specification | Value |
---|---|
Voltage Rating | 110-240V AC |
Current Rating | 10-16A |
Power Rating | Up to 3680W |
Frequency | 50-60Hz |
Material | High-grade plastic or metal |
Safety Features | Childproof shutters, grounding |
Pin Number | Description | Function |
---|---|---|
1 | Live (L) | Carries the current to the appliance |
2 | Neutral (N) | Returns the current from the appliance |
3 | Ground (G) | Safety feature to prevent electric shock |
No Power to the Socket:
Loose Connections:
Overheating:
Tripped Circuit Breaker:
While sockets are typically used for high-voltage applications, you can use a relay module to control a socket with an Arduino UNO. Below is an example code to control a socket using a relay module:
/*
This example code demonstrates how to control a socket using a relay module
connected to an Arduino UNO. The relay is connected to pin 7 of the Arduino.
*/
const int relayPin = 7; // Pin connected to the relay module
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Initialize the relay to be off
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay on (socket powered)
delay(5000); // Wait for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay off (socket unpowered)
delay(5000); // Wait for 5 seconds
}
This code will turn the socket on and off every 5 seconds. Ensure you follow all safety guidelines when working with high-voltage components.
This documentation provides a comprehensive overview of sockets, including their technical specifications, usage instructions, and troubleshooting tips. Whether you are a beginner or an experienced user, this guide aims to help you safely and effectively use sockets in your electrical projects.