HomeEngineering Projects For YouMinuscule LED Night Marker

Minuscule LED Night Marker

The minuscule LED night marker presented here is an automatic light beacon that wakes up at night, or when there is not enough ambient light in its environment. Anyone active in the dark (walking, riding, swimming, etc) can utilise this portable marker as a safety device to put a clear and distinct mark in darkness. The author’s prototype is shown in Fig. 1.

Fig. 1: Author’s prototype

Circuit and Working

The circuit diagram of the LED night marker is shown in Fig. 2. It consists of Digispark board, 9V battery and a few other components. At the heart of the circuit is Digispark Attiny85 board. Digispark board connectors are represented by connector CON1. Hardware is powered by 6F22 (9V) alkaline battery through Vin pin. An external indicator (LED1) is used by enabling a low-power driver wired around the small signal transistor BC547 (T1).

Circuit diagram of LED night marker
Fig. 2: Circuit diagram of LED night marker

The photo resistor (LDR1) connected to analogue input pin P2 of the board is used to control external LED1 marker through onboard pin P1, which blinks when there is not enough ambient light.

- Advertisement -

The program (night_marker.ino) is written in Arduino programming language. A connector is provided in Digispark board as a USB interface to program it through Arduino IDE on the computer. Also, the little code is well-commented, which allows easy modification as per requirement.

Construction and testing

A PCB layout of the LED night marker is shown in Fig. 3 and its components layout in Fig. 4. Assemble the components on the PCB as per the circuit diagram.

- Advertisement -
PCB layout of LED night marker
Fig. 3: PCB layout of LED night marker
Fig. 4: Components layout for the PCB

Download PCB and Component Layout PDFs: Click Here

Download Source Folder

The breadboard prototype was tested with a 9V battery (6F22), which worked well with current consumption of just above 20mA in idle state (>200 lux) and just below 25mA in active state (<10 lux). A 2S lithium-ion/lithium-polymer battery (7.4V) is recommended in lieu of 6F22 9V battery. Make sure that the battery is connected with correct polarity, as incorrect battery input could fry Digispark board.

Enclose the finished device in a waterproof, transparent/translucent box, preferably with a power on/off switch (not shown in the schematic). Drill adequate holes on the front/top panel of the enclosure for mounting LDR1, LED1 and power switch. In addition, add a rectangular window on one side of the box for the USB connector of Digispark board.


T.K. Hareendran is founder and promoter of TechNode Protolabz

T.K. Hareendran
T.K. Hareendran
T. K. Hareendran is a veteran electronics expert, educator, and technology writer with over 30 years of hands-on experience in the field of electronics and embedded systems. His journey began with a deep curiosity about how technology works, which evolved into a lifelong passion for understanding and building electronic systems. Over the decades, Hareendran has witnessed and actively engaged with the evolution of electronics—from early circuit designs and discrete components to modern microcontrollers, embedded platforms, and advanced digital systems. His expertise spans circuit design, hardware development, and practical electronics, backed by extensive real-world experience. Known for his ability to simplify complex concepts, he has dedicated many years to knowledge sharing, helping students, hobbyists, and professionals navigate the intricacies of electronics. His writing focuses on making technical subjects accessible, combining clarity with practical insights that readers can apply in real-world scenarios. Hareendran continues to contribute to the electronics community through educational content and hands-on guidance, driven by a strong belief in the power of curiosity, continuous learning, and shared knowledge.

1 COMMENT

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics