Saturday, February 13, 2016

Raspberry Pi 2 Seven Segment Display project 2

Here I have used the same code from the previous LED countdown project only changing the output pins used and have wired up a single 7 segment common cathode led display. I used 330 ohm resistors to each led in the and wired both middle pins on the display to ground. Below are pictures and a video. Enjoy.









Learning Pi programing in python, Led Project 1

Today I finally finish a slightly simple led project with my Raspberry Pi 2. First, let me start by explaining the why. In our mid term project class for computer science we were tasked with creating an interesting Led circuit using at least 6 LEDs, the GPIO pins, and a program we had written in python. After muddling around a few ideas, I chose to do a countdown using 11 LEDs and 1 rgb LED (red, green blue). The LEDs are a mix of red and yellow because at the moment that is all I have.
Below a few pictures, a screen shot of the code, and a video. Enjoy.










 In the video, 7 and 3 are backwards. I have changed them in the shown code. Really just an FYI.