Spark Core Neopixel App

by Mohit

spark-neopixel-01

I always find that it’s easier to take on a project to learn about something new than to just read about it. That’s how this iPhone app happened. It’s my first crude attempt at writing code in (ugly) objective-C. The app consists of a color-wheel to select the RGB values and a slider to set the brightness. You can find the project files for the xcode and the firmware app for the Spark Core on my GitHub repository.

The project uses the Adafruit’s 24 element neopixel ring and a Spark Core. The wiring is very straight forward. The ring requires a 5 VDC supply which is directly derived from the Core’s VIN pin (coming from the USB) and the data-in line to the ring is connected to Core’s D2 pin.

The ring, when naked, is very bright. So I decided to defuse it with a thick plastic cup.

spark-neopixel-02