Portia RaynerSufyan MalikAllan LiJun Lim
Published © GPL3+

Intelligent Gait Detection

Measuring and tracking walking patterns with the goal of detecting and diagnosing injuries and chronic conditions.

IntermediateFull instructions provided10 hours445
Intelligent Gait Detection

Things used in this project

Hardware components

AVR-IoT WA Development Board
Microchip AVR-IoT WA Development Board
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×2
Sewable Conductive Thread
Sewable Conductive Thread
×1
Adafruit Velostat
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Clear Matte Transparent Mat
×1
Aluminum foil
×1
Sock
×1

Software apps and online services

AWS IoT
Amazon Web Services AWS IoT
AWS EC2
Amazon Web Services AWS EC2
Mongoose OS
Mongoose OS

Hand tools and fabrication machines

Scissor, Electrician
Scissor, Electrician

Story

Read more

Schematics

Pressure Sensor Circuit

Code

Pressure Sensor Data Collection

Arduino
This code records the analog values for pressure that were detected by the four sensors and converts the values to voltage readings.
// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pins 0-3:
  //this initiates the analog pin 0 to receive data from the pressure sensor at      the heel
  int heelValue = analogRead(A0);
  //this initiates the analog pin 1 to receive data from the pressure sensor at      the ball of the foot
  int ballValue = analogRead(A1);
  //this initiates the analog pin 2 to receive data from the pressure sensor at      the big toe
  int bigtoeValue = analogRead(A2);
  //this initiates the analog pin 3 to receive data from the pressure sensor at      the outermost toe
  int littletoeValue = analogRead(A3);
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
  float heelvoltage = heelValue * (5 / 1023.0);
  float ballvoltage = ballValue * (5 / 1023.0);
  float bigtoevoltage = bigtoeValue * (5 / 1023.0);
  float littletoevoltage = littletoeValue * (5 / 1023.0);
  // print out the value you read, this format allows the values to entered into separate columns in an Excel sheet
  // if the Data Streamer function is used:
  Serial.print(heelvoltage);
  Serial.print(",");
  Serial.print(ballvoltage);
  Serial.print(",");
  Serial.print(bigtoevoltage);
  Serial.print(",");
  Serial.print(littletoevoltage);
  Serial.print(",");
  Serial.println();
  delay(100);
}

Software-code

Credits

Portia Rayner

Portia Rayner

1 project • 3 followers
Sufyan Malik

Sufyan Malik

0 projects • 3 followers
I am a second year undergraduate student studying Pharmacology at the University of Alberta, and looking for opportunities to learn more.
Allan Li

Allan Li

0 projects • 3 followers
I am a second year undergraduate student at UofT studying Bioinformatics and Cognitive Sciences
Jun Lim

Jun Lim

0 projects • 1 follower

Comments