The first thing you need to do is connect NeoPixels smart color LEDs to your QT Py. NeoPixels come in many form factors but connecting them is basically the same. There are three pins: ground, 5v power and data. You'll connect these to the appropriate pins on your QT Py.

For an in depth look at NeoPixels, check out this guide.

There are options for connecting NeoPixels to the QT Py. You can solder headers to your QT Py and use a breadboard, or you can solder wires directly to your QT Py. It's up to you!

To demonstrate the examples in this guide, I have connected a NeoPixel LED Strip with 3-pin JST Connector to the QT Py on a tiny breadboard using Silicone Covered Male-Male Jumper Wires. You can use any form of NeoPixels and connect them however you like, but if you want the examples to run without modification, ensure that you've connected them to the pin listed below.

If you're using a form of NeoPixels that are chainable, e.g. a bare strip or a ring, there will be DATA IN and DATA OUT. You must connect your QT Py to DATA IN!


Connect the NeoPixels to the QT Py as follows:



  • QT Py A3 to NeoPixel data / DIN (data in)
  • QT Py GND to NeoPixel ground
  • QT Py 5V to NeoPixel power (5V)
You must connect your NeoPIxels to 5V power, on the QT Py or externally, for the LEDs to work as expected. The example may not run properly if the LEDs are connected to 3V power!

Once you've got everything connected, it's time to get coding and light it up!

This guide was first published on Oct 14, 2020. It was last updated on May 26, 2024.

This page (QT Py NeoPixel Wiring) was last updated on Mar 08, 2024.

Text editor powered by tinymce.