Can anyone here confirm this ADC board will work? #430
-
I cannot find the exact ADC board referenced in the Arduino Audio Tools wiki: I find one that is close but not the same: https://www.aliexpress.us/item/2251832803602142.html Differences based on visual inspection:
Anyone here have experience with this ADC as to whether it will work with AAT? Also, I would be find with a different ADC board if it was known to work. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi John, //---------------------------------------------------------------------------------------- /*I2S OUT: DAC MODULE PC5102A #include "AudioTools.h" uint16_t sample_rate=32000; I2SStream in; // Arduino Setup // start I2S in // start I2S out Serial.println("I2S started..."); // Arduino loop - copy sound to out //--------------------------------------------------------------------------------------------- I had the best results with 32000 sample rate,but it was 2 months ago,maybe the library had some tweaking since :) |
Beta Was this translation helpful? Give feedback.
-
If you success to make it work with 44100 sample rate,please let me know,but i believe you have not bought it yet, |
Beta Was this translation helpful? Give feedback.
-
It's a i2s>i2s connection,the adc > i2s(input) into the esp32 and the esp32 make the i2s(stream) go to i2s-out(stream) |
Beta Was this translation helpful? Give feedback.
Hi John,
Got this one exactly the same as yours, i was a little bit confused,but had good results after a while,here is the sketch with
wiring configuring,i use as output PC5102A 👍 :
//----------------------------------------------------------------------------------------
/*I2S OUT: DAC MODULE PC5102A
VIN->5V,GND->GND,SCK->GND,BCK->18,
DIN->23,WSEL (WS) = LRCK = LCK->19,
*
*I2Sin IN : ADC MODULE: SLAVE,16BITS
JUMPER ON : MCLK-->24,576M
VIN->5V,GND->GND,SCK->GND,BCK->14,
DIN->22,LRCK->15,
*/
#include "AudioTools.h"
uint16_t sample_rate=32000;
uint16_t channels = 2;
uint16_t bits_per_sample = 16; // or try with 24 or 32
I2SStream in;
I2SStream out;
StreamCopy copier(out, in); // copies sou…