Page 1 of 1

Button + MP3

Posted: Wed Dec 30, 2015 8:45 pm
by laevy
Hello,

At work, we have two separate stations about 20 feet apart. I want there to be a button at each station that once pushed play a different MP3 at a speaker in the next room. I saw this project: https://learn.adafruit.com/playing-soun ... i/overview , but would I be able to make something similar with having such a distance between the buttons and the raspberry Pi unit?

Thanks,
Mike

Re: Button + MP3

Posted: Wed Jan 06, 2016 11:24 pm
by laevy
Bump

Re: Button + MP3

Posted: Thu Jan 07, 2016 5:19 am
by karrika
The short answer is yes.

This project on your link uses a 10k pullup. So there will be a current 3.3V/10k = 0.3mA. The internal weak pull-up (50k) is also good enough for 10 feet at least. I used push buttons hidden on a stage with 10 feet cables. The connections were directly to the GPIO pins with no extra components.

Today I am using more reliable techniques and longer distances on stage with optocouplers and ESD protection http://discohat.com. But even a simple setup is good enough for home use.

The resistance of the 20 feet cable is negligible. There is some discussion about long GPIO cables here:
viewtopic.php?p=865965#p865965