A MySensors node for controlling Fairy Light strings. For making the mounting of the node into a light fixture easier, I've created a small PCB which supports NRF24L01+ radios only. I've kept the footprint of the PCB as small as I could, but I used through hole components in those places where the values depend on the type of fairy light you use. I used a 3 * AA battery version which outputs 5v to the fairy light string. In my case there was an 18ohm resistor between the chip that controls the fairy lights and the positive side of the fairy lights string itself.
It is of course not necessary to order a PCB but it makes life much easier than soldering it to a prototype board manually. This version supports up to 3 fairy lights - I have a seasonable version in my mind - and you can connect a tactile switch and rotary encoder to it for manual operation. I think that being able to manually operate smart lightning is a design must. Your phone battery can be empty or your HA system might be malfunctioning, so in those cases you need to be able to manually operate it.
The mounting point for the NRF24L01+ radio is set inwards, this is so that an anglds female header (2*5p 2.54mm) can be mounted. I needed the radio to be mounted angled - but you will see that in a picture.
The Gerber files can be found in the root of this repository - otherwise I couldn't get the OpenHardware to detect my Gerver and design files. You can order 5 pcb's for around 15 euro's including shipping and tax.
The parts you need are:
Depending on your FairyLight string, you need the following parts for each string:
Optional:
All the embedded software I created for this board is located in the software directory of this repository. The directory contains several sketches that utilize the PCB and transform it into: