The good innersole collects foot pressure information in period of time. Through Thinger.io the knowledge is fed into a system that visualizes the information. Pressure measure is already utilized in a spread of things. It provides data regarding gait mechanics and includes a wide selection of applications, i.e. in clinical things and in sports. during this project the sensors ar wont to gain insight regarding weight distribution. period of time visualisation of pressure mapping is additionally incorporated as a result of it makes it a lot of easier to know your information.
· Arduino MKR1000 - Most 3.3V or 5V boards with Wi-Fi will do the job,
· Force Sensitive Resistors (3). Use the Interlink 402 (100 N) and one more expensive Interlink 406, but in hindsight the 402 would've worked too. Use more FSR's for better accuracy.
· 10K Resistors. Change the resistor to scale your readings to be in the range you want. The higher the resistors, the bigger the increments are.
· Accelerometer use the 16G ADXL345. Use this to measure acceleration and motion of the foot.
· A soldering iron to put it all together. Alligator clips don't work well in a shoe for obvious reasons.
· Thinger.io Platform
· Arduino IDE
Hardware connections:
·
#define_DEBUG_ //enables us to use the Serial Monitor
·
#include<WiFi101.h>
·
#include<ThingerWifi101.h>
·
#include<Wire.h> //Accelerometer
·
#include<Adafruit_Sensor.h> //Accelerometer
·
#include<Adafruit_ADXL345_U.h> //Accelerometer
·
#include<Adafruit_NeoPixel.h>
·
#defineUSERNAME "yourUsername"
·
#defineDEVICE_ID "yourDeviceID"
·
#defineDEVICE_CREDENTIAL "yourDeviceCredential"
·
#defineSSID "yourSSID"
·
#defineSSID_PASSWORD "yourSSIDPassword"
·
//*FSR sensors*/
·
#definenoFSRs 3 // Number of FSRs connected
·
#defineFSR1 A1
·
#defineFSR2 A2
·
#defineFSR3 A3
·
floatfsrVoltageArray[
3];
// The analog reading converted and scaled to voltage as a floating point number
·
floatfsrForceArray[
3];
// The force in Newton
·
floatfsrWeightInGramsArray[
3];
// Weight converted to grams
·
intpinArray[
3] = {FSR1, FSR2, FSR3};
// The pin ID for the three devices
·
floatforceMaxArray[
3] = {
100.0,
100.0,
100.0};
// Maximum forces supported
·
floatmillion =
1000000.0;
// Unit for "1/micro
·
floatconversionToKgrams =
1.0/
9.80665;
·
longK =
1000;
·
longR =
10*K;
// R in K Ohm
·
longVcc =
5000;
// 5V=5000mV, 3.3V = 3300 mV