GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Terkwood/hello-pi: Raspberry Pi and GPIO basics in rust and python, featuring the MIDI light show! 🚥

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
audio_light_show
audio_light_show
 
 
breadamp-ui
breadamp-ui
 
 
doc
doc
 
 
helpers
helpers
 
 
img
img
 
 
midi_light_show
midi_light_show
 
 
pi_control
pi_control
 
 
pi_service
pi_service
 
 
py
py
 
 
rs
rs
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Hello Raspberry Pi

Examples which demonstrate the use of Raspberry Pi and GPIO.

Of interest are those written in rust. Among these, the MIDI Light Show example is the most mature.

Breadboard Diagrams

We used the following configuration for the button example:

button configuration

There are Fritzing diagrams available for these examples in the doc folder.

You can download Fritzing here.

Learnings

Push buttons

Basic push buttons have legs which are bent by default. This is helpful for soldering the buttons onto actual build, but makes it difficult to get the button pushed into the breadboard.

We used a pair of pliers to straighten out the pins on the button, and made sure that we pushed the button all the way down into the bread board. This allowed us to establish connectivity with the button after an initial period of failure.

Before straightening out button legs

Camera install

  • https://www.rs-online.com/designspark/raspberry-pi-camera-setup
  • https://thepihut.com/blogs/raspberry-pi-tutorials/16021420-how-to-install-use-the-raspberry-pi-camera

Linux GPIO docs

Linux GPIO subsystem documentation can be found at

  • top level
  • consumer interface for C programs
  • legacy interface using /sys/class/gpio

Helper scripts

We included some helper scripts, available in the helpers directory, which you can use to unexport pins which are still held in user space after killing your app, or to test setting the output value for a set of pins.

These scripts use the legacy GPIO interface found in /sys/class/gpio, so if you're making an effort to understand the C API for GPIO, please make sure that you refer to the updated documentation.

Thank You - Blink Freely

blink freely

About

Raspberry Pi and GPIO basics in rust and python, featuring the MIDI light show! 🚥

www.youtube.com/watch?v=QYRhCIzzoi0

Topics

breadboardgpioledsmidimidi-lightpythonraspberry-pirust

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity

Stars

30 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.