Solder four wires to the QT Py:
- Red to +5v
- Black to G
- White to A0
- Yellow to A2
The red, black, and white wires will connect to the NeoPixels:
- Red to +5v
- Black to G
- White to DI (data IN)
One end of the NeoPixel Strip is Data Out, the other Data In. Be sure to connect to Data In which might be labeled DI or have a triangle pointing into the strip. The Data Out Pin (DO or triangle pointed out the end) will not work.
Strip a little shielding off the end of the yellow wire but don't connect it to anything yet. This will become our capacitive touch switch.
Once you've got the software installed, plug in the QT Py to power via the onboard USB-C port. Your lights should come on in a soft yellow color.
Troubleshooting
If the lights don't come on, here are a couple things to try:
- Be sure you soldered to the correct end of the LED strip. These strips are directional, and won't work if you connect the data wire to the wrong end. More about how to solder NeoPixels here
- Open the WLED software and go to the LED Settings page. Make sure you have the correct pin (GPIO) entered here. Find this out in the pinout diagram in the QT PY guide).
- If it's still not working, head over to the NeoPixel Uberguide and try uploading some basic code, just to see whether the problem is with your wiring or with the software. If you can get the lights to come on using Arduino or CircuitPython, the trouble is with the software -- try reinstalling.
Once your lights are working, seal the end up with a piece of clear heat shrink. I like to squirt a little hot glue in before I shrink it down, so the solder joints are fully encased in plastic and won't pull out.
Text editor powered by tinymce.