Skip to content

PatrickCPE/uml_soft_sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Soft Sensors - UML Nerve Center

Author: Patrick Hoey

Overview

The system utilizes capacitive flex sensors to measure how much a person's muscles bend when performing physical exercises.

uController

uController Overview

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.

uController Setup

  1. Install Arduino IDE: Version >= 2.0

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

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

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

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

Host Side Software

Host Side Overview

The current strategy is to keep it as simple as possible. Download Teraterm, and save the terminal session to a log file.

Host Side Setup

Get Teraterm

Saving to file with Teraterm

Resources

Arduino BLE

Arduino Nano 33 BLE Datasheet

MPR121 Datasheet

Dylan Shah's cap_sensor_driver.ino

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages