Page 156 - Programming the Photon Getting Started With the Internet of Things
P. 156

Figure 7.9 Grove modules connected to the Photon shield.




        Adafruit Particle NeoPixel Ring Kit


        Add some dazzle to your Photon with this custom-made NeoPixel ring kit! Twenty-four
        ultra-bright smart LED NeoPixels are arranged in a circle with 2.6-inch outer diameter, as
        shown in Figure 7.10.






























        Figure 7.10 Adafruit NeoPixel Photon ring.


             Snap in your Photon and upload the NeoPixel library code to light up the LEDs—
        make an Internet of Blinky! Each LED is addressable, as the driver chip is inside the LED.

        Each one has ~18-mA constant current drive so the color will be consistent even if the
        voltage  varies,  and  no  external  choke  resistors  are  required,  making  the  design  slim.
        Power the whole thing with a 3.5- to 5.5-V DC battery pack and you’re ready to rock.

             To make your project portable, there is a Japan Solderless Terminal (JST) connector
        for  attaching  an  external  battery.  Power  with  3.5-  to  5.5-V  DC—a  rechargeable  LiPo

        battery works great, or a 3 × AAA or 3 × AA battery pack. The JST included enables you
   151   152   153   154   155   156   157   158   159   160   161