Zaid JaberNayef AlAmarin
Published © LGPL

Physiotherapy Glove for Enhanced Recovery and Mobility

Enhance recovery with our physiotherapy glove—designed to improve mobility, strength, and rehabilitation for faster, effective healing.

IntermediateFull instructions provided296
Physiotherapy Glove for Enhanced Recovery and Mobility

Things used in this project

Story

Read more

Schematics

Circuit Diagram (One Finger Test)

It is only on one sensor repeat for the other 3 sensors

Code

Main code

Arduino
#include <TM1637Display.h>

// define the connections pins
#define CLK 9
#define DIO 10

// create a display object of type TM1637Display
TM1637Display display = TM1637Display(CLK, DIO);

void setup() {
  display.clear();
  display.setBrightness(7); // set the brightness to 7 (0:dimmest, 7:brightest)
  Serial.begin(9600);
}

void loop() {
  // Read values from four different sensors
  int sensorValue1 = analogRead(A0);
  int sensorValue2 = analogRead(A1);
  int sensorValue3 = analogRead(A2);
  int sensorValue4 = analogRead(A3);
  Serial.println(sensorValue2);
 
  uint8_t data[] = { 0xff, 0xff, 0xff, 0xff };
  data[0] = display.encodeDigit(map(sensorValue1, 708, 885, 0, 9));
  data[1] = display.encodeDigit(map(sensorValue2, 717, 880, 0, 9));
  data[2] = display.encodeDigit(map(sensorValue3, 780, 930, 0, 9));
  data[3] = display.encodeDigit(map(sensorValue4, 759, 897, 0, 9));
  display.setSegments(data);

  
  delay(100); // Wait for 100ms before updating again
  display.clear();
}

Credits

Zaid Jaber
4 projects • 4 followers
STEM Specialist, Maker, Innovator, Mechatronics Engineer, and Master's in Electrical Engineering. Passionate about innovation and tinkering.
Contact
Nayef AlAmarin
1 project • 1 follower
Contact

Comments

Please log in or sign up to comment.