4

I have been trying to get a mini microphone module with an inbuilt microphone module I got from AliExpress to my Arduino to confirm if it is working. It was a four pin microphone with pins labeled V, L, and two G pins. The V represents voltage in and the L represents audio output positive.

Here is the link to the microphone: https://www.aliexpress.com/item/1005004277353392.html?spm=a2g0o.productlist.main.23.61e36f2fBMHvFk&algo_pvid=15b05576-cd73-4eb7-a476-4503b8a706a7&algo_exp_id=15b05576-cd73-4eb7-a476-4503b8a706a7-11&pdp_npi=3%40dis%21USD%210.54%210.39%21%21%21%21%21%40211bf3f716869249882567444d07ba%2112000028601598840%21sea%21NG%214345576938&curPageLogUid=plaZEQWq7SRB

However, when I ran the code to check whether it works the value does not change that much, Is there something I'm doing wrong (I'm a beginner btw) or is the microphone not just working?

My code

const int audioPin = A0; // Analog input pin connected to the microphone module output

void setup() { Serial.begin(9600); // Initialize the Serial Monitor }

void loop() { int audioValue = analogRead(audioPin); // Read the analog value from the microphone module

Serial.println(audioValue); // Print the analog value to the Serial Monitor

// Add a small delay to control the rate of readings delay(10); }

I connected the output (L) to A0 and connected both the G pins to the arduino ground, I connected the V pin to the 3.3V pin on the Arduino Uno.

1 Answers1

1

Have you checked to see if it is a hardware problem? It could be the fact that it is just off AliExpress. Usually, the display images are better than the actual product and if this is true, you can see a few bad soldering connections. I might want to go over some of them with a soldering iron.

Iliketurtles
  • 91
  • 11