You can easily wire this breakout to any microcontroller, we'll be using an Arduino. For another kind of microcontroller, as long as you have I2C pins available, just check out the library, then port the code.

Wiring

Wire as shown for a 5V board like an Uno. If you are using a 3V board, like an Adafruit Feather, wire the board's 3V pin to breakout VIN.

Here is an Adafruit Metro wired up to the LED driver using the STEMMA JST PH cable:

  • Board 5V to breakout VIN
  • Board GND to breakout GND
  • Board SCL to breakout SCL
  • Board SDA to breakout SDA

Download Libraries

To begin reading sensor data, you will need to dowload the Adafruit IS31FL3731 library from the Arduino library manager.

Open up the Arduino library manager:

Search for the Adafruit IS31FL3731 library and install it

Search for the Adafruit GFX library and install it

If using an older (pre-1.8.10) Arduino IDE, locate and install Adafruit_BusIO (newer versions do this one automatically).

We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

Load Demo

Open up File->Examples->Adafruit_IS31FL3731->swirldemo and upload to your Arduino wired up to the driver & matrix

Upload to your Arduino, you'll see the LED display swirl different brightnesses!

This guide was first published on Mar 09, 2016. It was last updated on Feb 18, 2024.

This page (Arduino Wiring & Test) was last updated on Mar 09, 2016.

Text editor powered by tinymce.