

A bulb is an electric light source that produces light when an electric current passes through it. Traditional incandescent bulbs use a filament that heats up and emits light, while modern bulbs, such as LEDs, use semiconductors or gas to produce illumination. Bulbs are widely used in residential, commercial, and industrial applications for lighting purposes.
Common applications and use cases include:








The technical specifications of a bulb can vary depending on its type (e.g., incandescent, LED, CFL). Below are general specifications for a standard incandescent bulb:
| Parameter | Value |
|---|---|
| Operating Voltage | 110V - 240V AC (varies by region) |
| Power Rating | 5W - 100W (depending on model) |
| Luminous Flux | 400 - 1600 lumens (approx.) |
| Color Temperature | 2700K - 6500K (warm to cool white) |
| Base Type | E26/E27 (screw type) or B22 (bayonet type) |
| Lifespan | ~1,000 hours (for incandescent) |
For a standard screw-type bulb (E26/E27 base):
| Pin | Description |
|---|---|
| Tip | Live terminal (connects to phase) |
| Base | Neutral terminal (connects to neutral) |
For a bayonet-type bulb (B22 base):
| Pin | Description |
|---|---|
| Pin 1 | Live terminal (connects to phase) |
| Pin 2 | Neutral terminal (connects to neutral) |
If using an LED bulb with an Arduino UNO, you can control it via a relay module. Below is an example code:
// Example: Controlling a bulb with Arduino UNO and a relay module
// Ensure the relay module is connected to the Arduino and the bulb is wired properly.
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 initially
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the bulb ON
delay(5000); // Keep the bulb ON for 5 seconds
digitalWrite(relayPin, LOW); // Turn the bulb OFF
delay(5000); // Keep the bulb OFF for 5 seconds
}
Note: Use a relay module rated for the bulb's voltage and current. Never connect an AC bulb directly to the Arduino.
Bulb Does Not Light Up
Bulb Flickers
Bulb Burns Out Quickly
Bulb Generates Excessive Heat
Can I use a bulb with a higher wattage than my fixture's rating?
What is the difference between warm white and cool white bulbs?
Can I dim an incandescent bulb?
Why should I switch to LED bulbs?