Arjuna_1000
New Member
I am working on detecting the amplitude of a signal coming from a guitar pickup. I am using an esp32 and an LM386 module for amplifying the signal.
I get quite stable readings with a multimeter, but the readings on the Arduino IDE show peaks and also peaks come when no signal should be there.
Here is a link for short videos of both the esp32 readings and the multimeter:
https://drive.google.com/drive/folders/1gpvkN_sz627jG0TNPpUps82105EB89OF?usp=sharing
Simple code:
Diagram:
Thanks!
I get quite stable readings with a multimeter, but the readings on the Arduino IDE show peaks and also peaks come when no signal should be there.
Here is a link for short videos of both the esp32 readings and the multimeter:
https://drive.google.com/drive/folders/1gpvkN_sz627jG0TNPpUps82105EB89OF?usp=sharing
Simple code:
Code:
int ampedVoltagePin = 12;
void setup() {
pinMode(ampedVoltagePin, INPUT);
Serial.begin(9600);
}
void loop() {
Serial.println(analogRead(ampedVoltagePin));
delay(100);
}
Diagram:
Thanks!
Last edited: