How to Make Servo Robotic Arm using Arduino.
ฝัง
- เผยแพร่เมื่อ 30 ก.ย. 2024
- I made Robotic Arm using Arduino.
Thank you for watching. Have a nice day.
Components :
- Arudino Nano
- 4 x SG90 Micro Servo Motor
- 4 x Rotary Potentiometer B20K
- Mini Breadoard
Source code :
- drive.google.c...
Music Info:
- Obsession by K-music : • Video
- Rose by K-music : • Video
For anyone who isn't able to open the file for the code, the code is:
#include
int pot_pin_claw = A0;
int pot_pin_bottom = A1;
int pot_pin_joint1 = A2;
int pot_pin_joint2 = A3;
int value_claw;
int value_bottom;
int value_joint1;
int value_joint2;
Servo servo_claw;
Servo servo_bottom;
Servo servo_joint1;
Servo servo_joint2;
void setup() {
servo_claw.attach(2);
servo_bottom.attach(3);
servo_joint1.attach(4);
servo_joint2.attach(5);
Serial.begin(9600);
}
void loop() {
int pot_inputs[4];
pot_inputs[0] = analogRead(pot_pin_claw);
pot_inputs[1] = analogRead(pot_pin_bottom);
pot_inputs[2] = analogRead(pot_pin_joint1);
pot_inputs[3] = analogRead(pot_pin_joint2);
if(pot_inputs[0] > 511) {
value_claw = 1;
} else {
value_claw = 0;
}
value_bottom = map(pot_inputs[1], 110, 800, 180, 0);
value_joint1 = map(pot_inputs[2], 1023, 600, 30, 160);
value_joint2 = map(pot_inputs[3], 170, 880, 180, 0);
if(value_claw) {
servo_claw.write(80);
} else {
servo_claw.write(50);
}
servo_bottom.write(value_bottom);
servo_joint1.write(value_joint1);
servo_joint2.write(value_joint2);
delay(5);
}
do u have the circuit diagram , thank u
@Deepika Sharma You need to extract the zip file first. And then give the access and open it. Its simple actually. Idk what problem you faced.
Hi
it works?
I would really like to know what I am doing wrong because I spent $100 on this project and the code is not uploading to the arduino.
#include
int pot_pin_claw = A0;
int pot_pin_botton = A1;
int pot_pin_joint1 = A2;
int pot_pin_joint2 = A3;
int value_claw;
int value_botton;
int value_joint1;
int value_joint2;
Servo servo_claw;
Servo servo_botton;
Servo servo_joint1;
Servo servo_joint2;
void setup(){
servo_claw.attach(2);
servo_botton.attach(3);
servo_joint1.attach(4);
servo_joint2.attach(5);
Serial.begin(9600);
}
void loop(){
int pot_inputs[4];
pot_inputs[0] = analogRead(pot_pin_claw);
pot_inputs[1] = analogRead(pot_pin_botton);
pot_inputs[2] = analogRead(pot_pin_joint1);
pot_inputs[3] = analogRead(pot_pin_joint2);
if(pot_inputs[0] > 511){
value_claw = 1;
} else{
value_claw = 0;
}
value_botton = map(pot_inputs[1]. 110. 800. 180. 0);
value_joint1 = map(pot_inputs[2]. 1023. 600. 30. 160);
value_joint2 = map(pot_inputs[3]. 170. 880. 180. 0);
if(value_claw) {
servo_claw.write(80):
} else{
servo_claw.write(50);
}
servo_botton.write(value_botton);
servo_joint1.write(value_joint1);
servo_joint2.write(value_joint2);
delay(5)
}
Show us the breadboard connections
Yes bro
Yes man
I am gonna do this I’m just waiting until I have enough redbull cans to replace the popsicle sticks with so I can have a redbull arm and is like to use much heavier servos
its not working how its should work claw making buzzing noise arm are unstable. I do not recommend waist money and time on this crap
se cayo el link amigo. lo puedes volver a colocar?
can fix the google drive its showing The requested URL was not found on this server
In some other videos.. i saw. that .. if we record the movements once.. then it can repeat it again and again...is that possible with. Any aurdino.. cuz. The other one also using aurdino
It only depends on your programming skils
link error 404
A great stay at home Covid-19 lock down project. I made it using a BBC Micro Bit with a Kitronics servo driver board and I/O edge connector.
Where are we supposed to keep the pot regulator at? Do we have to rotate it half before making the arms?
@@siddharajk hi check out #TechNickk
brother looks I need a huge favor from you I'm doing this project for the university and I have everything done that I just need to put the cables on the breadboard that I did it in a way and it does not work for me please help me pass me an outline or something but help me somehow
Did you pass?
Did you pass?
Highly elaborated work! Must be appreciated! Great design particularly for the jaw of robotic arm. What a fantastic idea! Keep up such great work!
can the actions of the arm be put on loop? or is this a one time code?
Hello, the link to access the code does not work.
Is there any way to reload it?
Thanks in advance, excellent work.
My servo and potentiometer r not synced?? What values to be altered from the code to sync it??
Did ur code work brother
que paso con el codigo, porque no puedo abrirlo o ya fue dado de baja???
Puede subir de nuevo el código, por favor? Gracias....
HELLO we are having some errors in our project relating to arduino codings please tell us what to do . the error is given below:
ALGUIEN TIENE EL CODIGO DE PROGRAMACION? QUE LO PUEDA AGREGAR, GRACIAS!
Can we use any other value of potwntiometer instead of b20k
the link does not work and you not even saying what I should and you did not list the full parts for the project. AT LEST ADD CAPTIONS
Few years ago I made similar arm but with record and play function. You can check that out here:
th-cam.com/video/Ma79CQSiT_A/w-d-xo.html
Sir, can I used 6 DOF servo motors in a breadboard instead of 4 DOF servo motors with a breadboard in a robotic arm project? Does it work? Please reply to my questions. Thank you, sir.
I does work (the principle is the same). You just have to add the two extra servos and potentiometers and write extra code for those too. You'd also probably need a stronger power source.
would u pls send the circuit diagram also
Χ;χαχα κινεζε
I have 100k and -10k potential meters so which is best
hlo plz tell me that why this drive link is not working and showing error plz share it in comment section i urgently needed it
the source code link is not working, could you please repost?
Felicitaciones. Que pena que ya no esta disponible el codigo...
Hanzhen harmonic drive gear , over 30 years experience ,,robot arm gear
Show us circuit diagram
pls shre link, it is not working pls
Improved version here - th-cam.com/video/zgZ3V056lZs/w-d-xo.html
Can you send the link code again, cuz the link on the bio is error
te quedo muy bien. yo tengo que hacer un proyecto asi me ayudarias
A great and creative solution! Very nice job.
Alguien por favor me podría mandar bn como se debe colocar cada cable ,quiero hacerlo pero me bloqueo en esa parte v: aiudaaaa
Circuit diagram pls
hola se podrian grabar las trayectorias? especificadas
Lograste hacerlo?
Sir, do you have the circuit diagram,? I need the circuit diagram, it's urgent. Thank you, sir.
I can not reach the code, can you send the code for me?
bro i need help pls reply
este link es de otro video y anda "www.mediafire.com/folder/0lwkm2ze12cnt/servo_arm_file"
gracias bro :)
its code is not being downloaded 404 error
I love you my life safe man
Source code link doesnt work😢
Is the programing in codeblock
Sir, can I used a 10 k potentiometer instead of a Rotary Potentiometer B20K in a robotic arm project? Does this project work or not? Please reply to my questions. Thank you, sir.
Yea, they only need voltage potentials, not much current so 10k will work
Circuit diagram???
ocupo el código de arduino porfa
i could not find the source code
my project aint working
Can a gear motor replace a servomotor?
Sir, can you tell me what is this blue square matt and also can you give me the link to buy the blue square matt? Thank you, sir.
It is cutting mat
se podría remplazar las baterías por un panel solar ?
pocito
the robot arm looks so ugly!
Diagrama de la placa?
Try using hall sensor for more precise instead of potensio
bro please give the code
The link is not working
Sir, code link is not opening,
Anyone please help 🙏 @namu lab
the link is not opening
hola desde argentina tendrA S ELDIAGRAMA DE CONEXIONES
cho e xin code với ạ , link kia lỗi r ạ, ngocthe9xbg2k@gmail.com
Hi cant open the code
i will promote your video for freee
Sir give connections
It'd be cool to add hepatic feedback
Bro i need circut diagram and by the way best video for robotic arm
Can i use ardunio uno on this project?
*yes ofc*
How are the connections of your dupont wires so stable without some soldering?
Does this work with an arduino uno insted of an arduino nano?
Yes
Hanzhen harmonic drive gear , robot arm gear , over 30 years experience
Bro please share the circuit diagram .
Thank you so much. I just spent $100 dollars on this project and all it did is burn my potentiometer and make a bunch of noises. And I am so glad that you did not put the wiring information in the video. (sarcasm) Once again Thank you.
Bro you need to know a little about reading arduino code in these situations plus these items don't cost that much lol
@@JavinarExe where I live, the cost is quite high
hiii brooo , how did you avoid vibration in servo motors , i used additional power supply to avoid it still no use . do you have any suggestion
use step motors instead, they're way smoother and very cheap
kindly share the coding program here in comment of this circuit
هل السيفو موتر 360 درجة او 180 درجة
where can u get the source code for this project @Namu Lab
Pls help gut guys
URL dead :(
Oye
Guys code not compiling anyone please help??
Really cool idea but instead of blasting music useful commenter or labels will be better and you should show the breadboard connection
code link is broken, can i have the new link.. thanks
can you show as that arduino program how you done it ?
Draw sketc please
hola saludos, me podrías enviar el codigo que no me funciona el link
gracias quedo atento
Not understanding please do once more slowly
I wasn't able to open the google drive link
Can anyone tell me where to connect the servo motos wires please. ...
코드가 작동하지 않습니다 아마도 복사하여 붙여넣고 설명에 넣을 수 있습니까?
I have the Arduino Uno arduino, does it need to be the arduino nano, or do I just need to plug it in where you tell it to?
Source code link has expired!!
يا ريت تحط جنب كل قطعة اسمها
please give an elaborate connection circuit of the arduino, ill subscribe after that.
It's awesome.
Thanks for the video sir. Soon we will have our robotics compitation at our school and Im going to make this.
Hi! The source code link is not working. Can you please share the code link again? Thank you
Can you share circuit diagram bro please 🙏🙏🙏
buen día.
el link de la pagina para acceder al código tiene un error. no permite entrar.