Skip to content

Can anyone here confirm this ADC board will work? #430

Answered by TangerineDreamer
john- asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@john-
Comment options

Answer selected by john-
Comment options

You must be logged in to vote
1 reply
@john-
Comment options

Comment options

You must be logged in to vote
1 reply
@john-
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants