Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
APA106 through-hole RGB LEDs displaying different colours

Build a Panel of APA106 Through-Hole Pixels: Wiring, Chain Tests and Mechanical Layout

Individual addressable LEDs are useful when a strip's spacing does not match the project. You can place one beside each switch, arrange indicators around a model railway diagram or build a classroom display with large gaps between positions. Through-hole APA106 pixels combine an RGB light source and controller in a familiar domed package.

The PMD Way APA106 through-hole LEDs are offered in 5 mm and 8 mm versions. Before laying out the panel, select the actual size and verify its mechanical drawing. The APA106 addressable RGB LED collection is a useful starting point when comparing the available pack options.

Understand the four connections

An APA106 is not a conventional four-lead RGB LED with three separately driven colour terminals. Its connections are supply, ground, data input and data output. The manufacturer's APA106 F5/F8 datasheet, hosted by Makerfabs, identifies these functions and specifies a 4.5–6 V supply for the documented parts. Match that sheet to the parts supplied.

The controller sends data to the first pixel's input. That pixel's output feeds the next pixel's input, continuing along the chain. Supply and ground are distributed to every pixel; they are not placed in a series circuit through successive LEDs. Follow the actual package drawing for lead identification, paying attention to its viewing direction.

Do not identify a connection solely from a lead's length after it has been trimmed. Photograph the unmodified part beside a labelled drawing and mark the planned PCB or wiring diagram with the functional names.

Design the panel and wiring together

Draw the panel from the front and then draw its rear wiring view. The apparent left-to-right order reverses when you turn it over. This simple detail causes surprisingly many assemblies to display their animation backwards.

Number physical positions separately from data-chain indices. For example, a six-position teaching display might route wires in a convenient zigzag while its front labels run in a straight row. Save a mapping table so the program can translate a named position into the appropriate pixel index.

Plan how LEDs will be retained without using their leads as the only structural support. Check the fit of any bezel, spacer or panel hole with a sample. Leave room behind the body for the four connections and their insulation; a package that fits the hole may still be difficult to wire safely.

Form leads without stressing the package

The product listing identifies a relatively close lead spacing, so adapting the part to a breadboard or PCB deserves care. Do not force all four leads into unsuitable holes or allow adjacent leads to touch after bending.

Kingbright's through-hole LED application notes explain the general risks of transmitting forming forces into an LED body. Support leads during forming, avoid stressing the encapsulation and check the actual manufacturer's handling and soldering requirements. Kingbright's numerical process limits should not be transferred automatically to an APA106 from another manufacturer.

Make a simple positioning jig for repeated panel assemblies. Set the intended height and orientation before soldering, then remove the jig only when the joints have cooled. Use insulated supports and strain relief so moving a cable does not repeatedly bend a lead at the package.

Prove one pixel before assembling the chain

  1. Check the supply setting, polarity and current limit with the LED disconnected.
  2. Identify the LED's input, output, supply and ground from its drawing.
  3. Connect the controller and LED grounds as required by the interface, then connect a suitable data signal to the input.
  4. Use a library configuration specifically supporting APA106 and begin with a modest brightness.
  5. Display red, green and blue separately, recording the actual channel order.

The official FastLED source includes an APA106 controller type. Select support appropriate to your installed version and microcontroller. Similar-looking one-wire LED families need not have identical timing or colour order, so a generic WS2812 configuration is not sufficient evidence of compatibility.

A 3.3 V controller also needs an electrical compatibility check when the LED supply is higher. Obtain the input thresholds for the actual part or use a suitable fast logic interface with documented margins. A pixel responding on one desk does not establish reliable operation across temperature, supply variation and different batches.

Extend the chain in small stages

Add a second LED only after the first passes the colour test. Run a pattern that lights one position at a time, followed by a pattern that gives each position a different colour. This separates data-order mistakes from colour-channel mistakes.

Continue adding short sections and test after each one. Keep data wiring short and route it with a nearby ground reference. For a panel with widely separated indicators, do not assume unlimited cable distance; test the intended wiring and consider an appropriate signalling arrangement if the links become long or electrically noisy.

If the chain stops after one position, inspect that pixel's output connection, the next pixel's input and both power connections. A dark pixel does not necessarily prove the preceding pixel has failed. Measure and isolate the smallest failing section before replacing parts.

Budget power for the permitted display states

Use the supplier's current information for the actual LEDs as a planning input, then measure the assembled display. Include all pixels, the controller and other loads. A hypothetical twelve-pixel design allowing 60 mA per pixel would allocate 720 mA to the pixels before adding other consumption; that calculation is an example, not a universal measured APA106 current.

Check voltage at the most distant LED under the highest permitted load. Size wires, connectors and protection for the complete branch, and keep LED power out of GPIO pins. Do not increase supply voltage beyond the part's allowed range to compensate for a poorly designed distribution path.

Make the finished display easy to diagnose

Keep a startup test that steps through every position and colour at a controlled brightness. Add labels to connectors and preserve the physical-to-logical mapping with the project files. If a replaceable section uses a connector, make its orientation and pinout unambiguous.

Finally, test the display from its normal viewing distance. Use position, labels or patterns alongside colour where the meaning matters. A successful custom pixel panel is mechanically secure, electrically predictable and understandable to the person using it—not merely capable of playing an attractive animation.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat