Skip to content

Undergraduate research supervised by Dr. Daniel Prado de Campos and Dr. João Ari Gualberto Hill - CNPq scholarship

Notifications You must be signed in to change notification settings

guilhermealcar/IC_ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

IC_ESP32

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.

Description

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.

Parte1\receivedFile.py

  • Python file that generates "Parte1\pot_data.txt".
  • It takes the muscle contraction values and adds it to the file above.

Parte1\plotData.py

  • 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.

Getting Started

Dependencies

Executing program

  • 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.

Author

Guilherme de Almeida do Carmo - [email protected]

About

Undergraduate research supervised by Dr. Daniel Prado de Campos and Dr. João Ari Gualberto Hill - CNPq scholarship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published