Undergraduate Research guided by João Ari Gualberto Hill, PhD and Daniel Prado de Campos, PhD:
- Building a sEMG data acquisition system with the microcontroller ESP-32 and the hardware AD8232.
- sEMG signal monitoring in real time with C++/Arduino.
- Python used for data storage on the time domain for better data analysis and transmission via Bluetooth Classic.
Parte1\AcquireSend_ad8232_filtered_2\AcquireSend_ad8232_filtered_2\AcquireSend_ad8232_filtered_2.ino
- Arduino file which will be executed to configure the ESP-32 hardware together with the AD8232 board in a Protoboard.
- This file is now, with a ISR Interrupt with a timer.
- Python file that generates "Parte1\pot_data.txt".
- It takes the muscle contraction values and adds it to the file above.
- Python file that generates different plots.
- Applies different filters for better data understanding.
- Root Mean Square (RMS) values were used to avoid negative values for the muscle contractions.
- In the end, the Bode diagram is also plotted.
- To use the ESP-32, it's necessary to install another driver.
- You can install the Silicon Labs CP210x USB to UART Bridge (COM3) driver following this tutorial: https://www.driverguide.com/driver/download/Silicon-Labs-CP210x-USB-to-UART-Bridge-(COM3)
- First, run the ino file to setup the ESP-32.
- After that, run "Parte1\receivedFile.py" to generate the text file that will be plotted with the values.
- This file will run in an infinite loop until a "CTRL + c" command. This will end the program with the initial counter greater than or equal to 10, printing all of the values into the text file.
Ctrl + c -> counter += 10
- When "Parte1\plotData.py" is used, various different plots with different filters such as "bandpass", "denoised signal", etc. will appear.
Guilherme de Almeida do Carmo - [email protected]