Night Light Transistor Switch Kit: Arduino Uno, LDR, BC547
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Automatic Night Light Kit with Arduino Uno + LDR — a beginner-level kit.
Build an Automatic Night Light Circuit
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Kit at a glance
What you build: An automatic night light: two LDRs tell an Arduino Uno when it's getting dark, and BC547 transistors switch on five white LEDs. A first real switching circuit, where a small signal pin controls a bigger load.
What's in the box
- Arduino Uno R3
- LDR × 2
- 5mm White LED × 5
- BC547 Transistor × 2
- 10kΩ Resistors × 5
- 1kΩ Resistors × 5
- 220Ω Resistors × 5
- 400-pt Breadboard
- M-M Wires × 20
- 9V Battery Snap
Power: 9V battery, not included.
Skill level: Beginner (2-3 hours, no soldering).
Frequently asked questions
Why use a transistor?
An Arduino pin can't drive many LEDs; the transistor switches the bigger current.
Can I set how dark it gets first?
Yes, by changing the threshold in code.
This kit introduces the magic of light-controlled circuits: a light-dependent resistor (LDR) senses darkness and instantly switches on a row of bright white LEDs via a BC547 transistor. You’ll create your own automatic night lamp — a real switching circuit that mimics how garden lights, streetlights, and security systems work, all on a simple breadboard with Arduino as the brain.
What You'll Build
By the end of this 2-3 hour build, you’ll have a functioning lamp that glows automatically as dusk falls and turns off when the room brightens. Place it on your study desk, corridor, or balcony and watch your first sensor-actuator project come alive, completely hands-free.
What You'll Learn
- How an LDR’s resistance changes with light and how to read it using Arduino’s analog input
- Transistor as a switch: driving multiple LEDs with a BC547 transistor from a microcontroller pin
- Breadboard wiring techniques — connecting power rails, jumpers, and components without soldering
- Writing and uploading a simple Arduino sketch that sets a light threshold for automatic switching
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Uno R3 | 1 |
| LDR | 2 |
| 5mm White LED | 5 |
| BC547 Transistor | 2 |
| 10kΩ Resistors | 5 |
| 1kΩ Resistors | 5 |
| 220Ω Resistors | 5 |
| 400-pt Breadboard | 1 |
| M-M Wires | 20 |
| 9V Battery Snap | 1 |
Who This Kit Is For
This kit fits CBSE science projects, ATL Tinkering Labs and school exhibitions. It’s also an ideal first electronics build for B.Tech ECE/EEE students exploring sensor interfaces or hobbyists wanting a quick win in home automation.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code to access the AI companion, which walks through each wiring step and code explanation. For extra help, reach us on WhatsApp — we’re active and responsive.
Can I use this kit without an Arduino?
The LDR and transistor can form a standalone dark-activated switch with a battery, but the Arduino lets you program thresholds, add delays, and learn coding — the core learning path of this kit.
Why are there two LDRs in the kit?
One is for the light sensing circuit; the second is a spare or can be used to experiment with dual-light sensing for more advanced solar tracking concepts.
What happens if the LEDs flicker near the light threshold?
The transistor provides a clean on/off switch. Fine‑tune the threshold line in the Arduino code or adjust the voltage‑divider resistor to eliminate any flickering.
Solar — LDR detects darkness and switches LEDs on via transistor. First real-world switching circuit.
What's in this kit
- Arduino Uno R3
- LDR x2
- 5mm White LED x5
- BC547 Transistor x2
- 10kΩ Resistors x5
- 1kΩ Resistors x5
- 220Ω Resistors x5
- 400-pt Breadboard
- M-M Wires x20
- 9V Battery Snap
Other projects you can build
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items