EMG sensor with ESP32 always returns 4095

0

I am trying to detect muscle contractions in the arm in order to subsequently move a servomotor. I have made the circuit following this tutorial https://www.youtube.com/watch?v=0FsTPQY1bJw , but with the help of a breadboard. I have connected the EMG sensors to my arm in the same way but I keep getting the value 4095, which I understand is the maximum value for the ESP32. At some point, moving the electrodes on the arm has worked more or less consistently, but now it is impossible to change the value 4095. I attach also a picture of my ciruito, but I would say that it is all correct. The ESP32 is powered by a laptop, but it also has the option of being plugged into the mains. I have tried to do this but nothing. I don't know what could be causing interference.

The value 4095 suggests a wiring problem, for example, lack of common ground connection, broken wire, etc. Use your multimeter to check all connections for continuity.

For help, please post a complete wiring diagram with pins, connections and parts clearly labeled. Pencil and paper works well.


This is how I'm doing my connections, but using the breadboard

In theory. How did the multimeter check go?

The multimeter can also be used to check whether the voltages are what you expect from the circuit diagram.

Apparently everything is correct. I don't understand how the emg signal could be getting contaminated or why. I will try to rebuild the circuit...

What voltage does the multimeter report from the analog input (OI34) to GND?

The voltage should never be negative or exceed 3.3V. If ever so, the input may be permanently damaged.