loading

MERITSUN Battry - The Best Battery Energy Storage System & Lithium Battery Solutions Provider.

automatic dimming nightlight - circuit board assembly

automatic dimming nightlight  -  circuit board assembly

Material: jumper printed circuit board IC1: 741 op amp IC2: 741 op amp terminal connector R1: 1 m Ω R2: 5 k Ω variable R3: 2. 2kΩ R4: 3.
3 m ω C1: 2200 f 10 V C2: 2200 f 10 V D1: 1N4001 D2: D3: D4: 3.
5 v LED S1: SPST locking switch S2: instant switch plastic item box T1: 6 V 400 mA DC power supply some glue and heat shrink tube may also be helpful.
Tool: drill soldering iron wire cutting machine pliers screw driver this is the circuit I designed for this project.
To power this project I am using a 6 v 400 mA DC power supply. Its open-
Circuit Voltage (no load)
About 10 V is measured with volt meter.
The load running voltage of this project is about 9. 5V.
The circuit can be divided into two parts: timer circuit and dimming circuit.
The timer is made from a 741 op amp connected as a comparator.
It compares the voltage on the capacitor with the reference voltage set by R2 and r3.
C1 is charged to the supply voltage when S2 is pressed.
C1 then gradually discharges through r1.
As long as the voltage at both ends of C1 is greater than the reference voltage, the output of the op amp is high (about 8. 7V).
Keep C2 charged.
When the voltage at both ends of C1 falls below the reference voltage, the output of the op amp becomes low (about 1. 9V).
This may take 0-
45 minutes depending on how the variable resistor is set.
When this happens, C2 starts to discharge slowly through r4.
This starts the dimming cycle.
The second 741 op amp is wired as a unit gain amplifier.
Output mirror voltage on c2.
When the voltage at both ends of C2 goes down, the output voltage and LEDs also darken.
LEDs take about 45 minutes from full light to full dark.
Pressing the button at any time resets the entire cycle.
The SPST slide switch turns the power on and off.
The duration of the light to be lit at full brightness and the time to darken can be modified by changing the values of R1, C1, R4, and c2.
By changing the ratio of the resistance to the capacitor, you can change the speed at which the capacitor is discharged.
For a reasonable estimate of how the capacitor will discharge, you can use the formula Vc = Vo * e (-t/RC).
Testing your circuit on the breadboard before welding can help solve the error.
Then, if the bread plate prototype works, weld it to the circuit board.
I am using a printed circuit board that is laid out like a breadboard.
So I don't need to change my layout.
I am stacking some parts to save space.
So it's important to make sure there are no shorts.
I used a PC jumper to connect the variable resistor, some of which were trimmed off.
For my light source, I am using three LEDs in series and their combined voltage is close to the supply voltage, so I give up adding resistors.
I tend to use a lot of heat shrink tubes to isolate my welding connections.
I found it helpful to avoid unwanted shorts.
Once you have built the circuit, find the right housing.
Then drill some holes for LEDs, switches, dial and power cord.
Trim your board so it will be as big as it must be.
This will be very helpful when it comes to installing everything in the housing.
Finally, the project is finished by loading all the components.
The last step is to make it look good.
You can add a diffuser or something to disperse the light if you want.
You can color the LEDs gel or just the liquid highlighter.
The final aesthetic detail depends on you.
I put my in the decorative lantern.

GET IN TOUCH WITH Us
recommended articles
Knowledge Successful case News
Greenhouse Battery Backup Planning: Controls, Pumps, Fans and Lighting
Plan greenhouse battery backup by prioritizing controls, alarms, irrigation, fans, pumps and lighting, then checking startup power, runtime, SOC reserve and transfer behavior.
How to Size Battery Backup for a Small Studio or Home Business
Size battery backup for a studio, shop or home business by defining critical loads, peak power, usable energy, transfer needs, SOC reserve and recharge strategy.
IP65 Outdoor Home Battery Installation: What Installers Must Verify Beyond the Rating
Learn what IP65 covers, what it does not, and what installers must verify for outdoor home batteries: location, heat, drainage, corrosion, cable entries and commissioning.
What Information Is Needed for a Residential Energy Storage Quote?
Use this residential ESS RFQ checklist to submit the grid, load, PV, inverter, backup, site, approval and commercial data needed for a usable quote.
How to Compare Home Battery Quotes: A Bid-Normalization Guide for Installers and Distributors
A practical bid-normalization guide for comparing home battery energy, power, inverter scope, approvals, commissioning, warranty and support.
Nominal vs. Usable Home Battery Capacity: What Installers Should Calculate Before Quoting Runtime
Learn how nominal kWh, starting SOC, reserve settings, conversion losses and load profile determine usable home-battery energy and backup runtime.
Is 128 kWh Enough for Whole-Home Backup? Inside a Caribbean Residential Installation
See how a 128 kWh MERITSUN battery bank, 28.8 kWp solar array and Schneider inverter platform support whole-home backup in Punta Cana.
Project Complete: 48 kWh Whole-Home Storage With Three MSP-6KW Units
A 48 kWh MERITSUN home storage system is now in service, using three 6 kW all-in-one units to support separate household load groups.
60 kWh Farm Battery Storage in the U.S.: What This 12-Module Project Shows
Analyze the design logic behind a U.S. farm project using 12 parallel MERITSUN battery modules, a 60 kWh-class battery bank and a Schneider inverter.
Home Battery Sizing Guide for Solar Installers: 10kWh, 20kWh and 30kWh Systems
A practical MERITSUN home battery sizing guide comparing 10kWh, 20kWh and 30kWh systems for solar installers, EPCs, dealers and distributors.
Established in 1999, we have 20+ years of energy professional experience and integrated solutions services in energy storage application industrial, and further reach the demands the smart & green energy era. 
Copyright ©1999-2025 MeriTech Power Limited - www.meritsunpower.com | All Rights Reserved | Sitemap | Privacy Policy
Customer service
detect