inticondo
Published © CC0

Maqui3000

Electronic Arm Prosthesis *Carolina Proaño Photo

BeginnerFull instructions provided2,605
Maqui3000

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Servos (Tower Pro MG996R)
×1
GearMotor
×1
Cable type Ring
×1
Screw
×1
Steel cable
×1
Venoclysis equipment
×1
Galvanized wire
×1
Elastic
×1
Velcro
×1
PVC tube
×1
Aluminium Tube
×1
Potentiometer 100K
×1
bolts and nuts
×1
Aluminum Coolant
×1
Metal Box For Batteries
×1
9V battery (generic)
9V battery (generic)
×1
Linear Regulator (7805)
Linear Regulator (7805)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Drill
Emery
scissors for iron sheets
Soldering iron (generic)
Soldering iron (generic)
Screwdriver

Story

Read more

Schematics

Conection for Potentiometer

Is to control fingers and hand movement of the Prosthetic Maqui3000

One Servo Conection

Conect components individually, in the segment of code indicate the number of ports.

Code

CompletecodeMaqui3000

Arduino
This is the entire code to Move articulation and fingers of the hand Maqui300 using potentiometers connected and servos connected too.
#include <Servo.h>

Servo Servodedodos; //Declaramos que queremos controlar un Servo, al cual le vamos a poner un nombre cualquiera
Servo Servodedotres;
Servo Servodedocuatro;
Servo Servodedocinco;
Servo Servodedoseis;
Servo Servomunecauno;
Servo Servocodouno;

int pot2 = 2; //El pin anlogo donde va conectado el Potencimetro
int pot3 = 3;
int pot4 = 4;
int pot5 = 5;
int pot6 = 6;
int pot7 = 7;
int pot8 = 8;

int val2; //El valor a leer por el puerto anlogo
int val3;
int val4;
int val5;
int val6;
int val7;
int val8;
void setup()
{
   Serial .begin (9600);
Servodedodos.attach(2); //El pin al cual conectaremos nuestro Servo para eldedo 
Servodedotres.attach(3);
Servodedocuatro.attach(4);
Servodedocinco.attach(5);
Servodedoseis.attach(6);

Servomunecauno.attach(7);
Servocodouno.attach(8);
}

void loop()
{
//dedo uno
val2 = analogRead(pot2); //Aqu le decimos que lea el valor del potencimetro, valor el cual oscila entre 0 y 1023
val2 = map(val2, 0 ,1023, 0, 180); //Traduce la lectura anlga (0, 1023) a grados (0, 180)
Servodedodos.write(val2); //Mueve el Servo segn la lectura anloga
Serial.println  (val2);
//dedo dos
val3 = analogRead(pot3);
val3 = map(val3, 0 ,1023, 0, 180);
Servodedotres.write(val3);
Serial.println  (val3);
//dedo tres
val4 = analogRead(pot4);
val4 = map(val4, 0 ,1023, 0, 180);
Servodedocuatro.write(val4);
Serial.println  (val4);
//dedo cuatro
val5 = analogRead(pot5);
val5 = map(val5, 0 ,1023, 0, 180);
Servodedocinco.write(val5);
Serial.println  (val5);
//dedo seis
val6 = analogRead(pot6);
val6 = map(val6, 0 ,1023, 0, 180);
Servodedoseis.write(val6);
Serial.println  (val6);

//muneca uno
val7 = analogRead(pot7);
val7 = map(val7, 0 ,1023, 0, 180);
Servomunecauno.write(val7);
Serial.println  (val7);
//codo uno
val8 = analogRead(pot8);
val8 = map(val8, 0 ,1023, 0, 180);
Servocodouno.write(val8);
Serial.println  (val8);
//float  niv=analogRead (A0)/4;
//analogWrite (3, niv);
// Serial .println  (niv);

delay(15);
}

Code1servo1potenciometer.ino

Arduino
Test first with one component each time. Is a personal recommendation.
#include <Servo.h>
Servo Servodedo; //Declaramos que queremos controlar un Servo, al cual le vamos a poner un nombre cualquiera
int pot = 0; //El pin anlogo donde va conectado el Potencimetro
int val; //El valor a leer por el puerto anlogo
void setup()
{
   Serial .begin (9600);
Servodedo.attach(2); //El pin al cual conectaremos nuestro Servo para eldedo 
}
void loop()
{
val = analogRead(pot); //Aqu le decimos que lea el valor del potencimetro, valor el cual oscila entre 0 y 1023
val = map(val, 0 ,1023, 0, 180); //Traduce la lectura anlga (0, 1023) a grados (0, 180)
Servodedo.write(val); //Mueve el Servo segn la lectura anloga
Serial.println  (val);

delay(15);
}

Maqui3000

Credits

inticondo

inticondo

2 projects • 2 followers

Comments