Hardware
The first step, is to hook up your microcontroller to your lights. To do this we only need three wires, two for power, one for data.
Follow these steps:
- Cut off one end of three jumper wires and strip about 5mm of insulation from each wire.
- Solder one wire to each of the three pads on the NeoPixel strip: 5V, GND, DIN.
- Plug the other end of each wire into the NodeMCU as follows: 5V to the VIN pin (+), GND to any GND pin (-), DIN (Data In) to the D1 pin.
- If you want to chain together multiple strips, connect the positive and
neigitivenegative to the other strips, and chain DO (Data Out) to DIN (Data In)