Control Servo Motor with Joystick - Arduino Tutorial
HTML-код
- Опубликовано: 6 апр 2020
- Hi friends, in this video i have shown how to control a servo motor using a joystick. you will require 2 servo motors, 1 joystick module, arduino UNO and a 9v battery or power source.
you can use servos in many arduino projects, such as robotic arm, spider bot, rc car, RC airplane, etc. it is very easy to program and use
Code Link: bit.ly/3e5MUfK
Solder Iron i Use: bit.ly/2GSArih
Helping Hand Magnifier: bit.ly/2Uh11oe
arduino uno Micro USB: bit.ly/aRdUiNo
also do check out these cool 3d Printers:
Creality Ender 3 pro : bit.ly/36m1POI
Creality CR-10s pro: bit.ly/2QmqU6z Наука
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
Is this proportional control, or is it just moving the servo to full 90 degrees from joystick movement? I do not see a demonstration of slow control and movement from the joystick. Just curious.
Which IDE are you using?
dang this might be the best engineering instructional channel ive seen
Yea must of them tell you to order some kit for like 70$
Love your channel, keep it up!!
Nice Video and project. great idea I'm going back to basics because I'm a bit rusty with arduino and looking for ideas
CODE not working again sir
Thnks bro it really works
Great video
9V? won't this damage the servo motor?
There is voltage regulator
@@sikhasingh9978 he didnt add any regulator
@@kevinzhai1049 wouldn't that have possibility of damaging the board?
this is so confusing
how can single servo be controlled using joystick both x and y coordinates?
you can not
Code link bro??
updated
@@SuperbTech super helpful to me, since I'm basically in the dark when coding, and all the other examples.lack a link to code. Thank you
Also it's been 8 months since you posted this so you may not notice it reply, but I was wondering, if I wanted to to use a stepper motor for one axis and the servo for another, and finnaly the switching (or click) function to trigger a simple dc motor (simple on while pressed off while not pressed function for the dc motor)....would that increase the complexity significantly? Or is it as simple as replacing a few things in the code ? (I realize this might be a stupid question this is my first coding project and I'm in over my head with just the basics to be honest :/)
@@shiftyjesusfish hey man this is more complicated because the other motors (stepper and dc motors) needs drivers for them to work. You can't directly connect them to the arduino otherwise you will break your board. The coding process shouldn't really be that difficult because there are a lot of existing code on the internet and a lot of tutorials to help you trough this. Combining the different code to one same file is not difficult either :) hope your projects are succesfull !
@@tsoundi_ I'm usigg a break out board motor controller with an arduino r3 uno clone, that i got in a little starter kit. But im having more trouble with the coding side of things than the hardware, c++ (and all computer language is difficult for me to wrap my head around properly)....i was td there are ways i make coding easier like using blocks or a program to help maintain the correct syntaxes but im so new to it all I don't even know where to start with those :/
works for a few seconds then stops
oh whoops i broke my arduino 👍