Music Maker- wiring pushbuttons
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12
- Joined: Thu Oct 28, 2010 6:36 pm
Music Maker- wiring pushbuttons
Does anyone have a picture of how to wire pushbuttons to the music maker shield? Are there restrictions on the type of pushbuttons that can be used? Thanks, not an engineer.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Music Maker- wiring pushbuttons
What is it you want to accomplish? Most any momentary buttons can be used.
-
- Posts: 12
- Joined: Thu Oct 28, 2010 6:36 pm
Re: Music Maker- wiring pushbuttons
Thanks for your reply. I just want an mp3 file to play with the press of a button. The Mp3 is a five minute long story, so maybe not a momentary switch that they have to hold down.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Music Maker- wiring pushbuttons
The button is only used to start the process and does not need to be held down.
-
- Posts: 12
- Joined: Thu Oct 28, 2010 6:36 pm
Re: Music Maker- wiring pushbuttons
Oh, good. I have several momentary pushbutton switches here in the studio. They are this kind: http://www.amazon.com/gp/product/B00D7C ... UTF8&psc=1
So, any advice or examples available for wiring up said buttons for the non-engineer? I couldn't find any. Sorry, if I seem somewhat incoherent, I'm terrifically sick working on viral pneumonia and a deadline for this art project.
So, any advice or examples available for wiring up said buttons for the non-engineer? I couldn't find any. Sorry, if I seem somewhat incoherent, I'm terrifically sick working on viral pneumonia and a deadline for this art project.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Music Maker- wiring pushbuttons
There is some example code when you download the libraries and a lesson here with reference to the GPIO pins. To read a pin with that program you would do a
Code: Select all
musicPlayer.GPIO_digitalRead(i);
-
- Posts: 12
- Joined: Thu Oct 28, 2010 6:36 pm
Re: Music Maker- wiring pushbuttons
I saw that but it doesn't answer my question of how to wire a switch to the pins. I have never seen pins like the Gpio pins before. This page is written for engineers and seems to assume I understand how this board works. I do not and I find it is very confusing? I have used Arduino for several projects, and I can work with it , but I need more information. A picture of correct wiring would be most helpful. Thanks for your advice.
Last edited by Terrizor on Mon Sep 22, 2014 8:55 pm, edited 1 time in total.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Music Maker- wiring pushbuttons
Solder them between two adjacent pins here (horizontally)
- Attachments
-
- 2014-09-22_17h51_05.png (47.12 KiB) Viewed 227 times
-
- Posts: 12
- Joined: Thu Oct 28, 2010 6:36 pm
Re: Music Maker- wiring pushbuttons
Ok, I will try that, thanks.
Please be positive and constructive with your questions and comments.