Skip to content

tedyapo/tritiled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

TritiLEDs are optimized LED glow markers designed to last for multiple years on a single lithium coin cell. They can be used wherever you need to mark something in the dark - my first application was marking telescope tripod legs so I wouldn't trip over them. The 3.0 release is now available. This release is software-tunable to run from 1-10 years (and possibly up 20) on a CR2032 cell, and fits into inexpensive "5g" polystyrene cosmetic jars for weatherproofing: TritiLED V3.0

The older V2.2 release can either run for more than 2.5 years on a CR2032 cell at a very visible brightness with selectable blinking modes, or can be programmed to run for more than 5 years at a lower intensity. Here's a picture of two V2.2 boards, one in a 3D-printed case:

TritiLEDs

Three different LEDs have been selected for V3.0: each requires a slightly different PCB and different value for R3.

Caution

Any project using lithium coin cells can be extremely dangerous to children or pets. The Energizer CR2032 datasheet states that an ingested cell can cause serious injury or death in as little as 2 hours. If you build any devices like the one described here, you must ensure that the battery can not be accessed by children or pets. The recommended method is to use screws to secure the battery compartment, which means the board must be enclosed in a case. The 3D printed case described below may not provide adequate protection from the battery: you use this design at your own risk. Be careful out there, people :-)

How it Works

LEDs are typically not very efficient when driven with just a few uA of current. To create an efficient low-brightness LED glow marker, you need to drive the LED with short pulses of higher current where it is most efficient. Interestingly, driving with too much current also reduces efficiency: this phenomenon is known as "droop." Since manufacturer's datasheets don't specify the optimal current, I created a system to measure LED efficiency vs current. It turns out that you can sometimes boost efficiency by a factor of 2x or more by driving LEDs at less than their rated current, which is often based on thermal dissipation concerns rather than efficiency. Here's an example of the efficiency of a cyan LED used in the V2.2 design:

Efficiency Curve

You can see that this LED is most efficient at around 20 mA, even though it is rated for 350 mA. But, driving the LED at 20mA continuously would only last around 10 hours with a CR2032: not very good. So, instead, the circuit drives the LED with brief pulses near the optimum 20 mA. The pulses are at a high enough frequency that the LED appears to glow steadily, but of short enough duration so that the average current drain is less than 10uA (and less than 5uA in some cases). This allows the markers to run for years on a single cell. Incidentally, the choice of LED color is also very important. Cyan LEDs are close to the dark-adapted sensitivity peak of the human eye at 507nm, so they can appear much brighter than other colors in the dark. Green LEDs are close to the light-adapted peak, so they are more useful in brighter environments.

Here's a schematic of the OSLON Signal Verde LED flavor of V3.0:

Tritiled V3.0 Schematic

The V3.0 circuit uses a 74LVC1G123 monostable to produce short, accurate pulses for ramping up current through the inductor. The inductor size and monostable pulse width are selected to optimize the drive current to the LED, based on measured LED efficiency vs current. A PIC12LF1571 uses two synchronized PWM outputs to control the pulses. One PWM gates power to the monostable (it consumes too much quiescent power), while the second PWM triggers the pulse. The 16-bit PWMs on the PIC allow very fine tuning of pulse frequency and hence battery lifetime vs LED brightness. Combined with inductor and monostable resistor selection, the circuit lets you tune for very good electrical and LED efficiency while allowing accurately tunable runtime.

Note: a different value of R3 is required for each type of LED.

V2.2

The schematic of the V2.2 is shown below. A PIC microprocessor generates the pulses controlling a simple voltage converter consisting of a MOSFET and inductor which drives the LED:

Tritiled V2.2 Schematic

Building One

V3.0

You can order all the parts you need to build a TritiLED from this list. You need one of the following for any LED version:

depending on the LED, you need a different PCB and resistor for R3:

OSLON Signal Verde (505nm)

Cree XPE2 Green (525nm)

Luxeon C Cyan

V2.2

You can order all the parts you need to build a TritiLED from this list. You need one of everything.

Choose ONE battery holder:

OR

Choose ONE inductor:

OR

Design Files

The design files for the hardware and software are in the repo, including Eagle files and gerbers for the PCBs:

Version 3.0

TritiLED V3.0 PCB

Version 2.2

TritiLED V2.2 PCB

and OpenSCAD and STL files for a 3D-printable case:

TritiLED V2.2 Case

More Info

Much more infromation can be found on this project's hackaday.io page.
See also this derivation which uses an ATtiny45 microcontroller: everled