Your diagram shows 3 paths for gnd and 2 are isolated. So these paths must be shared with short more bulky wires. That's what "Gnd" is defined to be, but only if connected properly. The fundamental issue is Gnd = 0 V everywhere. The power and GND wires to these boards from the central circuit are a bit thicker (18AWG) - the rest (from the board to the modules) is 22AWG. Rows of Dupont connections go out to the "Next Track" pads on the MP3 modules. Is there something fundamentally wrong with this setup? Am I pushing the chip beyond what it can send, or the Nano? Any help very gratefully received (apologies for the amateur diagram).Įdits: adding an image of one of the 4 outer boards to show the in/out (green/yellow) connections. I got this working with a 3 A adaptor, but not reliably (different ones would fail - not trigger, just play the whole 90 s, then start again - every time I switched it on). I built a small-scale one with just 4 modules, one coming off each of the 4 switches of the chip. I only have one of the boards fully finished (30 modules) but it's ignoring the trigger. The Arduino sketch is designed to make it skip (so restart the track) every 60 s, with all of the tracks playing simultaneously. The Nano is powered with a standard 9 V adaptor, and the 5 V part is powered with a 5 V, 45 A PSU which should be more than enough to handle the current draw of the modules.Įach MP3 module contains an SD card with a single track on it. Each board connects to 30 MP3 players ( GPD2846 modules) with 5 V power, GND and an "in" and "out" connection, which go to either side of the "Next track" button on the MP3 player. If you want to process another file format, just replace the Decoder implementation and if you want to get the audio data from a different source, just replace use a different AudioSource.I have a circuit that sends a 300 ms signal (a short button press) from pin D13 on an Arduino Nano to a 4066 chip, which then sends it to 4 boards (A, B, C, and D). #define USE_HELIXĪudioSourceSdFat source(startFilePath, ext) ĪudioPlayer player(source, out, decoder) ĪudioLogger::instance().begin(Serial, AudioLogger::Info) Īs you can see, this approach has quite some flexibility: if you want to use I2S as output just replace the AnalogAudioStream with I2SStream. The following Arduino Sketch demonstrates how to implement an MP3 Player: which gets the data from a SD drive and provides the audio as analog output: The AudioSourceSdFat class builds on the SdFat Library from Bill Greiman which provides FAT16/FAT32 and exFAT support with long filenames. If the following line is commented out for your processor, remove the comments. Before you start double check your settings in the AudioConfig.h of the arduino-audio-tools project. The sketch is using the following dependencies:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |