Uncategorized

PCM1802 and MAX4466/MAX9914 notes

Asked 
Viewed 13 times
1

I want to get Analog Audio Input using a PCM1802 ADC Module and MAX4466 microphone module using python. It is actually a project for a very basic and introductory course about Arduino and AVR assembly and as the last part, it wants us to completely figure out how Raspberry Pi works! (I know it may sound very weird that an Arduino course with AVR assembly has a Raspberry Pi Python project!)

We are given a CJMCU PCM1082 ADC Module and a MAX4466 microphone.

CJMCU PCM1082 ADC Module has SCK,PDW,LRCK,FSY,BCK,DOUT,GND,3.3V,5V pins also with LIN and RIN.

Connecting the 3.3,5 and GND are pretty obvious, but for the other ones, I read the PCM1802 IC datasheet that is used in the module, And I found out that:

  • SCK is System clock input
  • PDW is Power-down control which is active low.
  • LRCK is Sampling clock input and output
  • FSY is Frame synchronous clock input and output
  • BCK is Bit clock input and output

And DOUT is simply serial output.

As I said, the course was about Arduino and I am completely new to Raspberry Pi. I want to know how I should connect these pins to Raspberry Pi pins and what setting (Setups) should I do in Python for them to work properly? I searched the Internet for some tutorials and I just found some about MCP3008. Unfortunately it just has one clock pins but this PCM1802 ADC has three clocks and some other things and I don’t know how should I connect and setup them.

You can see the pictures of ADC module and MAX4466 microphone module below:

CJMCU PCM1082 ADC

CJMCU PCM1082 ADC

MAX4466

 New contributor
  • Hi @amir na, Welcome and nice to meet you. Ah, let me see. Your project using PCM1082 and MAX4466 is interesting. First, let me list the reasons that you should use Rpi and python and not Arduino for the final human interface part of your project: (1) Arduino is just a micro controller, but Rpi is a computer, much like, but a bit smaller than the powerful but evil WinTel PC, with Win10, (2) Rpi python is very good to develop hardware and software projects, for either newbies and ninja alike (even the big guy Google is loving it and use it for their AI/TensorFlow projects!) / to continue, … – tlfong01 34 mins ago
  • To answert your question of how to use Rpi to control PCM1802, let us skim the catalogs and datasheets to get a rough idea of what you can do with Ri, … (1) PCM1802 Single-Ended Analog-Input 24-Bit, 96-kHz Stereo A/D Converter – TI2016 ti.com/lit/ds/symlink/pcm1802.pdf (2) CJMCU ADC Catalog aliexpress.com/cheap/cheap-cjmcu-adc.html, (3) AliExpress Max4466 Catalog aliexpress.com/w/wholesale-max4466.html, / to continue, … – tlfong01 31 mins ago
  • AliExpress Max4466 / Max9814 Amplifiers fr.aliexpress.com/item/… Max4466 Microphone Preamplifier Datasheet – Maxim datasheets.maximintegrated.com/en/ds/MAX4465-MAX4469.pdf MAX9814 Low Noise Microphone Amplifier with AGC – Maxim datasheets.maximintegrated.com/en/ds/MAX9814.pdf. – tlfong01 15 mins ago
  • Now I would like to suggest we both spent some time to read the above stuff, and then say, have a brainstorming session on how can we use Rpi to control the ADC and microphone amplifier. But wait a second, you are just an Arduino guy, not even a Rpi newbie, so you need to first google around this forum, to get to know Rpi more, especially how the Rpi guys here are using MCP3008 etc to convert audio signals to digital etc, etc. So I would like to suggest, perhaps we meet, say a week from now, and you first brainstorm us on how to use Rpi for your project. See you later. Cheers. – tlfong01 7 mins ago
  • Ah, one more thing. I should also suggest you to read MagPi, the Rpi magazine, and also their official newbie tutorials to learn how to do things like (1) Blink a LED, (2) Read a push button, both use GPIO. Rpi GPIO, like Arduino GPIO, is the very basic tool you will need to know and use for your project here. Happy learning and cheers! – tlfong01 just now   Edit
PCM1802 Single-Ended Analog-Input 24-Bit, 96-kHz Stereo A/D Converter – TI2016
http://www.ti.com/lit/ds/symlink/pcm1802.pdf

CJMCU ADC Catalog
https://www.aliexpress.com/cheap/cheap-cjmcu-adc.html

CJMCU-1808 PCM1808 single input 99dB SNR stereo ADC Analog input module decoder 24bit amplifier card
https://fr.aliexpress.com/i/33025114388.html?spm=a2g0w.search0305.3.19.37de1b2brfDmoG&ws_ab_test=searchweb0_0,searchweb201602_0,searchweb201603_0,ppcSwitch_0&algo_pvid=1e97e14c-35f9-44e7-bf52-c1c3a8b6a768&algo_expid=1e97e14c-35f9-44e7-bf52-c1c3a8b6a768-2

AliEXpress Max4466 Catalog
https://www.aliexpress.com/w/wholesale-max4466.html

AliExpress Max4466 / Max9814 Amplifiers
https://fr.aliexpress.com/item/32863693402.html?spm=a2g0o.productlist.0.0.599ddadbkdKo4S&algo_pvid=69212b72-375c-4b0f-9b86-9451f134abf7&algo_expid=69212b72-375c-4b0f-9b86-9451f134abf7-12&btsid=b3428fe9-8691-48fa-a780-47ef6621a934&ws_ab_test=searchweb0_0,searchweb201602_9,searchweb201603_53

Max4466 Microphone Preamplifier Datasheet – Maxim
https://datasheets.maximintegrated.com/en/ds/MAX4465-MAX4469.pdf

MAX9814 Low Noise Microphone Amplifier with AGC – Maxim
https://datasheets.maximintegrated.com/en/ds/MAX9814.pdf

.END

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: