Building your own USB desktop lamp circuit is a fulfilling hobby that blends electronics, practical knowledge, and creativity.
This project offers an excellent opportunity to master the fundamentals of electronics while creating a useful and fashionable light source, regardless of your level of experience with building or desire to learn more about circuits.
Any USB port can power a USB lamp, which makes it adaptable and practical for a variety of environments, including your workstation, bedside table, or even as a portable light source for outdoor activities.
We encourage you to customize your design as we guide you through the necessary parts, the assembly procedure, and troubleshooting advice.
By the time this project is finished, you will have a personalized USB lamp in addition to a greater comprehension of electrical concepts, soldering methods, and circuit design.
Let us shine some light on your creative journey!
Circuit Working:
Parts List:
Component | Quantity |
---|---|
USB port with four pins | 1 |
Resistors 1/4 watt 100Ω | 4 |
LEDs white 5mm 20mA | 4 |
Diode 1N4007 | 1 |
A 5V DC power supply is provided by the USB cord.
The current that passes through the LEDs is restricted by the resistors R1 to R4.
The value of 100 ohms resistors is a common choice for white LEDs operating on 5V.
When the USB cable is unplugged, the diode is utilized to shield the LEDs from reverse voltage.
It makes sure that the LEDs only allow electricity to flow forward.
Formulas:
The formula for calculating the total resistance Rt in a series circuit is:
Rt = R1 + R2 + R3 + … + Rn
where,
- Rt is the total resistance
- R1, R2, R3, …, Rn are the individual resistances
You can calculate the total current (It) flowing through the circuit using ohms law:
It = V / Rt
where,
- It is the total current
- V is the 5V voltage
- Rt is the total resistance
you can calculate the current flowing through each LED using ohms law again:
Iled = V / Rled
where,
- Iled is the current flowing through each LED
- V is the voltage 5V
- Rled is the resistance of each LED 100 ohms
Since all the LEDs and resistors are in series, the current flowing through each LED will be the same as the total current.
How to Build:
To build a Simple DIY Guide to a USB Desktop Lamp Circuit follow the below mentioned steps:
- Gather all the components as mentioned in the above circuit diagram.
- Connect one end of each resistor R1 to R4 to the positive terminal of the USB cable.
- Connect the anode of each LED to the other end of the corresponding resistor.
- Connect the cathode of each LED to the negative terminal of the USB cable.
- Connect the anode of the diode to the positive terminal of the USB cable, and connect the cathode to one common end of all the resistors.
Testing:
- Connect the USB cable to a power source.
- The LEDs should light up if the circuit is connected correctly.
Additional information:
- To create the right atmosphere, play around with different LED hues.
- You may modify the resistor values to alter the brightness.
- Lower brightness is the effect of higher resistance levels.
- To manage the lamps operation, think about including features like a switch or dimmer.
Conclusion:
Constructing a Simple USB Desktop Lamp Circuit is an easy and satisfying project that you can tailor to your requirements.
Your workstation might have an attractive and useful lighting solution if you follow the instructions in this article.
Leave a Reply