# NeoPixel Ring Clock

## Overview

http://www.youtube.com/watch?v=lNQfeIwGhto

![](https://cdn-learn.adafruit.com/assets/assets/000/014/167/medium800/flora_neopixel-ring-clock-adafruit-necklace.jpg?1392142267)

Build a clock with NeoPixel rings and FLORA! The FLORA GPS provides accurate timekeeping, and the clock’s circular motif make it a handsome addition to your desk, wall, or even around your neck.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/168/medium800/flora_neopixel-ring-clock-adafruit-desk-version.jpg?1392142463)

To build this project you will need:

- [FLORA main board](http://www.adafruit.com/products/659 "Link: http://www.adafruit.com/products/659") and [USB cable](http://www.adafruit.com/products/260 "Link: http://www.adafruit.com/products/260")
- [FLORA GPS](http://www.adafruit.com/products/1059 "Link: http://www.adafruit.com/products/1059")
- [NeoPixel Ring 24](http://www.adafruit.com/products/1586 "Link: http://www.adafruit.com/products/1586")
- [NeoPixel Ring 12](http://www.adafruit.com/products/1643 "Link: http://www.adafruit.com/products/1643")
- [coincell battery holder](http://www.adafruit.com/products/653 "Link: http://www.adafruit.com/products/653") and [battery](http://www.adafruit.com/products/654 "Link: http://www.adafruit.com/products/654")
- [GPS antenna](http://www.adafruit.com/products/960) with [SMA to uFL adapter](http://www.adafruit.com/products/851 "Link: http://www.adafruit.com/products/851") (optional)
- [soldering iron and solder](http://learn.adafruit.com/adafruit-guide-excellent-soldering "Link: http://learn.adafruit.com/adafruit-guide-excellent-soldering")
- [wire strippers](http://www.adafruit.com/products/527 "Link: http://www.adafruit.com/products/527")
- [flush snips](http://www.adafruit.com/products/152)
- [pliers](http://www.adafruit.com/products/146 "Link: http://www.adafruit.com/products/146")
- [multimeter](http://www.adafruit.com/index.php?main_page=adasearch&q=multimeter "Link: http://www.adafruit.com/index.php?main\_page=adasearch&q=multimeter")
- [solid core hookup wire](http://www.adafruit.com/products/290 "Link: http://www.adafruit.com/products/290")
- packing or painter's tape
- double sided tape
- [third hand tool](http://www.adafruit.com/products/291 "Link: http://www.adafruit.com/products/291")

![](https://cdn-learn.adafruit.com/assets/assets/000/014/203/medium800/flora_neopixel-ring-clock-adafruit-materials-00.jpg?1392226314)

# NeoPixel Ring Clock

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/014/209/medium800/flora-neopixel-ring-clock-diagram.png?1392229359)

NeoPixel rings connect as follows:

- +5V -\> FLORA VBATT
- GND -\> FLORA GND
- outer ring Data Input -\> FLORA D12
- outer ring Data Out -\> inner ring Data Input

  
FLORA GPS connects as follows:  

- GPS GND -\> FLORA GND
- GPS 3.3V -\> FLORA 3.3V
- GPS RX -\> FLORA TX
- GPS TX -\> FLORA RX
- GPS BAT -\> positive side of coincell holder
- GPS GND -\> negative side of coincell holder

  
power circuit via USB or battery connected to JST port# NeoPixel Ring Clock

## Build GPS Circuit

Line up your FLORA and GPS module according to the circuit diagram. You'll be attaching them back to back!  
  
Solder wires onto the FLORA GPS' GND, TX, RX, 3.3V pins. Solder two longer wires to the GND and BAT pads on the FLORA GPS.

![flora_neopixel-ring-clock-adafruit-04.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/152/medium640/flora_neopixel-ring-clock-adafruit-04.jpg?1392138313)

![flora_neopixel-ring-clock-adafruit-02.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/153/medium640/flora_neopixel-ring-clock-adafruit-02.jpg?1392138406)

Use a piece of double-sided tape to position the GPS in the center back of FLORA, with the wires pointing towards the appropriate FLORA pads.

![flora_neopixel-ring-clock-adafruit-03.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/154/medium640/flora_neopixel-ring-clock-adafruit-03.jpg?1392138498)

![flora_neopixel-ring-clock-adafruit-05.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/155/medium640/flora_neopixel-ring-clock-adafruit-05.jpg?1392138584)

Clip wires to length, strip the ends, and solder the four connections to FLORA.  
  
Route the two long BAT/GND wires through an unused hold on FLORA (like D9).

![flora_neopixel-ring-clock-adafruit-06.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/156/medium640/flora_neopixel-ring-clock-adafruit-06.jpg?1392138766)

![flora_neopixel-ring-clock-adafruit-07.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/157/medium640/flora_neopixel-ring-clock-adafruit-07.jpg?1392138864)

![flora_neopixel-ring-clock-adafruit-08.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/158/medium640/flora_neopixel-ring-clock-adafruit-08.jpg?1392139022)

![flora_neopixel-ring-clock-adafruit-13.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/159/medium640/flora_neopixel-ring-clock-adafruit-13.jpg?1392139309)

Thread on a coincell battery holder. BAT goes to + and GND goes to - on the holder. Adjust the wire lengths to position the battery holder on the FLORA as shown (we'll use foam tape to stick it down later).  
  
Solder these connections and insulate the back of the holder with tape.  
  
Plug in the FLORA via USB and test the GPS circuit according to the [FLORA GPS guide.](http://learn.adafruit.com/flora-wearable-gps)

![flora_neopixel-ring-clock-adafruit-12.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/160/medium640/flora_neopixel-ring-clock-adafruit-12.jpg?1392139504)

![flora_neopixel-ring-clock-adafruit-11.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/161/medium640/flora_neopixel-ring-clock-adafruit-11.jpg?1392140184)

![flora_neopixel-ring-clock-adafruit-10.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/162/medium640/flora_neopixel-ring-clock-adafruit-10.jpg?1392141050)

![flora_neopixel-ring-clock-adafruit-09.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/163/medium640/flora_neopixel-ring-clock-adafruit-09.jpg?1392141134)

![flora_neopixel-ring-clock-adafruit-14.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/164/medium640/flora_neopixel-ring-clock-adafruit-14.jpg?1392141541)

![flora_neopixel-ring-clock-adafruit-19.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/166/medium640/flora_neopixel-ring-clock-adafruit-19.jpg?1392142076)

# NeoPixel Ring Clock

## Build NeoPixel Ring Circuit

Arrange the two NeoPixel rings face down on your work surface. It can help to use tape, sticky side up, on your desk to help keep the rings aligned while you solder.  
  
Make small pieces of solid-core wire shaped like staples to connect 5V, GND, and data between the two pixel rings according to the circuit diagram.

![flora_neopixel-ring-clock-adafruit-15.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/165/medium640/flora_neopixel-ring-clock-adafruit-15.jpg?1392142042)

![flora_neopixel-ring-clock-adafruit-16.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/169/medium640/flora_neopixel-ring-clock-adafruit-16.jpg?1392142614)

![flora_neopixel-ring-clock-adafruit-17.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/170/medium640/flora_neopixel-ring-clock-adafruit-17.jpg?1392142735)

![flora_neopixel-ring-clock-adafruit-18.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/171/medium640/flora_neopixel-ring-clock-adafruit-18.jpg?1392143067)

Solder longer wires as shown to the extra 5V and GND on the outer ring, as well as data input.  
  
Place the GPS/FLORA circuit in the center and solder these longer wires to VBATT, D12, and GND on FLORA according to the circuit diagram.  
  
Test the NeoPixel rings by downloading the [NeoPixel](http://learn.adafruit.com/adafruit-neopixel-uberguide "Link: http://learn.adafruit.com/adafruit-neopixel-uberguide") code library and running one of the test Arduino sketches provided.

![flora_neopixel-ring-clock-adafruit-21.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/172/medium640/flora_neopixel-ring-clock-adafruit-21.jpg?1392143415)

![flora_neopixel-ring-clock-adafruit-22.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/173/medium640/flora_neopixel-ring-clock-adafruit-22.jpg?1392143630)

![flora_neopixel-ring-clock-adafruit-23.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/178/medium640/flora_neopixel-ring-clock-adafruit-23.jpg?1392150044)

# NeoPixel Ring Clock

## Code and Clock Faces

![](https://cdn-learn.adafruit.com/assets/assets/000/014/179/medium800/flora_neopixel-ring-clock-adafruit-24.jpg?1392153321)

Animated clock based on [zeroeth's time loop](https://github.com/zeroeth/time_loop "Link: https://github.com/zeroeth/time\_loop"), with added GPS and orientation adjustment.

If this is your first time using FLORA, add the Adafruit board support package for Arduino&nbsp;[as explained in this guide](https://learn.adafruit.com/adafruit-arduino-ide-setup/arduino-1-dot-6-x-ide).

The code requires the following libraries, which can be installed with the Arduino Library manager (Sketch→Include&nbsp;Library…→Manage&nbsp;Libraries…):

- Adafruit\_NeoPixel
- TimeLib
- Adafruit\_GPS

Other libraries used here are part of the stock Arduino distribution.

Select FLORA as your board type before compiling (Tools→Board→Adafruit Boards→FLORA).

```auto
//NeoPixel clock with FLORA based on Kevin Alford's NeoPixel ring clock face
//https://github.com/zeroeth/time_loop
//http://www.youtube.com/watch?v=b-mROp-ZKuk
//modified by Becky Stern for Adafruit Industries
#include &lt;Adafruit_NeoPixel.h&gt;
#include &lt;TimeLib.h&gt;
#include &lt;Adafruit_GPS.h&gt;
#include &lt;SoftwareSerial.h&gt;
#include &lt;Wire.h&gt;

Adafruit_GPS GPS(&amp;Serial1);

#define PIN 12

// Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console
// Set to 'true' if you want to debug and listen to the raw GPS sentences
#define GPSECHO false
     
// this keeps track of whether we're using the interrupt
// off by default!
boolean usingInterrupt = false;

// From adaFruit NEOPIXEL goggles example: Gamma correction improves appearance of midrange colors
const uint8_t gamma[] = {
      0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
      0,  0,  0,  0,  0,  0,  0,  0,  1,  1,  1,  1,  1,  1,  1,  1,
      1,  1,  1,  1,  2,  2,  2,  2,  2,  2,  2,  2,  3,  3,  3,  3,
      3,  3,  4,  4,  4,  4,  5,  5,  5,  5,  5,  6,  6,  6,  6,  7,
      7,  7,  8,  8,  8,  9,  9,  9, 10, 10, 10, 11, 11, 11, 12, 12,
     13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20,
     20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 27, 27, 28, 29, 29,
     30, 31, 31, 32, 33, 34, 34, 35, 36, 37, 38, 38, 39, 40, 41, 42,
     42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
     58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 75,
     76, 77, 78, 80, 81, 82, 84, 85, 86, 88, 89, 90, 92, 93, 94, 96,
     97, 99,100,102,103,105,106,108,109,111,112,114,115,117,119,120,
    122,124,125,127,129,130,132,134,136,137,139,141,143,145,146,148,
    150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,
    182,184,186,188,191,193,195,197,199,202,204,206,209,211,213,215,
    218,220,223,225,227,230,232,235,237,240,242,245,247,250,252,255
};

// Parameter 1 = number of pixels in strip
// Parameter 2 = pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
//   NEO_RGB     Pixels are wired for RGB bitstream
//   NEO_GRB     Pixels are wired for GRB bitstream
//   NEO_KHZ400  400 KHz bitstream (e.g. FLORA pixels)
//   NEO_KHZ800  800 KHz bitstream (e.g. High Density LED strip)
Adafruit_NeoPixel strip = Adafruit_NeoPixel(36, PIN, NEO_GRB + NEO_KHZ800);

//--------------------------------------------------|
//Your NeoPixel rings may not line up with ours, or each other.     |
//Enter which NeoPixel leds are on top LED (0-23 and 0-13).  |
  #define outerTOP_LED                10
  #define innerTOP_LED                5
//--------------------------------------------------|

int outertopLED = outerTOP_LED;
int innertopLED = innerTOP_LED;
float fLat = 0.0;
float fLon = 0.0;

//tequila sunrise color scheme

uint32_t milli_color  = strip.Color ( 44,  21,  0); // redest orange
uint32_t second_color = strip.Color (  44,  30, 0); //slightly yellower
uint32_t hour_color   = strip.Color (  44, 42,  0); //yellow
uint32_t minute_color = strip.Color ( 43, 0, 5); //red
uint32_t off_color    = strip.Color (  0,  0,  0);


//blue, green, &amp; purple color scheme
/*
uint32_t milli_color  = strip.Color ( 24,  0,  24); // magenta
uint32_t second_color = strip.Color (  17,  0, 44); // purple
uint32_t hour_color   = strip.Color (  0, 10,  44); // royal blue
uint32_t minute_color = strip.Color ( 0, 44, 10); // green
uint32_t off_color    = strip.Color (  0,  0,  0);
*/

// Offset hours from gps time (UTC)
//const int offset = 1;   // Central European Time
const int offset = -4;  // Eastern Daylight Time (USA)
//const int offset = -5;  // Central Daylight Time (USA)
//const int offset = -8;  // Pacific Standard Time (USA)
//const int offset = -7;  // Pacific Daylight Time (USA)

/* CLOCK */
class ClockPositions
{
 public:
 
  uint8_t milli;
  uint8_t currentsecond;
  uint8_t currentminute;
  uint8_t currenthour;


  ClockPositions ();
  void update    ();
};


ClockPositions::ClockPositions()
{
  /*
  milli = 0;
  second = 0;
  minute = 30;
  hour = 6;
  */
  //DateTime(__DATE__, __TIME__);
  
}


void ClockPositions::update()
{
  
  if (GPS.fix) {
      // set the Time to the latest GPS reading
      setTime(GPS.hour, GPS.minute, GPS.seconds, GPS.day, GPS.month, GPS.year);
      delay(50);
      adjustTime(offset * SECS_PER_HOUR);
      
      delay(100);
    }
    
  currentsecond = outertopLED + map ((second() % 60), 0, 60, 0, 23);
  if (currentsecond &gt; 24) {currentsecond = currentsecond-24;};
  milli  = map ((millis() %  1000), 0,  1000, 0, 24);
  currenthour   = innertopLED + map ((hour() % 12), 0,  12, 24, 35);
  if (currenthour &gt; 35) { currenthour = currenthour-12;}
  //Serial.print("the hour is: ");
  //Serial.println(hour());
  currentminute = outertopLED + map (minute() % 60, 0,  60, 0, 23);
  if (currentminute &gt; 23) {currentminute = currentminute-24;};
  //Serial.print("the minute is: ");
  //Serial.println(minute());
}



/* CLOCK VIEW */

class ClockSegments
{
 public:
  ClockPositions    &amp;positions;
  Adafruit_NeoPixel &amp;strip;

  ClockSegments (Adafruit_NeoPixel&amp;, ClockPositions&amp;);
  void draw  ();
  void clear ();
  void add_color (uint8_t position, uint32_t color);
  uint32_t blend (uint32_t color1, uint32_t color2);
};


ClockSegments::ClockSegments (Adafruit_NeoPixel&amp; n_strip, ClockPositions&amp; n_positions): strip (n_strip), positions (n_positions)
{
}


void ClockSegments::draw()
{
  clear();

  add_color (positions.currentminute,  minute_color);
  //Serial.println(positions.minute);
  add_color (positions.currenthour,  hour_color  );


  add_color (positions.currentsecond     % 24, second_color);
  add_color ((positions.currentsecond+1) % 24, second_color);
  //add_color ((positions.second+2) % 24, second_color);

/*
  add_color (positions.milli     % 24,  milli_color);
  add_color ((positions.milli+1) % 24,  milli_color);
  add_color ((positions.milli+2) % 24,  milli_color);
*/
  strip.show ();
}


void ClockSegments::add_color (uint8_t position, uint32_t color)
{
  uint32_t blended_color = blend (strip.getPixelColor (position), color);

  /* Gamma mapping */
  uint8_t r,b,g;

  r = (uint8_t)(blended_color &gt;&gt; 16),
  g = (uint8_t)(blended_color &gt;&gt;  8),
  b = (uint8_t)(blended_color &gt;&gt;  0);

  strip.setPixelColor (position, blended_color);
}


uint32_t ClockSegments::blend (uint32_t color1, uint32_t color2)
{
  uint8_t r1,g1,b1;
  uint8_t r2,g2,b2;
  uint8_t r3,g3,b3;

  r1 = (uint8_t)(color1 &gt;&gt; 16),
  g1 = (uint8_t)(color1 &gt;&gt;  8),
  b1 = (uint8_t)(color1 &gt;&gt;  0);

  r2 = (uint8_t)(color2 &gt;&gt; 16),
  g2 = (uint8_t)(color2 &gt;&gt;  8),
  b2 = (uint8_t)(color2 &gt;&gt;  0);


  return strip.Color (constrain (r1+r2, 0, 255), constrain (g1+g2, 0, 255), constrain (b1+b2, 0, 255));
}


void ClockSegments::clear ()
{
  for(uint16_t i=0; i&lt;strip.numPixels (); i++) {
      strip.setPixelColor (i, off_color);
  }
}



/* SIMPLE MIXER */
// add rgb and clamp





/* APP */
ClockPositions positions;
ClockSegments  segments(strip, positions);

void setup ()
{
 
   
  // connect at 115200 so we can read the GPS fast enough and echo without dropping chars
  // also spit it out
  Serial.begin(115200);
  Serial.println("Adafruit GPS library basic test!");
     
  // 9600 NMEA is the default baud rate for Adafruit MTK GPS's- some use 4800
  GPS.begin(9600);
  // uncomment this line to turn on RMC (recommended minimum) and GGA (fix data) including altitude
  GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCGGA);
  // uncomment this line to turn on only the "minimum recommended" data
  //GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCONLY);
  // For parsing data, we don't suggest using anything but either RMC only or RMC+GGA since
  // the parser doesn't care about other sentences at this time
  // Set the update rate
  GPS.sendCommand(PMTK_SET_NMEA_UPDATE_1HZ); // 1 Hz update rate
  // For the parsing code to work nicely and have time to sort thru the data, and
  
  // print it out we don't suggest using anything higher than 1 Hz
     
  // Request updates on antenna status, comment out to keep quiet
  GPS.sendCommand(PGCMD_ANTENNA);
  
  delay(1000);
  // Ask for firmware version
  Serial1.println(PMTK_Q_RELEASE);
  
  strip.begin ();
  strip.show (); // Initialize all pixels to 'off'
}

uint32_t gpsTimer = millis();
uint32_t startupTimer = millis();

void loop ()
{
 
  // read data from the GPS in the 'main loop'
  char c = GPS.read();
  // if you want to debug, this is a good time to do it!
  if (GPSECHO)
    //if (c) Serial.print(c);
  // if a sentence is received, we can check the checksum, parse it...
  if (GPS.newNMEAreceived()) {
    // a tricky thing here is if we print the NMEA sentence, or data
    // we end up not listening and catching other sentences!
    // so be very wary if using OUTPUT_ALLDATA and trytng to print out data
    //Serial.println(GPS.lastNMEA()); // this also sets the newNMEAreceived() flag to false
    if (!GPS.parse(GPS.lastNMEA())) // this also sets the newNMEAreceived() flag to false
      return; // we can fail to parse a sentence in which case we should just wait for another
  }
  
  // if millis() or timer wraps around, we'll just reset it
  if (gpsTimer &gt; millis()) gpsTimer = millis();

    //if (GPS.fix) {
      // set the Time to the latest GPS reading
      setTime(GPS.hour, GPS.minute, GPS.seconds, GPS.day, GPS.month, GPS.year);
      delay(50);
      adjustTime(offset * SECS_PER_HOUR);
    Serial.print("\nTime: ");
    Serial.print(GPS.hour, DEC); Serial.print(':');
    Serial.print(GPS.minute, DEC); Serial.print(':');
    Serial.print(GPS.seconds, DEC); Serial.print('.');
    Serial.println(GPS.milliseconds);
      delay(100);
    //}
      
  // approximately every 60 seconds or so, update time
  if ((millis() - gpsTimer &gt; 60000)) {
    gpsTimer = millis(); // reset the timer
    if (GPS.fix) {
      // set the Time to the latest GPS reading
      setTime(GPS.hour, GPS.minute, GPS.seconds, GPS.day, GPS.month, GPS.year);
      delay(50);
      adjustTime(offset * SECS_PER_HOUR);
      
      delay(100);
    }
  }
  
  positions.update ();
  segments.draw ();
  
}




// Fill the dots one after the other with a color
void colorWipe(uint32_t c, uint32_t wait) {
  for(uint16_t i=0; i&lt;strip.numPixels(); i++) {
      strip.setPixelColor(i, c);
      strip.show();
      delay(wait);
  }
}

// Slightly different, this makes the rainbow equally distributed throughout
void rainbowCycle(uint8_t wait) {
  uint16_t i, j;

  for(j=0; j&lt;256*5; j++) { // 5 cycles of all colors on wheel
    for(i=0; i&lt; strip.numPixels(); i++) {
      strip.setPixelColor(i, Wheel(((i * 256 / strip.numPixels()) + j) &amp; 255));
    }
    strip.show();
    delay(wait);
  }
}

// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
uint32_t Wheel(byte WheelPos) {
  if(WheelPos &lt; 85) {
   return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
  } else if(WheelPos &lt; 170) {
   WheelPos -= 85;
   return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
  } else {
   WheelPos -= 170;
   return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);
  }
}
```

# NeoPixel Ring Clock

## Use it!

To set the time, make sure the GPS has a clear view of the sky, or attach a GPS antenna and stick it out the window.

![flora_neopixel-ring-clock-adafruit-25.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/174/medium640/flora_neopixel-ring-clock-adafruit-25.jpg?1392143714)

![flora_neopixel-ring-clock-adafruit-26.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/175/medium640/flora_neopixel-ring-clock-adafruit-26.jpg?1392143913)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/176/medium800/flora_neopixel-ring-clock-adafruit-desk-version.jpg?1392145043)

Use a piece of wire to make a stand for your desk, hang your clock on the wall, or attach a big 'ol gold chain and jam out like 21st century Flavor Flav.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/177/medium800/flora_neopixel-ring-clock-adafruit-necklace.jpg?1392145357)


## Featured Products

### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### NeoPixel Ring - 24 x 5050 RGB LED with Integrated Drivers

[NeoPixel Ring - 24 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/1586)
Round and round and round they go! 24 ultra bright smart LED NeoPixels are arranged in a circle with 2.6" (66mm) 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...

In Stock
[Buy Now](https://www.adafruit.com/product/1586)
[Related Guides to the Product](https://learn.adafruit.com/products/1586/guides)
### NeoPixel Ring - 12 x 5050 RGB LED with Integrated Drivers

[NeoPixel Ring - 12 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/1643)
Round and round and round they go! 12 ultra bright smart LED NeoPixels are arranged in a circle with 1.5" (37mm) 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...

In Stock
[Buy Now](https://www.adafruit.com/product/1643)
[Related Guides to the Product](https://learn.adafruit.com/products/1643/guides)
### Flora Wearable Ultimate GPS Module

[Flora Wearable Ultimate GPS Module](https://www.adafruit.com/product/1059)
This module is the best way to add a GPS to your wearable project. It's part of the Adafruit Flora series of wearable electronics, designed specifically for use with the Flora motherboard. Installed on the PCB is the latest of our Ultimate GPS modules, a small, super-thin, low-power GPS...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1059)
[Related Guides to the Product](https://learn.adafruit.com/products/1059/guides)
### USB cable - USB A to Micro-B

[USB cable - USB A to Micro-B](https://www.adafruit.com/product/592)
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or microcontroller

Approximately 3 feet / 1 meter long

In Stock
[Buy Now](https://www.adafruit.com/product/592)
[Related Guides to the Product](https://learn.adafruit.com/products/592/guides)
### Sewable CR2032 Battery Holder

[Sewable CR2032 Battery Holder](https://www.adafruit.com/product/653)
This battery holder is by far the easiest way to add a battery to a small wearable project. By coincidence, there are two small 1mm diameter holes in the metal connection tabs, just large enough for a #5 or smaller needle to pass through. One tab connects to common ground (negative) and the...

In Stock
[Buy Now](https://www.adafruit.com/product/653)
[Related Guides to the Product](https://learn.adafruit.com/products/653/guides)
### Lithium Ion Polymer Battery - 3.7v 150mAh

[Lithium Ion Polymer Battery - 3.7v 150mAh](https://www.adafruit.com/product/1317)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 150mAh for a total of about 0.6 Wh. If you need a larger battery, <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/1317)
[Related Guides to the Product](https://learn.adafruit.com/products/1317/guides)
### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/1304)
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

In Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)

## Related Guides

- [LED Harness Bra](https://learn.adafruit.com/neopixel-led-harness-bra.md)
- [SNES EZ Key Bluefruit Game Pad](https://learn.adafruit.com/snes-ez-key-bluefruit-game-pad.md)
- [DIY Thermal Light Painting - Heat Map Photography](https://learn.adafruit.com/diy-flir-light-painting-heat-map-photography.md)
- [Flora GPS Jacket](https://learn.adafruit.com/flora-gps-jacket.md)
- [Mailbox Notification Service](https://learn.adafruit.com/mailbox-notification-service.md)
- [GPS Logging Dog Harness](https://learn.adafruit.com/gps-logging-dog-harness.md)
- [Zipper Switch](https://learn.adafruit.com/zipper-switch.md)
- [How to Find Hidden COM Ports](https://learn.adafruit.com/how-to-find-hidden-com-ports.md)
- [NeoPixel Bike Light](https://learn.adafruit.com/neopixel-headlight.md)
- [Ray Gun Blaster](https://learn.adafruit.com/ray-gun-blaster.md)
- [Sound Reactive NeoPixel Peace Pendant](https://learn.adafruit.com/sound-reactive-neopixel-peace-pendant.md)
- [Jewel Hair Stick](https://learn.adafruit.com/jewel-hair-stick.md)
- [Icicle Crown with Pebble Pixels & WLED](https://learn.adafruit.com/icicle-crown-with-pebble-pixels-wled.md)
- [The PICsellator](https://learn.adafruit.com/the-picsellator.md)
- [Color-sensor Driven NeoPixel Dress](https://learn.adafruit.com/color-sensor-driven-neopixel-dress.md)
