A fluorescent bulb is a type of light bulb that uses electricity to excite mercury vapor, which in turn produces short-wave ultraviolet light. This ultraviolet light causes a phosphor coating inside the bulb to glow, producing visible light. Fluorescent bulbs are known for their energy efficiency and long lifespan compared to traditional incandescent bulbs.
Parameter | Value |
---|---|
Voltage | 120V AC (common household) |
Current | 0.32A (typical for 40W bulb) |
Power Rating | 40W |
Luminous Efficacy | 50-100 lumens per watt |
Color Temperature | 2700K to 6500K |
Lifespan | 7,000 to 15,000 hours |
Base Type | G13 (for T8 tube) |
Pin Number | Description |
---|---|
1 | Cathode (connected to ballast) |
2 | Cathode (connected to ballast) |
3 | Anode (connected to ballast) |
4 | Anode (connected to ballast) |
Bulb Flickering:
Bulb Not Lighting:
Dim Light Output:
While fluorescent bulbs are not typically controlled by microcontrollers like the Arduino UNO, you can use a relay module to switch the bulb on and off. Below is an example code to control a relay module connected to an Arduino UNO:
// Arduino UNO code to control a relay module for a fluorescent bulb
const int relayPin = 7; // Pin connected to the relay module
void setup() {
pinMode(relayPin, OUTPUT); // Set relay pin as an output
digitalWrite(relayPin, LOW); // Ensure relay is off at startup
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn on the relay (and the bulb)
delay(5000); // Keep the bulb on for 5 seconds
digitalWrite(relayPin, LOW); // Turn off the relay (and the bulb)
delay(5000); // Keep the bulb off for 5 seconds
}
In this example, the relay module is connected to pin 7 of the Arduino UNO. The code turns the relay (and the connected fluorescent bulb) on and off every 5 seconds. Ensure that the relay module is rated for the voltage and current of the fluorescent bulb.
By following this documentation, users can effectively utilize and troubleshoot fluorescent bulbs in various applications.