Hello, I am trying to make the same set-up work but I get no values other than zeros from the mic ICS-43432.
Let me show you my set-up, may be you can help me finding where is the problem.
First of all this is a picture of how I did to take out some jumper-conections from the mic
![Sol.jpg Sol.jpg](https://forum.pjrc.com/data/attachments/11/11718-d89e2996bf8a0028bc74c94a16c0fa39.jpg)
![Cable.jpg Cable.jpg](https://forum.pjrc.com/data/attachments/11/11720-425d3e1b2fed4d921dadc9ef45a98130.jpg)
Micro -> Teensy 3.6
SEL -> GND
LRCL -> 23
DOUT -> 13
BCLK -> 9
GND -> GND
3V -> 3.3V
I'm using a capacitor and a resistor which were recommended by the DataSheet of the mic. With or without these elements I get the same zero values.
I implement the RMS analyzer for my code, I analyze both channels, here is my code:
And this is the result
I have tried with two mics and is the same result for both.
Im using Teensy Loader 1.41 and Arduino 1.8.5
Let me show you my set-up, may be you can help me finding where is the problem.
First of all this is a picture of how I did to take out some jumper-conections from the mic
![Sol.jpg Sol.jpg](https://forum.pjrc.com/data/attachments/11/11718-d89e2996bf8a0028bc74c94a16c0fa39.jpg)
![Cable.jpg Cable.jpg](https://forum.pjrc.com/data/attachments/11/11720-425d3e1b2fed4d921dadc9ef45a98130.jpg)
Micro -> Teensy 3.6
SEL -> GND
LRCL -> 23
DOUT -> 13
BCLK -> 9
GND -> GND
3V -> 3.3V
I'm using a capacitor and a resistor which were recommended by the DataSheet of the mic. With or without these elements I get the same zero values.
I implement the RMS analyzer for my code, I analyze both channels, here is my code:
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
AudioInputI2S i2s1;
AudioAnalyzeRMS rms1;
AudioAnalyzeRMS rms2;
AudioConnection patchCord1(i2s1, 0, rms1, 0);
AudioConnection patchCord2(i2s1, 1, rms2, 0);
void setup() {
Serial.begin(9600);
AudioMemory(4);
delay(1000);
}
void loop() {
if (rms1.available() && rms2.available()) {
float volume_level_l = rms1.read() * 100.0;
float volume_level_r = rms2.read() * 100.0;
Serial.print("Volume level L: ");
Serial.println(volume_level_l);
Serial.print("Volume level R: ");
Serial.println(volume_level_r);
Serial.println();
}
}
And this is the result
I have tried with two mics and is the same result for both.
Im using Teensy Loader 1.41 and Arduino 1.8.5