Veering off my own topic a bit - as it may be of interest to those following the thread…
I built the Version 2 prototype with 4 x NiMH D cells that I already had (10AH cells)
I dispensed with the voltage divider , and as a quick and dirty and took a second feed off the battery pack:
remember guys this a quick and dirty prototype not final production build !!
Paired the ZigBee relay (it retains its settings after power down - awesome! )
Set the relay action to latching (press the top button this setting is also retained at power down)
And I flicked the switch in HA …
Every other LED lit up !
On closer inspection the LED string is wired (where V or ^ indicates LED current flow)
--------------------------------------------------+ 2.5V
V ^ V ^ V ^ V ^ V ^ V ^
--------------------------------------------------Gnd
the original controller unit (defunct and sealed with potting compond) switched the DC polarity At 3 speeds:
- Slow flash
- fast flash
- Always on
But that “always on” state was faked by fast switching the polarity - amazed that it didn’t produce radio interference but verified that with a spectrum analyser some years ago when it was new.
So to make my prototype work as planned (So I can assess potential interference and current consumption) I have 2 options:
Option1) rewire the LED string to make all the diodes flow V V V V (Mrs BB doesnt like them flashing anyway)
Option 2) insert a small H bridge circuit (#) (4 x FETs and a few discretes) in between the relay and the LEDs to invert the DC polarity fast enough to make it look as if they are steady on.
Option 1) is guaranteed to upset missus BB! It would be better to make a new string up and simply swap them out
Option 2) draws more battery power to drive the H Bridge but , potentially (if I get the switching frequency right) is only drawing full LED power for 50 % of the cycle and we dont need the LEDs to be any brighter than they were. However I would in all probability need a mix 43 ferrite bead on the H bridge output to stop spurious emissions out into the radio spectrum.
Currently looking at a few low cost COTS H bridge boards from China . Will post again with details as to how it works out and how long the LEDs last on a charge
regards
BB
(#) thanks to “Bernie” for the Tip! - I figured it must exist but didn’t know what the circuit was called