Here is the hookup :
Trinket 0 (RX) to Soundboard TX
Trinket 1 (TX) to Soundboard RX
Trinket 3 to Soundboard RST
Soundboard UG to Soundboard GND
The soundboard is properly powered. I also tested it with manual pin triggers and it works properly.
I'm using this code to try and play the T00.ogg file :
Code: Select all
//Soundboard library (using hardware serial)
#include <Adafruit_Soundboard.h>
#define SFX_RST 3 //Connect to RST pin on Soundboard. Also connect ground to UG pin to enable UART over serial.
/* Trinket Pro Pins 0 (RX) and 1 (TX) are connected to the TX and RX on the soundboard */
Adafruit_Soundboard sfx = Adafruit_Soundboard(&Serial, NULL, SFX_RST); // Soundboard
uint8_t BootupSound = 0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
sfx.playTrack(BootupSound);
delay(3000);
}
Nothing happens. Anything I'm missing here? Thank you!