The system utilizes capacitive flex sensors to measure how much a person's muscles bend when performing physical exercises.
The selected baord was the Arduino Nano 33 BLE. One board is used as the master(PC) and the other is the slave(sensor device). The software was written using the arduino libraries, specifically the ArduinoBLE library. The slave polls the sensors at the desired frequency and advertises if there are any changes. The master writes the current result to the serial monitor at the desired frequency, and will update the result if there is a new value advertised for the sensors.
-
Install ArduinoBLE Library: Version == 1.2.1
A. Open Arduino IDE
B. Select Libraries on the left hand side
C. Search for ArduinoBLE, select the right version, and click install
-
Install the Adafruit MPR121 Library: Version == 1.1.1
A. Open Arduino IDE
B. Select Libraries on the left hand side
C. Search for Adafruit MPR121, select the right version, and click install, install all depenencies as well
-
Install Arduino Mbed OS Nano Board Files: Version == 2.8.0
A. Open Arduino IDE
B. Select Boards Manager on the left hand side
C. Search for Arduino Mbed OS Nano Boards, select the right version, and click install
-
Flash the boards
A. Open soft_sensor_master.ino and soft_sensor_slave.ino in the Arduino IDE
B. Select the appropriate board and port from the tools dropdown
C. Flash one board with the master software, and the other with the slave software
The current strategy is to keep it as simple as possible. Download Teraterm, and save the terminal session to a log file.
Dylan Shah's cap_sensor_driver.ino