Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/some-natalie/python-pi
Python programs for the Raspberry Pi using RPi.GPIO and a basic breadboard.
https://github.com/some-natalie/python-pi
Last synced: 11 days ago
JSON representation
Python programs for the Raspberry Pi using RPi.GPIO and a basic breadboard.
- Host: GitHub
- URL: https://github.com/some-natalie/python-pi
- Owner: some-natalie
- Created: 2015-02-24T03:34:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T18:02:23.000Z (about 9 years ago)
- Last Synced: 2023-02-28T10:16:50.509Z (almost 2 years ago)
- Language: Python
- Size: 3.27 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-pi
# Files
## 1 - Blinking LED
File: blink-led.py
Demo: [Video](http://youtu.be/VDpIjwQILoo)
Diagram: [Source file](https://github.com/natalie-/python-pi/blob/master/breadboard/1-led.fzz)
![Diagram](https://github.com/natalie-/python-pi/blob/master/breadboard/1-led.png)
Description: Blinks an LED a set number of times for a given duration.
## 2 - Button LED
File: button-led.py
Demo: [Video](http://youtu.be/SKfqJffWsVQ)
Diagram: [Source file](https://github.com/natalie-/python-pi/blob/master/breadboard/1-button-led.fzz)
![Diagram](https://github.com/natalie-/python-pi/blob/master/breadboard/1-button-led.png)
Description: LED controlled by a button. Button held, LED on. Button not pressed, LED off.
## 3 - Switch LED
File: switch-led.py
Demo: [Video](http://youtu.be/brnC-m0cb90)
Diagram: This one uses the same diagram as the button LED.
Description: LED controlled by a button acting as a switch. Press the button, the LED turns off (if it is on) or on (if it is off).
## 4 - 8 Blinking LEDs
File: 8-led.py
Demo: [Video](http://youtu.be/EhjjGvgzfOs)
Diagram: [Source file](https://github.com/natalie-/python-pi/blob/master/breadboard/8-led.fzz)
![Diagram](https://github.com/natalie-/python-pi/blob/master/breadboard/8-led.png)
Description: 8 LEDs blinking left to right.
## 5 - 8 LEDs with a GUI
Files: 8-led-gui.py, led.ui
Demo: [Video](https://www.youtube.com/watch?v=dQXv1FyIoSA)
Diagram: This one uses the same diagram as the regular 8 LEDs
Description: 8 LEDs now controlled by checkboxes in a GUI. GUI built with [pygubu](https://github.com/alejandroautalan/pygubu).
Screenshot:
![GUI](https://github.com/natalie-/python-pi/blob/master/screenshots/GUI.jpg "GUI screenshot") ![Picture of breadboard](https://github.com/natalie-/python-pi/blob/master/screenshots/breadboard.jpg "Picture of breadboard")
## 6 - One RGB LED
File: rgb-led.py
Demo: [Video](https://www.youtube.com/watch?v=CdU0b_Pm4rE)
Diagram: [Source file](https://github.com/natalie-/python-pi/blob/master/breadboard/rgb-led.fzz)
![Diagram](https://github.com/natalie-/python-pi/blob/master/breadboard/rgb-led.png)
Description: A single RGB LED that blinks red/green/blue/white 10 times, then exits.
## 7 - Random colors on one RGB LED
File: random-color.py
Demo: [Video](https://www.youtube.com/watch?v=09hB7dvITEk)
Diagram: This one uses the same diagram as the one RGB LED
Description: Random colors fading one to the next on one RGB LED.
## 8 - Random colors on one RGB LED (now with functions)
File: random-color-2.py
Demo: Same as above.
Diagram: This one uses the same diagram as the one RGB LED
Description: Random colors fading one to the next on one RGB LED, controlled by functions.
Diagrams made using [Fritzing](http://fritzing.org/download/).