2x 4圆cm double-sided prototype PCB (each cut in half, twice, so I had 8 to work with).In our case, we can wire up a little board with a bright RGB LED so the Pi can display its status or other information using any color in the rainbow, and can even fade the LED in and out so the Pi looks like it’s ‘breathing’ (using Pulse-Width Modulation, or PWM for short)!įor my own Dramble, I’ve built six such RGB LED boards (one is pictured above), and I used the following parts to make each board: One of the simplest circuits is an LED, which requires a resistor, an LED, and a connection between the LED and ground/3.3V on the Pi. Since the Raspberry Pi has a 40-pin GPIO header with many software-controlled pins, it’s relatively easy to interface with external circuits to indicate status visually. Since the main purpose of the Dramble is to demonstrate Ansible deployments, it’s nice to be able to visualize the process. But either way works great, and I still have all the RGB LED scripts in the source code if you're interested in building and using your own RGB LED boards! Note: For the 2019 Edition of the Pi Dramble, I am using the Blinkstick Nano over USB, since I lost the use of the Pi GPIO headers to the PoE HAT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |