After the first version of
the board though it was working to its initial needs, came into other
requirements hence the dual version came about.
Adding to the primary driver, wanted to replace the
low current secondary 100mA driver with one matching primary one. Also wanted to
have input as a meants to provide additional trigger ie additional button /
switch.
To make wiring simpler in certain situations and to include power in single
connector IO port was expanded to include power feed.
Firmware
As this version is an
update of the original
LED dimmer. Original
firmware will work on
this board as well
however it only supports
first driver. The
updated version 2
firmware had been
re-written to take
advantage of both
drivers. The first
driver is used for main
LED which is controlled
by the buttons. The
second driver is
controlled by a trigger
input that controls
count down timer and
shuts off the driver.
For example if an PIR
sensor is connected it
will send trigger signal
turn on the second
driver and shut down.
Secondly non blocking
multi function button
library was used so that
multiple options per
button could be
implemented and
eliminating delays that
were used in original
version
3D box files
The box is 72x47x20mm in size, included STL files for the box are of base
cut outs which only have necessary openings for the buttons power DC input and
the 2x6 connector. Optional button expansion connector and the extra ports for
PB0 and PB1 will need to be added or cut out manually as needed or the files
modified before printing.
When printing there is no need for use a 1.75mm filament with at least 30%
infill for sturdy case and there is no need for any support