Adafruit Neopixel LED strip on Spark Core Arduino

Getting start on the Adafruit Neopixel on the Spark Core. This shows a WS2812B 60 LED strip from Adafruit and uses the Neopixel port on Spark Core to run it.

It is quite easy to code thanks to the Adafruit library and a good way to get kids introduced to the for loop.

#include "neopixel/neopixel.h"
Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, D2, WS2812B);

void setup() {
    strip.begin();
    strip.show();}

void loop() {
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 255, 0, 0);
    strip.show();
    delay(5);
    }
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 255, 255, 0);
    strip.show();
    delay(5);
    }
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 0, 255, 255);
    strip.show();
    delay(5);
    }
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 0, 255, 0);
    strip.show();
    delay(5);
    }
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 0, 0, 255);
    strip.show();
    delay(5);
    }
    for(int i=0; i<60; i++){
    strip.setPixelColor(i, 255, 0, 255);
    strip.show();
    delay(5);
    }
}
Advertisements

2014 Maker Faire – year of the kid maker

Just got back from attending the Maker Faire 2014 in SF Bay Area. This was our 3rd Maker Faire and as in the past years we wished we had more time there.

The 2012 Maker Faire and an article on Popular Science about 12 year old entrepreneur Quin Etnyre sparked my son’s interest in making. So certainly the big highlight of the day was meeting Quin himself in person who was generous with his time and goodies. Be sure to check out his company website qtechknow.com for his kid friendly Arduino products.

Quin

The second highlight was the encounter with Spark Core team at their booth. They were so super awesome in recognizing my son from his last video and showered him with praises, encouragement and goodies (even a new Spark Core!). Plus he got to meet their CEO Zach Supalla who was really nice to offer encouragement and support. Thanks guys – we promise to make some cool projects with the 2 Spark Cores soon.

A few other kits that he was really interested in were:

Except the Phoenard all the others look like good kits for young kids to get started, though he said the Phoneard was the coolest thing he saw at the show. The best part was seeing exhibits from many young makers including these 12 year olds:

…sure feels like year of the kid maker!