Samuel Alexander
Published © GPL3+

Myo-Assist Knee Brace

Elevate leg strength and joint mobility with Myo-assist, perfect for diverse applications from stroke recovery to sports injury rehab.

IntermediateFull instructions provided12 hours446

Things used in this project

Hardware components

MyoWare Muscle Sensor Development Kit
SparkFun MyoWare Muscle Sensor Development Kit
×1
SparkFun Qwiic Pro Micro - USB-C (ATmega32U4)
SparkFun Qwiic Pro Micro - USB-C (ATmega32U4)
×1
DSSERVO DS3225MG
×2
M3 threaded insert
×4
608zz bearing
×2

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

Bottom Brace

The bottom (calve) part of the brace.

Top Brace

The top (thigh) part of the brace.

Big Spur Gear

Big spur gear, this part is also used for attaching the top and bottom part of the brace together.

Small Spur Gear

Small spur gear, this part is mounted and screwed directly on the servos.

Code

myoassist_knee_brace.ino

Arduino
#include <Servo.h>

Servo leftservo;  // create servo object to control a servo
Servo rightservo;

int emg = A0;  // analog pin used to connect the muscle sensor
int val;    // variable to read the value from the analog pin

void setup() {
  leftservo.attach(4);
  rightservo.attach(5);
  Serial.begin(9600);
}

void loop() {
  val = analogRead(emg);
  Serial.println(val);
  val = map(val, 0, 1023, 0, 180);     // scale it for use with the servo (value between 0 and 180)
  leftservo.write(val);                  // sets the servo position according to the scaled value
  rightservo.write(180-val);
  delay(15);                           // waits for the servo to get there
}

Credits

Samuel Alexander

Samuel Alexander

4 projects • 18 followers

Comments