Solder the wires to the sensor
Connect the wires to the sensor breakout as shown.
- Note that the black and green wires are twisted together and both soldered to the GND pin.
- Solder a short wire to the sensor pad and connect the other end to the ornament. Make sure that it makes good electrical contact with the ornament.
- You can disguise the sensor breakout with a bit of ribbon.
Connect the Powerswitch Tail
Connect the sensor and the power supply adapter to the Powerswitch Tail as shown in the diagram below:
Wrap it up in a tidy package
Plug the power supply into the adapter and secure all the wiring with some cable ties or tape.