Idea
In short
How do you build an automatic headlight switch?
A light sensor turns on bike or model car lights at dusk with a delay so tunnels do not flicker them. You need Arduino Nano, BH1750 light sensor, MOSFET IRLZ44N, High-power LED 1 W white (star) and Resistor 10 kΩ.
- Level
- Beginner
- Time
- About 60 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Add hysteresis and delay to a light switch.
Parts list
- Development Boards
- Sensors
- Semiconductors
- Optoelectronics
- Passives
How to build it
- Read lux
- Turn on below one level and off above a higher one
- Wait 3 s before changing
- Switch the LED with a MOSFET
- Test going under a bridge
Common questions
What parts do I need for the automatic headlight switch?
Arduino Nano, BH1750 light sensor, MOSFET IRLZ44N, High-power LED 1 W white (star) and Resistor 10 kΩ.
How long does the automatic headlight switch take to build?
About 60 minutes for a beginner maker.
