Music Maker- wiring pushbuttons

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Terrizor
 
Posts: 12
Joined: Thu Oct 28, 2010 6:36 pm

Music Maker- wiring pushbuttons

Post by Terrizor »

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.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Music Maker- wiring pushbuttons

Post by Franklin97355 »

What is it you want to accomplish? Most any momentary buttons can be used.

Terrizor
 
Posts: 12
Joined: Thu Oct 28, 2010 6:36 pm

Re: Music Maker- wiring pushbuttons

Post by Terrizor »

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.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Music Maker- wiring pushbuttons

Post by Franklin97355 »

The button is only used to start the process and does not need to be held down.

Terrizor
 
Posts: 12
Joined: Thu Oct 28, 2010 6:36 pm

Re: Music Maker- wiring pushbuttons

Post by Terrizor »

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.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Music Maker- wiring pushbuttons

Post by Franklin97355 »

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);

Terrizor
 
Posts: 12
Joined: Thu Oct 28, 2010 6:36 pm

Re: Music Maker- wiring pushbuttons

Post by Terrizor »

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.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Music Maker- wiring pushbuttons

Post by Franklin97355 »

Solder them between two adjacent pins here (horizontally)
Attachments
2014-09-22_17h51_05.png
2014-09-22_17h51_05.png (47.12 KiB) Viewed 227 times

Terrizor
 
Posts: 12
Joined: Thu Oct 28, 2010 6:36 pm

Re: Music Maker- wiring pushbuttons

Post by Terrizor »

Ok, I will try that, thanks.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”