Close

Fiber optic testing

A project log for The stars in her hair

gemma, neopixels, fiber optics, 9yo daughter, fun

mike-kellyMike Kelly 09/24/2016 at 17:440 Comments

We did some simple testing of the fiber optics and the neopixel strip test code today.


We made 3 bundles of about 40 fiber optic strands by putting each into coffee stirrers that had been cut on the bias. We then used some hot glue to seal the bundles.

We also flashed the Gemma with the strandtest code included in the Neopixel library. Currently, the plan is to use 3 of the pixels to drive the bundles however it was tough to wire up all 3 pixels using the alligator clips. We hooked up 2 and edited the code appropriately.

Adafruit_NeoPixel strip = Adafruit_NeoPixel(2, PIN, NEO_GRB + NEO_KHZ800);

//snip

void loop() {
  rainbow(60);
  rainbowCycle(60);
}
Next up:

Discussions