Giter Club home page Giter Club logo

hello-pi's Introduction

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

Linux GPIO docs

Linux GPIO subsystem documentation can be found at

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

hello-pi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

icodein

hello-pi's Issues

๐Ÿž BreadAmp: Create retro-styled app to control light show

Goal ๐Ÿฅ…

Create a UI for operating the MIDI & audio light shows. Create HTTP wrapper exposing play, pause, next, prev.

Play both MIDI and MP3/wav.

Needs to be extensible enough that adding shuffle, Playlist in the near future is simple

Local network only, no auth

ui

https://codesandbox.io/embed/silly-bas-dln9t?file=/src/index.js&codemirror=1

98 https://codesandbox.io/s/objective-chandrasekhar-t5t6h?file=/src/index.js

controlling audio

https://docs.rs/rodio/0.11.0/rodio/struct.Sink.html#method.pause

The Bread Files ๐Ÿž

Description

We made contact with a musical friend who has expressed interest in playing some heavily arpeggiated creations using the light apparatus

Support MP3 playback: Use aubionotes to extract note & time info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.