Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

How to design a rechargeable LED table lamp

By Ashutosh Bhatt October 22, 2023

In this mini do-it-yourself (DIY) project, we’ll design an LED table lamp that’s battery-operated and rechargeable. It will also feature light dimming so you can adjust the lamp.

There are two basic types of lamps available on the market. A typical one with a 3 to 5-W LED bulb that works on a 230 V AC supply. This one doesn’t usually allow for any light dimming and can only be turned ON/OFF. There’s also a battery-operated, rechargeable LED table lamp. It tends to have less illuminance (brightness) than a typical 230 V AC LED lamp. Let’s design a lamp that includes features from both.

Specifications

  • Bright 5W @ 12 V LEDs – to provide sufficient light in a room
  • A Li-ion (lithium-ion) battery with a battery management system (BMS)
  • The IC NE555-based PWM dimmer for adjustable light intensity
  • Lightweight, compact, and portable

It’s easy to build this lamp at home with only a few components as it has simple circuit and wiring connections.

Required components

1. Three bright 5W @ 12 V LEDs

2. Three Li-ion 3.7 V battery cells; 18650 (1200 – 2800 mAh)

3. A triple Li-ion cell case

4. The 3S 10A 12V BMS module

5. The IC NE555, TIP122, and 5 K POT

Circuit diagram
There are two sections of the circuit.

  • Li-ion battery pack power supply
  • The LED driver circuit with PWM dimmer

Li-ion battery pack power supply
The power supply for the circuit and LED lamp is built using three Li-ion battery cells and a BMS module.

The circuit connections

As shown in the above diagram, the three Li-ion battery cells are connected back-to-back in the three-cell holder.

  1. The +Ve terminal of the cell holder connects with the BMS module’s B+ terminal
  2. The -Ve terminal of the cell holder connects with the BMS module’s B- terminal
  3. The single cell connects to the B1 terminal and the two cell connect to the B2 terminal
  4. There are P+ and P- terminals for taking output from the battery pack
  5. Those same two terminals are used to supply charging input to the battery pack through an external adapter

LED driver circuit with PWM dimmer
The circuit is built using IC NE555, Darlington transistor TIP122, 5 K pot, and few other components.

Circuit diagram of the LED driver with the PWM dimmer.

Circuit operation

  • The IC NE555 is configured in a stable mode so it generates continuous pulses of about 1 KHz.
  • The 5 K pot connects between discharge pin (7) and threshold pin (6) using two diodes, D1 and D2 as shown in the circuit diagram.
  • When the pot value increases, the charging time of the capacitor, C1 also increases, and the discharging time decreases.
  • This will increase the pulse width of the output, keeping the same frequency.
  • Similarly, when the pot value decreases the charging time of the capacitor, C1 also decreases, and the discharging time increases.
  • This will decrease the pulse width of the output.
  • The PWM output is given at the base input of the Darlington transistor Q1.
  • When the pulse width increases, more current passes through the LEDs connected in the collector, increasing the light’s intensity.
  • When the pulse width decreases, less current passes through the LEDs, so the light intensity decreases.

Housing and assembly
As shown in the image below, the PWM dimmer circuit is housed in a plastic box and the LEDs are connected to the circuit using single-core 1 mm2 flexible wires. The battery pack with the BMS is fixed at the bottom of the plastic box. One ON/OFF switch is connected on one of the sides of the housing box.

The housing and assembly of the LED table lamp with the dimmer.

A complete prototype of the LED table lamp with dimmer, including Li-on cells, LEDs, and a knob for changing the light’s intensity.

The result is a nice, usable table lamp that can be used on a side table or desk.

  • While reading, writing, or studying, turn the pot knob for the full intensity of the light.
  • If working on a PC or laptop, turn the pot knob for minimum light intensity.
  • Use it as a night lamp by using the lowest intensity of the light.
  • For any other type of work, adjust the light as desired, using the pot knob.

Here is a YouTube link for a closer look at this homemade LED table lamp:

 

 

You may also like:


  • How to design a lab power supply at home
  • common mistakes
    Basic Electronics 02 – Common mistakes made by electronics beginners
  • beginners guide
    Basic Electronics 01 – Beginners guide to setting up an…

  • How to design a smartphone-operated door lock

  • How to build 100W 2.1-channel home theater system

  • How to make a decorative coconut tree using a digital…

Filed Under: Electronic Projects
Tagged With: batterymanagementsystem, bms, diy, lamp, led, tutorial
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Voltage mode pushpull is a nonsense SMPS?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe