Passive filters (two highpass filters at 0.16Hz) are initially used to filter out DC noise before the three-lead signal from electrodes converts into a two-lead signal via a differential amplifier and buffer.
Sallen-key Bandpass filters were implemented to further filter the signal to then be passed into a precision full wave rectifier.
The signal was put into a non-inverting amplifier as the last step to be read by the microcontroller (Arduino was used as first prototype before switching to ESP32-C3).
The motors would rotate clockwise or counter-clockwise depending on the filtered emg signal, and would stop moving once either the glove reaches a fully contracted phase,Β or if it returns to the relaxed-opened position.