ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Arduino tutorial | How to control servo motor with joystick and arduino
ฝัง
- เผยแพร่เมื่อ 22 ส.ค. 2019
- hello!
In this video,you can learn how to use servo motor using joystick.
materials:-
Arduino uno
Servo motor
Joystick
breadboard
Jumper wires
arduino radar system=
• Arduino projects | ard...
Arduino Tutorials | How to measure distance with arduino using ultrasonic sensor=
• Arduino Tutorials | Ho...
code= bit.ly/2G4ERAm
Please subscribe for more videos
Welcome done bro i is very easy for everyone this project is amazing
If your servo motor is going left and right when youre turning it to the left side, make the delay to 1 at void loop
hi, it works, only do u know why my servo motor shakes when turning to the left and works normal when turning to the right?
edit: i found the solution, i prolonged the delay time to 150 and it works, not sure if this has other consequences doh?
i got it 2 work thank u
hi great explainatino have you done one where we could attach another motor on the x axis an get it to stay where it is when you take finger off.want tp controll webcam for 3d printer cheers
Nice video bro, i was doing a project where i could control a webcam with a servo and joystick and needed a video 2 do it b4 i put a webcam on it, thx bro!
thank u sir it works
thanks bro
it works but we have to do some augments
Hey im not a programmer but is there a way to make the servo motors hold the position even if the thumbstick goes to 0
And if i want use 2 ou 3 more servo motor with another 2 or 3 joytick? how is the code? a little example please. Thks bro
1000 gracias
nice video
Tnx ❤
@@mr.arduino1397 tnx
I can't find the code in the description
You know what beats' the heck out of music. Actually talking about what your doing.
Does this work with continuos rotation motors or no
probably not and probably late comment
OMG thank You
is it really just copy and paste the code? Keep getting errors when trying to upload. Doing this for my son and im lost.
@@fritzlamourjr.8206 The code is in the description like a Link, it leaves You into a page and You can copy it.
@@fritzlamourjr.8206 i can help You if You want :D
@@fritzlamourjr.8206The code is in the description, inside a website :))
@@fritzlamourjr.8206i can help you
what did you use to edit the arduino
What?
type arduino in google then click on the first site arduino.cc and then download it but donc forget to plug in your arduino with a usb cable
which app did you use for the diagram
yeah wich one
Fritizing
Yeah whenever I ran the code I was prompted with Failed to compile to arduino uno
It pauses for a few seconds when i hook it up to the battery andyone know how to fix this problem
Is there a way you can do the same thing with the raspberry pi?
im probably too late but im pretty sure no.
The screen recorder cut off the first 3 digits of code at the final bit, and the link in the description does nothing. Help me.
bit.ly/2G4ERAm
Thanks
If the link in the description didn't help you how did this one because its the same link
Your guess is as good as mine, if not better
it all works great until i plug in my batterie. any ideas?
did not work
How can u get 360 movmebt
need to use 360 servo/continuous rotation servo
2 more questions( noob here) why does the arduino pause/restart every x seconds?
and why does it turn more to the right and less to the left?
The Code:
#include
const int Y_pin = A0; // analog pin connected to Y output
Servo myservo;
int val;
void setup() {
myservo.attach(7);
}
void loop() {
val = analogRead(Y_pin);
val = map(val, 0, 1023, 0, 180);
myservo.write(val);
delay(15);
}
Thank you so muchhhhh
what is the page where you configure the servos
Hi
mine not work
Is it just my thing saying too few arguments?
Sadel ek no ka dimag khaou
My code says there is an error
mine did too but then i reuploaded it and it worked. is it error exit 1 or something?
#burst
it did not work
තද
Horrível a forma que vc mostra o passo a passo
Non funziona 🤬🤬🤬