Staying awake while playing a WAV file

Status
Not open for further replies.
Hi, I’ve tried adding that line, there is still no audio comes out.

you should verify each of your WAV files is in proper format (see post #17). Try running the IDE examples > audio > WavFilePlayer with Teensy WAV files (SDTEST1.WAV ...), then use your WAV files in loop()

Each teensy has a unique MAC address, see
https://forum.pjrc.com/threads/5759...ess-Teensy-4-0?p=221833&viewfull=1#post221833

you could use the mac address to distinguish each of your T3.2 devices instead of B0 and B1. Your sketch should only use Wire.begin(myID); -- delete the other Wire.begin() statements.

Confirm: you have 4 T3.2, each with their own audio shield and SD card, and each SDA/SCL pin connected to the nodemcu SCL and SDA pins, and all share a common GND. The SDA and SCL lines should have pullup resistors (2.2K?) to 3.3v.
 
I confirm that I’m able to run the IDE examples using my WAV files

I deleted the rest of wire.begin() statements

And yes confirm all 4 T3.2 have own audio shield and sd card, and is connected to SDA/SCL to nodemcu and shared all common GND.

But I never use any resistors. Do I need a resistor?
 
Status
Not open for further replies.
Back
Top