

A lamp is a device that produces light when an electric current passes through it. It is one of the most commonly used components for illumination in residential, commercial, and industrial applications. Lamps come in various types, such as incandescent, LED, fluorescent, and halogen, each suited for specific use cases. They are widely used in lighting systems, decorative fixtures, signaling devices, and more.








The technical specifications of a lamp can vary depending on its type and design. Below are general specifications for a standard LED lamp, which is one of the most commonly used types:
| Parameter | Value |
|---|---|
| Operating Voltage | 3V to 12V (varies by type) |
| Current Consumption | 10mA to 100mA (typical) |
| Power Rating | 0.5W to 10W (varies by type) |
| Light Output (Lumen) | 50 lm to 1500 lm |
| Color Temperature | 2700K (warm) to 6500K (cool) |
| Lifespan | 15,000 to 50,000 hours |
For a basic two-terminal lamp (e.g., LED or incandescent), the pin configuration is as follows:
| Pin Name | Description |
|---|---|
| Anode (+) | Positive terminal; connects to the power supply or resistor. |
| Cathode (-) | Negative terminal; connects to ground or the negative side of the power supply. |
Note: For polarized lamps like LEDs, ensure correct polarity to avoid damage.
Determine the Operating Voltage and Current:
Connect the Lamp:
Use a Resistor (if required):
Test the Circuit:
Below is an example of how to connect and control an LED lamp using an Arduino UNO:
// This code blinks an LED connected to pin 13 of the Arduino UNO
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output pin
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Lamp Does Not Light Up:
Lamp Flickers:
Lamp Burns Out Quickly:
LED Glows Dimly:
Q: Can I connect a lamp directly to a battery?
A: Yes, but only if the battery voltage matches the lamp's rated voltage. For LEDs, always use a current-limiting resistor.
Q: How do I choose the right resistor for an LED lamp?
A: Use Ohm's Law to calculate the resistor value based on the supply voltage, LED forward voltage, and current.
Q: Can I use a lamp with an AC power source?
A: Yes, but ensure the lamp is designed for AC operation. For LEDs, use a rectifier circuit to convert AC to DC.
Q: Why does my LED lamp get hot?
A: High-power LEDs can generate heat. Use a heatsink or proper ventilation to manage heat dissipation.