

An AC bulb is a type of light bulb designed to operate on alternating current (AC) electricity, which is the standard form of electrical power supplied to homes and businesses. These bulbs are widely used for general-purpose lighting and are available in various types, such as incandescent, compact fluorescent (CFL), and LED bulbs. AC bulbs convert electrical energy into light, either through a heated filament (in incandescent bulbs) or through gas discharge and phosphor coating (in CFLs and LEDs).








The technical specifications of an AC bulb can vary depending on the type and model. Below are general specifications for a standard AC bulb:
| Parameter | Value | 
|---|---|
| Operating Voltage | 110V - 240V AC (region-dependent) | 
| Power Rating | 5W - 100W (varies by type) | 
| Frequency | 50Hz / 60Hz | 
| Light Output | 400 - 1600 lumens (varies by wattage) | 
| Color Temperature | 2700K - 6500K (warm to cool white) | 
| Lifespan | 1,000 - 25,000 hours (type-dependent) | 
| Base Type | E26/E27 (standard), B22, GU10, etc. | 
AC bulbs typically have a base with two electrical contacts. The configuration depends on the bulb type:
| Base Type | Description | 
|---|---|
| E26/E27 | Standard screw base for most household bulbs. | 
| B22 | Bayonet base with two side pins, common in some regions. | 
| GU10 | Twist-and-lock base, often used in spotlights and recessed lighting fixtures. | 
To control an AC bulb using an Arduino UNO, you can use a relay module to safely switch the AC circuit. Below is an example code snippet:
// Example: Controlling an AC bulb with Arduino and a relay module
// Note: Ensure proper isolation and safety when working with AC 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 on the AC bulb
  delay(5000); // Keep the bulb on for 5 seconds
  digitalWrite(relayPin, LOW); // Turn off the AC bulb
  delay(5000); // Keep the bulb off for 5 seconds
}
Important Notes:
Bulb Does Not Light Up:
Flickering Light:
Bulb Burns Out Quickly:
By following these guidelines, you can ensure safe and effective use of AC bulbs in your lighting applications.