I really doubt that arduino
I really doubt that arduino project board and picaxe chip would work. You can always take a perfboard or anything similar and make the programmng circuit yourself. It is not as hard as you may think.
I really doubt that arduino
I really doubt that arduino project board and picaxe chip would work. You can always take a perfboard or anything similar and make the programmng circuit yourself. It is not as hard as you may think.
i read ur servoMotor
i read ur servoMotor code
what’s your first input ? cosz not connect with the bend sensor
That code is not mine - it
That code is not mine - it is phozon’s. And it is also arduino code, not picaxe’s.
oops, i did’nt test the
oops, i did’nt test the code. i wrote it quick and dirty. yes, i guess 1 of my sensors is not mapped to the servo.
and my flex sensor is uni-directional. also, my sensor gives values from 0 to 1024. it might be different for DIY flex sensors so i think you have to map the values in a different way. and, i have no idea about the picaxe code. i am a noob in picaxe but i think it should not be that hard
also, here is the new
also,
here is the new working code (adapt it to ur settings and values)
___
/
flex arduino to make a robot hand.
animatronic hand using arduino
/
#include <Servo.h>
Servo servoMotor;
Servo servoMotor1;
Servo servoMotor2;
Servo servoMotor3;
Servo servoMotor4;
int analogPin = 0; // finger 1
int analogValue = 0;
int servoPin = 2;
int analogPin2 = 1; //finger 2
int analogValue2 = 0;
int servoPin2 = 3;
int analogPin3 = 2; //finger 3
int analogValue3 = 0;
int servoPin3 = 4;
int analogPin4 = 3; //finger 4
int analogValue4 = 0;
int servoPin4 = 5;
int analogPin5 = 4;
int analogValue5 = 0;
int servoPin5 = 2;
void setup() {
servoMotor.attach(servoPin);
servoMotor1.attach(servoPin1);
servoMotor2.attach(servoPin2);
servoMotor3.attach(servoPin3);
servoMotor4.attach(servoPin4);
}
void loop()
{
analogValue = analogRead(analogPin);
analogValue = map(analogValue, 0, 1023, 0, 179);
servoMotor.write(analogValue);
delay(15);
analogValue2 = analogRead(analogPin2);
analogValue2 = map(analogValue2, 0, 1023, 0, 179);
servoMotor1.write(analogValue2);
delay(15);
analogValue3 = analogRead(analogPin3);
analogValue3 = map(analogValue3, 0, 1023, 0, 179);
servoMotor2.write(analogValue3);
delay(15);
analogValue4 = analogRead(analogPin4);
analogValue4 = map(analogValue4, 0, 1023, 0, 179);
servoMotor3.write(analogValue4);
delay(15);
analogValue5 = analogRead(analogPin5);
analogValue5 = map(analogValue5, 0, 1023, 0, 179);
servoMotor4.write(analogValue4);
delay(15);
}
How
do you know the product codes for the picaxe(s)?
Could you please be more
Could you please be more specific? I did not understand the question here.
I need help
Has anyon written a code for a hand -glove combination like or from this example. I thought it would be a cool thing to do for my graduation project, and am in way over my head. I have no programming experience. I have gotten pretty far on the construction and am not sure what to do next.
please help me
thank you
please help
I am doing a hand-glove combo like this for my graduation project, and have no programming experience.
how would you alter the codes for the picaxe components specified in this design?
can you please tell where
can you please tell where you have place all those force sensor…
and i could not find velostat anywhere can you suggest me for that…
thanks in advance