I realize this topic has been posted before, but none of the previous solutions has worked for me.
Brand new Adafruit Audio FX Sound Board with demo tracks loaded (T00.WAV through T08.WAV), trying to establish a serial connection with an Arduino Mega 2560. Wiring is shown in the photo (apologies for not having multiple colors of wire). Digital pins 14 and 15 on the Arduino are serving as TX and RX channels (I've changed the pin settings in the code accordingly), and I've checked all the physical connections (all are solid). When I load the example script, menucommands.ino, and open a serial window, I get "Adafruit Sound Board! Not found".
I've tried swapping in another Arduino, as well as another sound board, and I've tried multiple digital pins for TX and RX channels. Still cannot get a connection. The board works fine in triggering mode.
Soundboard not found
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Soundboard not found
- Attachments
-
- thumbnail_IMG-3098.jpg (437.29 KiB) Viewed 150 times
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
Does the board work using the trigger pins?
Dave
Dave
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
UG is grounded?
Is the code using TX3 and RX3?
Dave
Is the code using TX3 and RX3?
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
UG is grounded, yes. The code assigning the signal channels is:
#define SFX_TX 14
#define SFX_RX 15
#define SFX_TX 14
#define SFX_RX 15
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
Hmm. Have you tried using D5 & D6 as in the example? Or try hardware serial (Tx0 & Rx0).
Dave
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
Yes, I tried both those configurations
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
OK. hmm. What is D4 of the Mega connected to?
Dave
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
It is connected to the Rst pin.
And to clarify, the TX pin on the soundboard goes to the RX pin on the Arduino and vice versa -- this is correct, right?
Is it confirmed that the soundboard works with this model of arduino (Mega 2560)?
And to clarify, the TX pin on the soundboard goes to the RX pin on the Arduino and vice versa -- this is correct, right?
Is it confirmed that the soundboard works with this model of arduino (Mega 2560)?
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
Yes, Tx/Rx cross. It's a simple serial so the MCU board doesn't matter as long as the voltages and baud rate match up.
It's hard to tell in photos sometimes depending the angle, but that doesn't look like it's in the RST pin row.
Dave
It's hard to tell in photos sometimes depending the angle, but that doesn't look like it's in the RST pin row.
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
That could be true in the photo but I've just confirmed that it is currently connected to the Rst pin and that all the connections are secure, using a multimeter:
UG -> GND
Gnd-> GND
Vin -> 5V
Rst -> 4
TX -> 0
RX -> 1
Not sure if this could be related but the script isn't uploading to the board when the TX pin on the soundboard is connected, it just times out.
I've also tried another computer, just in case. Same behavior.
UG -> GND
Gnd-> GND
Vin -> 5V
Rst -> 4
TX -> 0
RX -> 1
Not sure if this could be related but the script isn't uploading to the board when the TX pin on the soundboard is connected, it just times out.
I've also tried another computer, just in case. Same behavior.
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
Hmm.. I wonder if Tx/Rx is linked to USB like it is on an Arduino UNO.
Dave
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
So is this sound board incompatible with the Arduino Mega 2560?
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Soundboard not found
Have you tried using the other UARTs on the mega? It has 3 others that aren't associated with USB (pins 14-19).
Dave
Dave
- jimjones212
- Posts: 9
- Joined: Wed Dec 07, 2022 12:58 pm
Re: Soundboard not found
Yes, I've been using this board for a long time with no trouble: https://www.vizictechnologies.com/produ ... -processor
using channels 0 and 1 as TX and RX. Those aren't working with this new soundboard.
using channels 0 and 1 as TX and RX. Those aren't working with this new soundboard.
Please be positive and constructive with your questions and comments.