Giter VIP home page Giter VIP logo

uml_soft_sensors's Introduction

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

uml_soft_sensors's People

Contributors

patrickcpe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.