

A Fitting Lampu, also known as a lamp holder or bulb socket, is a device designed to securely hold and connect a light bulb to an electrical circuit. It ensures the safe operation of the bulb by providing both mechanical support and electrical connectivity. The E27 Socket, manufactured by Generic, is one of the most commonly used lamp holders, compatible with standard E27 screw-type light bulbs.








| Parameter | Specification |
|---|---|
| Manufacturer | Generic |
| Part ID | E27 Socket |
| Compatible Bulb Type | E27 screw-type bulbs |
| Rated Voltage | 110V - 250V AC |
| Rated Current | Up to 4A |
| Material | Heat-resistant plastic or ceramic |
| Mounting Type | Screw or clip-on |
| Dimensions | Varies (standard E27 size) |
The E27 socket typically has two electrical terminals for connection:
| Pin/Terminal | Description |
|---|---|
| Live (L) | Connects to the live wire of the circuit |
| Neutral (N) | Connects to the neutral wire of the circuit |
Note: Some E27 sockets may include a grounding terminal for enhanced safety, depending on the design.
While the E27 socket is not directly compatible with low-voltage microcontrollers like the Arduino UNO, it can be controlled indirectly using a relay module. Below is an example of how to control an E27 socket with an Arduino UNO and a relay:
/*
Example: Controlling an E27 Socket with Arduino and Relay
This code turns an E27 bulb on and off using a relay module.
Ensure the relay is rated for the voltage and current of the bulb.
*/
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 on the bulb
delay(5000); // Keep the bulb on for 5 seconds
digitalWrite(relayPin, LOW); // Turn off the bulb
delay(5000); // Keep the bulb off for 5 seconds
}
Note: The relay module should be connected to the Arduino and the E27 socket as per the relay's wiring diagram. Always ensure proper insulation and safety precautions when working with high-voltage components.
| Issue | Possible Cause | Solution |
|---|---|---|
| Bulb does not light up | Loose wiring or poor connections | Check and secure all connections |
| Bulb flickers | Voltage fluctuations or loose contacts | Stabilize power supply; tighten wires |
| Socket overheats | Bulb wattage exceeds socket rating | Use a bulb within the rated wattage |
| Relay-controlled bulb not working | Incorrect relay wiring or code issues | Verify wiring and review Arduino code |
Can I use an E27 socket outdoors?
What is the maximum wattage supported by the E27 socket?
Can I use an E27 socket with LED bulbs?
Is it safe to use the E27 socket without grounding?
By following this documentation, users can safely and effectively utilize the Generic E27 Socket for various lighting applications.