Store

Little Bird

$21.69 |
Only 1 left
No reviews yet

The PiGlow is a small add on board for the Raspberry Pi that provides 18 individually controllable LEDs. You can use it for all sorts of things! And of cour...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout
The PiGlow is a small add on board for the Raspberry Pi that provides 18 individually controllable LEDs. You can use it for all sorts of things! And of course, it fits inside a Pibow!

Works just fine with all models of Raspberry Pi including the B+!

There are tons of things you can do with it:

  • Mood lighting / ambience
  • Showing current system load
  • Notify you of events like mentions in tweets or incoming e-mail
  • Feedback the status of scripts/daemons running on your Pi
  • Works great when VESA mounted to provide a cast against a wall
  • ...and pretty much anything else you can think of!

PiGlow sample code and other instructions

If you just want some Python code to start tinkering with please check out our GitHub repository which also includes the full datasheet for the IC used on PiGlow.

Gordon Henderson has added a PiGlow driver for wiringPi which you can find here: http://wiringpi.com/dev-lib/piglow/

Simon Walters has added PiGlow support for Scratch which is here: http://cymplecy.wordpress.com/

Jason Barnett has put together a great Python class and a load of samples: https://github.com/Boeeerb/PiGlow

Ben Lebherz has forked Jasons project and tidied up the code a bit while adding gamma correction: https://github.com/benleb/PyGlow

Manuel Ernst has created a Node.js library: https://github.com/zaphod1984/node-piglow

Falldeaf has put together a nice XBMC hack to use the PiGlow as a status indicator: http://falldeaf.com/2013/11/the-xbmc-piglow-information-display-addon/

Jonathan Stowe has created a module for the Perl divers among you: https://metacpan.org/release/JSTOWE/Device-PiGlow-1.0

Toon Schoenmakers has gone as far as making a library for Golang: https://github.com/schoentoon/piglow

 


More detail

This board uses the SN3218 8-bit 18-channel PWM chip to drive 18 surface mount LEDs. Communication is done via I2C over the GPIO header with a bus address of 0x54 (Python example code provided). Each LED can be set to a PWM value of between 0 and 255.

  • 18 LEDs (three each of red, orange, yellow, green, blue, and white)
  • Great to provide feedback if you're running your Pi headless
  • PWM (dimming) control for each channel
  • Fully assembled (no soldering required)
  • Python code to access and control lighting provided

Jargon buster

Plain-language definitions for the technical terms used above.

GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
LED
A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
PWM
Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.