I purchased the FX Soundboard. It works great with the pushbuttons and filenames to trigger.
My question is I would like to use a UNO or equivalent to send serial data to trigger a sound(s).
How do I do that? I did not see an example and did not see any example code or information in the forum.
Can you help me with this please?
Thanks (in advance),
FX Soundboard
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: FX Soundboard
Connect the Arduino's GND to the FX board's GND, then connect one of the Arduino's digital output pins to the FX board input you want to control.
Sending the Arduino pin LOW will have the same effect as closing a switch between the FX input and GND.
Sending the Arduino pin LOW will have the same effect as closing a switch between the FX input and GND.
- sxrg
- Posts: 249
- Joined: Mon Dec 10, 2012 10:02 pm
Re: FX Soundboard
Thank you. I should have thought of that.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: FX Soundboard
No worries.. things like that aren't always obvious.
-
- Posts: 5
- Joined: Fri Oct 30, 2009 9:33 pm
Re: FX Soundboard
Just to confirm. digitalwrite your pins to HIGH (5v) and when you want to trigger a sound, write LOW. no issues with 5V on those pins?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: FX Soundboard
That will work, yeah.tatawaki wrote:Just to confirm. digitalwrite your pins to HIGH (5v) and when you want to trigger a sound, write LOW.
Not if the FX board is also getting 5v power.tatawaki wrote:no issues with 5V on those pins?
The input pins are connected to pull-up resistors, but don't have any level-shifting hardware to prevent them from exceeding the VS1000's supply voltage.
The VS1000 datasheet says the inputs shouldn't go more than 0.3v higher than the chip's supply voltage, so connecting a 5v input to an FX board running from a 3.3v supply would probably be a bad idea.
It's easy to avoid overvoltage problems though: toggle the microcontroller's pin between INPUT and OUTPUT-LOW.
Setting the pin to INPUT will put it in high-impedance mode, basically disconnecting it from the FX board's input. The pull-up resistors built into the FX board will hold the inputs HIGH without exceeding that board's supply voltage. Setting the control pin to OUTPUT-LOW will create a low-resistance path to GND, pulling the input LOW.
- sxrg
- Posts: 249
- Joined: Mon Dec 10, 2012 10:02 pm
Re: FX Soundboard
ok. I think I got it.
IF the FX board is 5V, its not an issue.
But if the FX board is 3V...its an issue....Is that correct?
IF the FX board is 5V, its not an issue.
But if the FX board is 3V...its an issue....Is that correct?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: FX Soundboard
Pretty much.
If the FX board and microcontroller use the same voltage, it isn't an issue.
If the microcontroller uses a higher voltage than the FX board, it's an issue.
If the FX board and microcontroller use the same voltage, it isn't an issue.
If the microcontroller uses a higher voltage than the FX board, it's an issue.
Please be positive and constructive with your questions and comments.