Difference between revisions of "Gpio button"

 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
One special feature of the Raspberry Pi is its GPIO, or General Purpose Input/Output connector.  This is the strip of pins that runs along one side of the Pi, which acts as a connector to a number of physical inputs or outputs.
+
One special feature of the Raspberry Pi is its <googa>https://www.raspberrypi.org/documentation/usage/gpio/|GPIO</googa>, or General Purpose Input/Output connector.  This is the strip of pins that runs along one side of the Pi, which acts as a connector to a number of physical inputs or outputs.
  
It is this ability to wire up custom physical inputs, i.e. switches or buttons, that is part of the reason Box Of Stops was written for the Raspberry Pi.   
+
This ability to wire up custom physical inputs, switches or buttons, is part of the reason Box Of Stops was written for the Raspberry Pi.  Perfect for a bit of DIY organ building.
  
 
== Setting up a Gpio input ==
 
== Setting up a Gpio input ==
  
There is a section on [http://www.boxofstops.com/hardware#customize-pi Customizing the Raspberry Pi] on the main website.  Adding buttons to the Pi is an important part of many hobby projects, so please browse the wealth of information available on this topic.
+
There is a section on [http://www.boxofstops.com/hardware#customize-pi Customizing the Raspberry Pi] on the main website.  Adding buttons to the Pi is an important part of many hobby projects, so please browse the wealth of information available on this topic, maybe starting [https://www.raspberrypi.org/documentation/usage/gpio/ here].
  
 
Once you have wired up a Gpio button, this can be used to control Box Of Stops in exactly the same way as any other [[Trigger]].
 
Once you have wired up a Gpio button, this can be used to control Box Of Stops in exactly the same way as any other [[Trigger]].
  
In [[Configuration mode]], if you click the plus icon to add a trigger to a [[Stop]], [[Coupler]] or [[Combination]] in the usual way, then the screen will wait for you to press the new input button.  Assuming everything has been wired up correctly, the screen will then confirm which button you pressed.
+
In [[Configuration mode]], if you click the [[File:Plus.png|middle]] icon to add a trigger to a [[Stop]], [[Coupler]] or [[Combination]] in the usual way, then the screen will wait for you to press the new input button.  Assuming everything has been wired up correctly, the screen will then confirm which button you pressed.
 +
 
 +
== Plugging in a breakout board ==
 +
 
 +
The other possibility is dedicated Gpio board like the [[Status Board]] from The Pi Hut.  This comes pre-wired with sockets for buttons, and LEDs to indicate which controls are active.
  
 
== Sharing Gpio inputs with another application on the Pi ==
 
== Sharing Gpio inputs with another application on the Pi ==

Latest revision as of 19:21, 27 September 2017

Setting up a Gpio input

Plugging in a breakout board

Sharing Gpio inputs with another application on the Pi

Last modified 8 years ago
Cancel

Help improve this page!

Cancel

Keep track of this page and all changes to it.