Do you have a question about the Qwiic APA102C and is the answer not in the manual?
Questions and answers
Subscribe to Our Youtube Channel
Summary of Contents for sparkfun Qwiic APA102C
Page 1
Qwiic LED Stick - APA102C Hookup Guide Introduction The SparkFun Qwiic LED Stick - APA102C simplifies adding addressable LED control to any I C project using the SparkFun Qwiic System. The board includes 10 APA102 addressable LEDs controlled by an ATTiny85 on the board to work in tandem with either the SparkFun Qwiic LED Stick Arduino library or Python package..
Page 2
In this tutorial we'll cover the hardware present on the Qwiic LED Stick, how to assemble a basic circuit and to top it off we'll take a close look at the SparkFun Qwiic LED Stick Arduino library and Python package as well as a few of the examples included in them.
Page 3
SparkFun Qwiic Shield for Arduino Nano DEV-16790 DEV-16789 Along with a development board or SBC, you'll need at least one Qwiic cable. SparkFun carries a variety of lengths and types of Qwiic cables as seen here: SparkFun Qwiic Cable Kit Qwiic Cable - 100mm ...
Page 4
Stick. Select your power supply based on the estimated total current draw of the LEDs in your circuit. Below are a few options that can work with the APA102 LEDs: Power Supply - 5V, 4A SparkFun Breadboard Power Supply 5V/3.3V TOL-15352 PRT-00114...
Along with a dedicated power supply, you may need some tools to solder with. If you need a soldering iron or soldering supplies, take a look at the tools and supplies below: Soldering Iron - 60W (Adjustable Temperature) Solder - 1/4lb Spool (0.020") Special Blend ...
A tutorial to help figure out the power requirements of Learn the difference between 3.3V and 5V devices and your project. logic levels. Serial Terminal Basics An introduction to I2C, one of the main embedded This tutorial will show you how to communicate with communications protocols in use today.
Page 7
The board includes a dedicated power PTH pin labeled VIN (along with a spare Ground PTH) to power the LEDs directly for longer chains of Qwiic LED Sticks or circuits with an extra LED strip that require more power than a typical microcontroller can provide.
Basic Qwiic/I C Assembly For a basic Qwiic LED Stick circuit with a board like the SparkFun RedBoard Qwiic Plus all you need to do is plug the two boards together with a Qwiic cable.
Page 9
Arduino library, please check out our installation guide. The SparkFun Qwiic LED Stick Arduino Library makes controlling the LED stick as easy as sending the command with three RGB values to set the color along with a host of other functions to control the LED setLEDColor() Stick.
Page 10
This basic example shows how to initialize the LED Stick along with controlling the LEDs on it all at once. Open the example by navigating to File > Examples > SparkFun Qwiic LED Stick Arduino Library > Example01_Blink. After opening the example, select the correct Board (in our case the SparkFun RedBoard) and Port it enumerated on.
Page 11
LEDStick.setLEDColor(50, 50, 50); Example 3 - Single Pixels2 The third creates three arrays to set the Red, Green and Blue values for each LED. In the global class, the code creates an array for Red, Blue and Green and sets arbitrary values for each pixel. Pixel# byte redArray[10] = {214,...
Page 12
If you prefer to manually install the package, you can find it on the GitHub repository or click the button below to download the ZIP of it: DOWNLOAD THE SPARKFUN QWIIC LED STICK PYTHON PACKAGE (ZIP) (*Please be aware this package depends on the Qwiic I2C Driver. You can also check out the repository documentation page, hosted on Read the Docs.)
Page 13
In case the package is updated in the future, you may need to upgrade it. Use these commands to upgrade the package: For all users (The user must have sudo privileges): sudo pip3 install --upgrade sparkfun-qwiic-led-stick For the current user: pip3 install --upgrade sparkfun-qwiic-led-stick...
LED chain. If the total current draw is outside of the limits of your chosen controller's 3.3V regulator capacity (most SparkFun Qwiic boards have a max out of 600mA@3.3V), adjust the VLED jumper to isolate the LEDs from the rest of the circuit and use a separate voltage input via the VIN PTH pin.
Page 15
SPARKFUN TECHNICAL ASSISTANCE PAGE If you don't find what you need there, the SparkFun Forums are a great place to find and ask for help. If this is your first visit, you'll need to create a Forum Account to search product forums and post questions.
Page 16
LED rings available. resolution LED matrix available. LumiDrive Hookup Guide The LumiDrive LED Driver is SparkFun’s foray into all things Python on micro-controllers. With the SparkFun LumiDrive you will be able to control and personalize a whole strand of APA102s directly from the board itself.
Page 17
Wedginursday: Frame Rates and Funky Colors Fan-Out Capability of the APA102C MAY 23, 2018 JUNE 18, 2018 ATP: Circuit Design with LEDs Save Your Buffer JULY 2, 2018 SEPTEMBER 6, 2018 Underlit Crystal Display Python and the SparkFun LumiDrive DECEMBER 19, 2018 JANUARY 22, 2019...
Page 18
DIY Camera Lens Light Ring Enginursday: DIY Capacitive Touch Night Light FEBRUARY 5, 2019 JUNE 6, 2019 Enginursday: Ten Years of Testbeds OCTOBER 10, 2019...
Need help?
Do you have a question about the Qwiic APA102C and is the answer not in the manual?
Questions and answers