Project in progress
Wrist Flick Tracking

Wrist Flick Tracking © GPL3+

This sleeve uses a Lilypad, accelerometer, and Buzzer to determine whether or not a wrist flick is consistent or not.

  • 104 views
  • 0 comments
  • 0 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

The idea was to create a sleeve that can track consistent form, for anyone who needs to maintain a follow through over and over and over, specifically looking at athletes. I wanted to take this idea to the next level by actually prototyping it, and getting it to function. With something like this, partnered with AI software or more, the user could really get to understand themselves and how to better their form with whatever application they decide to use it for.

Code

Code for Flick MonitoringArduino
Had to build out custom code.
// these constants describe the pins. They won't change:
const int groundpin = 18;             // analog input pin 4 -- ground
const int powerpin = 19;              // analog input pin 5 -- voltage
const int xpin = A2;                  // x-axis of the accelerometer
const int ypin = A3;                  // y-axis
const int zpin = A4;                  // z-axis (only on 3-axis models)

// accel range values (change from 0 to whatever you want)
int xLow = 530; // lowest acceptable x accel value
int xHigh = 540; // highest acceptable x accel value

int yLow = 530; // lowest acceptable y accel value
int yHigh = 540; // highest acceptable y accel value

int zLow = 530; // lowest acceptable z accel value
int zHigh = 540; // highest acceptable z accel value

// buzzer values
int buzzer = A9;
int NOTE_C6 = 1047;
int tempo = 100;

// init values
int xVal, yVal, zVal;

void setup() {
  // initialize the serial communications:
  Serial.begin(9600);

  // Provide ground and power by using the analog inputs as normal digital pins.
  // This makes it possible to directly connect the breakout board to the
  // Arduino. If you use the normal 5V and GND pins on the Arduino,
  // you can remove these lines.
  pinMode(groundpin, OUTPUT);
  pinMode(powerpin, OUTPUT);
  digitalWrite(groundpin, LOW);
  digitalWrite(powerpin, HIGH);

// buzzer pinmode setup
  pinMode(buzzer, OUTPUT);
}

void loop() {

  // print the sensor values:
xVal = analogRead(xpin);
  Serial.print(xVal);
  // print a tab between values:
  Serial.print("\t");
yVal = analogRead(xpin);
  Serial.print(yVal);
  // print a tab between values:
  Serial.print("\t");
zVal = analogRead(xpin);
  Serial.print(zVal);
  Serial.println();

if((xVal > xLow && xVal < xHigh) && (yVal > yLow && yVal < yHigh) && (zVal > zLow && zVal < zHigh)){
  tone(buzzer,NOTE_C6);
  delay(tempo);

  // A longer delay at the end pauses the sound before looping again.
  // Here we're delaying four times the "tempo" value:

  noTone(buzzer);
  delay(tempo * 10);
}


  // delay before next reading:
  delay(100);
}

Schematics

Sleeve Schematic
Guideline for laying out circuitry.
Sleeve schematic 01 mxil73lxix

Comments

Similar projects you might like

Head Tracking for Wireless 3D First Person Vision

Project showcase by twhi2525

  • 9,968 views
  • 7 comments
  • 58 respects

GPS Tracking System for Vehicles

Project showcase by Sustainable Living Lab

  • 17,914 views
  • 3 comments
  • 62 respects

Realtime Planet Tracking System and Trajectory Prediction

Project tutorial by Samhita Ganguly and Shubham Paul

  • 10,081 views
  • 0 comments
  • 18 respects

IoT Face Tracking and Recognition

by vicente zavala

  • 10,586 views
  • 1 comment
  • 24 respects

IoT Face Tracking and Recognition

Project tutorial by vicente zavala

  • 4,109 views
  • 1 comment
  • 18 respects
Add projectSign up / Login