Flash Light Controller, White LED, and navigation (red, green) and charging with Solar Panel.
6 modes, (work in progress)
- Mcu atmega328P 3.3v
- LiPo battery
- 2n7000
- Red LED 80ma
- Green LED 80ma
- White LED 100ma
- pb switch
- Shockley diode
- few resistor
- solar cell 5 volts 120 mamps
You will need to remove the Arduino power LED and the voltage regulator in order to minimize the power consumption. Mode: press and hold, wait for the green led flash the appropriate number and release.
- Flash and release: Green/Red LED flashing every 1 sec (small boat navigation)
- Flash and release: White LED 10%
- Press and hold: set Level 10-100%. Off in 60 min
- Press and release: Auto Off, slowly dimming down Off in 60 min, nightlights mode
- Flash and release:release SOS
- Flash release: RED 20% - Auto Off with Sun. Release
Press and release 100%. Off in 60 min
- Flash and release: White Strobe 100%, every 2 sec, off with sun, on with the night release
- Flash and release: Battery Level 1 to 10 flash (10-100%) release, auto off
And more... (any idea is welcome). Any time you can push the switch for turn off the (sleep mode).
EXPANDED TECHNICAL DETAILS
Smart High-Power Lighting Logic
This project provides a professional-grade controller for high-power LED flashlights, featuring multiple modes and thermal protection.
- Multi-State PWM Dimming: Uses a single tactical button. The Arduino cycles through "High," "Medium," "Low," and "Strobe" modes. The firmware uses low-frequency PWM on a high-current MOSFET to regulate LED brightness.
- Voltage Drop Monitoring: The Arduino constantly monitors the 18650 battery voltage; when the battery is low, it automatically enters "Eco Mode" and flashes a small indicator LED.
Safety
- Thermal Step-Down Lock: (Advanced version) Includes a thermistor on the LED heatsink. If the temperature exceeds 65°C, the Arduino instantly reduces the PWM duty cycle by 50% to prevent hardware damage.