Using Arduino UNO, Adafruit’s Compass/Accelerometer & NeoPixel Ring (AND excellent libraries)…A digital LED compass to show you the way in any light!
I was playing with the new, and very cool, NeoPixel Ring — I hooked it up to my UNO, along with the Accelerometer/Magnetometer breakout board. I wrote a simple little sketch and…viola! An RGB LED compass on my Arduino.
NeoPixel Ring – 16 x WS2812 5050 RGB LED with Integrated Drivers: Round and round and round they go! 16 ultra bright smart LED NeoPixels are arranged in a circle with 1.75″ (44.5mm) outer diameter. The rings are ‘chainable’ – connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can chain together! Each LED is addressable as the driver chip is inside the LED. Each one has ~18mA constant current drive so the color will be very consistent even if the voltage varies, and no external choke resistors are required making the design slim. Power the whole thing with 5VDC (4-7V works) and you’re ready to rock. (read more)