Thursday, June 13, 2024

Automatic Anchor Light

Federal and international regulations require boats to carry lights between sunset and sunrise and during conditions of restricted visibility. The number and colours of the lights vary with the size of the vessel.

Many commercial vessels carry special lights that identify them to the others. This is important because right of way depends on the types of vessels involved. Tugs and commercial fishing vessels have the right of way over sailboats, which have the right of way over ordinary power vessels.

Anchor light position at the top of a mast
Fig. 1: Anchor light position at the top of a mast

Unique lights are carried by each one. For example, when you are anchored (or tied to a mooring ball), you must display an anchor light that is a white all-around light. It needs to be mounted high so it can be seen from a distance (refer Fig. 1).

However, most of the cruisers do not use a masthead anchor light because the light is too high above the water level and actually makes it difficult to judge the position of the boat from just the anchor light, especially in a pitch-dark anchorage. That is why many people have devised their own forms of anchor lights that they stick lower to the deck on both sides of their boat.

A typical commercial anchor light
Fig. 2: A typical commercial anchor light

Here is the circuit of a compact yet inexpensive automatic anchor light integrated with an ambient light sensor that turns it on and off automatically. This 12-volt LED light can be used as a traditional masthead anchor light and/or as an optional pretty clever custom-built anchor light. A typical commercial anchor light is shown in Fig. 2.

- Advertisement -

parts list


Circuit and working

The circuit described here (refer Fig. 3) lets you control an electromagnetic relay so that it turns on a white LED light when the preset light level is reached and turns it off when a different preset level is reached. The circuit is built around NE555 IC (IC1). The 5mm light dependent resistor (LDR1) in the circuit triggers the 12V electromagnetic relay (RL1) as per the ambient light level. RL1 drives the 10mm white LED light source (LED2). Series resistor (R2) is included to limit the white LED current.

- Advertisement -
Circuit diagram of the anchor light
Fig. 3: Circuit diagram of the anchor light

Note that switching threshold is determined by a 470k potentiometer (VR1) that causes the output to toggle with the preset threshold values. The light source (LED2) automatically switches on when it gets dark and switches off when there is sufficient ambient light. The 100µF capacitor (C1) provides a bit of hysteresis to prevent the circuit from jittering near the threshold level. The circuit is optimised for use with a nominal DC voltage of 12V drawn from any standard accumulator commonly used in boats.

Construction and testing

A single-side PCB pattern for the anchor light circuit is shown in Fig. 4 and its component layout in Fig. 5.

fig 4
Fig. 4: PCB pattern of the anchor light circuit
fig 5
Fig. 5: Component layout of the PCB
fig 6
Fig. 6: Suggested enclosure layout

Download PCB and Component layout PDFs: click here

The circuit assembled on the small PCB can fit easily inside most prototype/custom enclosures, which should be waterproof for mounting on the masthead. If possible, try to add some optics (lens and reflector) with the white LED (LED2) to spread the light outward. The 12V power supply input wires can then be connected to corresponding wires extending from the existing electric-points of the anchor light. Fig. 6 shows how the prototype may be assembled. Author’s prototype is shown in Fig. 7.

fig 7
Fig. 7: Author’s prototype

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

This article was first published on 28 June 2016 and was updated on 28 February 2020.


  1. Hi
    I am syed maaz shah from Karnataka,iam in final year of BE in electrical and electronics engineering stream,
    i am impressed with this project,and i am very excited to learn,and also i would like to present this project to my university.please help.


Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components