How to make a bionic finger

By Cicely Lomas

About the project

We were given the challenge of making a bonic finger from the parts given to us and tailoring the given code to make it work without instructions. But why do we even need prosthetics? Some people aren't as fortunate as us and might have lost an arm or leg in an accident, this leaves them struggling to do things we might take for granted like carrying things or walking.

What you need

What to do

  1. Make sure you have all needed materials and have the right safety precautions.
  2. Fold the plastic strip in half and cut to make it so you have 2 even pieces, then fold into quarters but DO NOT CUT then put aside to use later.
  3. Thread fishing wire through finger pieces to keep them together then tie a knot at the top end of the string and hot glue to secure
  4. Put folded plstic strips between the finger pieces and hot glue in place
  5. Hot glue base piece of finger to the board to keep in place
  6. thread the other end of the fihsing wire through the Nano (motor) and tie a knot to secure
  7. Hot glue Nano to board (far enough away to take away most of the strings slack
  8. Attatch Nano to arduino pins (make sure to attatch them to the ones you justify in your code)
  9. Finally attatch flexi sensor to ardiuno (again use specified pins)
  10. Now all thatss left is to write the code

Code

Here is the needed code, to go into detail watch the video below;

#include (Servo.h)

Servo myservo;

void setup() {
// put your setup code here, to run once:

myservo.attach(9);
pinMode(A0, INPUT_PULLUP);
Serial.begin(9800);
}

void loop() {
// put your main code here, to run repeatedly:
int flexSensor=analogRead(A0);
int angle=(flexSensor-380);
Serial.println(angle);
myservo.write(angle);
}