Continuous Rotation Servo Motors and Arduino (Lesson #11)

  Рет қаралды 65,491

Science Buddies

Science Buddies

Күн бұрын

Пікірлер: 48
@mjukiz
@mjukiz Жыл бұрын
This series is great. Thanks a lot for putting the time and effort into making these tutorials!
@angelosnegkas
@angelosnegkas Жыл бұрын
Thank you! Just what I was looking for!
@jacksonfarhat3742
@jacksonfarhat3742 9 ай бұрын
Love these videos, keep up the good work. Though I was wondering, where do you buy your parts, and also what parts should I consider buying if I am starting to get into Arduino?
@Science.Buddies
@Science.Buddies 9 ай бұрын
SparkFun and Adafruit are both great vendors for hobbyist electronics. You can also buy most things on Amazon, but there are so many parts available that sometimes it can be confusing and harder to find what you want.
@coolguyz1016
@coolguyz1016 9 ай бұрын
What parts would you consider buying when starting out?
@Science.Buddies
@Science.Buddies 8 ай бұрын
If you are just starting and want to learn the basics, then at minimum you want a starter kit that has an Arduino, USB cable, breadboard, jumper wires, LEDs, resistors, and buttons. That will be enough for you to follow the first few videos in our tutorial series. Beyond that, there are more expensive intermediate and advanced starter kits that include additional sensors and motors etc. It depends on how much money you want to spend up front vs having to buy more parts later. If you plan to learn more eventually it may be worth just buying one of the bigger starter kits now.
@wajdanali3738
@wajdanali3738 8 ай бұрын
Sir can we use the delay function in the Arduino to make this motor rotate for sometime in one direction and then in opposite?
@Science.Buddies
@Science.Buddies 8 ай бұрын
Yes you can!
@danielperocho2957
@danielperocho2957 15 күн бұрын
@@Science.Buddieshow?
@NA-jy4zd
@NA-jy4zd 7 ай бұрын
Is there a way to remove the range mentioned at 2:40? The servo I am using only has one velocity for every 10 power, and I want it to increase linearly. Is there another type of servo to use?
@Science.Buddies
@Science.Buddies 7 ай бұрын
We can't say for sure, it would depend on the specs of the individual servo.
@futiled9304
@futiled9304 Ай бұрын
Hello sir. Can I add a button to send the signal in order to continuously rotate the servo until I press the button again?
@Science.Buddies
@Science.Buddies Ай бұрын
Yes you can! We have a tutorial about buttons in our Arduino playlist linked in the description.
@juanmakabayan6577
@juanmakabayan6577 10 ай бұрын
Thanks bro!
@timotheethibault3223
@timotheethibault3223 Жыл бұрын
Nice video
@dicegamenetwork
@dicegamenetwork 8 ай бұрын
1:50 I used the Sweep example code and removed all code in the loop. The sevo barely moves then stops moving. Any idea as to why it might happen? How can I look at the header file in a file editor? Thanks
@Science.Buddies
@Science.Buddies 8 ай бұрын
If you remove the code in the loop, then you still have the myservo.attach(9); line in the setup function that will run. This may cause the servo to move briefly depending on its position before the code started. As for other Arduino IDE questions, you are better off asking on the official Arduino forums.
@dicegamenetwork
@dicegamenetwork 8 ай бұрын
@@Science.Buddies the problem was I jumped around in the video and realized i have 180 servos and not 360
@stevhandingwall2028
@stevhandingwall2028 12 күн бұрын
Mine didn’t work it still rotated when I put 90 degrees as the angle
@hemendrasakpal4307
@hemendrasakpal4307 Жыл бұрын
How can I make the cotinuous servo turn just 90 degrees in either direction
@Science.Buddies
@Science.Buddies Жыл бұрын
If you want to turn exactly 90 degrees, it would be better to use a positional servo. You could approximate it with a continuous servo by timing how long it takes the servo to turn 90 degrees and using delays to turn it on for a certain amount of time.
@railduck
@railduck Жыл бұрын
@@Science.BuddiesYou can use servo.h library to control it accurately, you dont need to do it thru delay commands
@Science.Buddies
@Science.Buddies Жыл бұрын
The servo library is written for positional servos - if you use it with a continuous rotation servo, you will control the speed of the servo, not its position.
@adisonadison4868
@adisonadison4868 8 ай бұрын
Sir from were can we buy this
@Science.Buddies
@Science.Buddies 8 ай бұрын
These servo motors are available from a variety of stores online, they can be hard to find at physical stores.
@zaccora8831
@zaccora8831 5 ай бұрын
how do i make it not dependant to computer as in like I want it to be powered by a battery so that it can move on it's own without the connection of the computer?
@Science.Buddies
@Science.Buddies 5 ай бұрын
Check out this video! kzbin.info/www/bejne/f2iwo39rhpytrLssi=okMzc6IpDMzdPtb0
@rankz3362
@rankz3362 Жыл бұрын
bro thnx!!
@hanabi7514
@hanabi7514 9 ай бұрын
IS IT POSSIBLE TO SET THE SERVO MOTOR IN A SPECIFIC TIME? LIKE AN ALARM, IS IT POSSIBLE TO ROTATE IT WHEN THE SPECIFIC TIME CAME?
@Science.Buddies
@Science.Buddies 9 ай бұрын
Hi - to do this you would need a "real time clock" (RTC) add-on for the Arduino UNO R3. The Arduino UNO R4 contains a built-in real-time clock: docs.arduino.cc/tutorials/uno-r4-minima/rtc/
@utkarshmalviya6298
@utkarshmalviya6298 7 ай бұрын
​@@Science.Buddies Please make a video on 'how to control a servo with RTC library '
@humzajohnson8096
@humzajohnson8096 8 ай бұрын
what do i put in the loop function, i suck at coding
@teovanlung-oa
@teovanlung-oa 8 ай бұрын
You dont need the loop function if you only use this for testing the continuous servo, if you want to adjust the speed while its rotating or you have other components, then you can use the loop function
@humzajohnson8096
@humzajohnson8096 8 ай бұрын
sorry, can u explain why i dont need a loop function and why id need one if other componenets were atttached? Thanks for ur help so far and the quick response!@@teovanlung-oa
@Science.Buddies
@Science.Buddies 8 ай бұрын
Hi - if you are new to Arduino, we recommend starting at the beginning of our tutorial series (linked in the description), which will explain more about what the setup and loop functions do.
@kadirhaldenbilen6149
@kadirhaldenbilen6149 11 ай бұрын
Can you make the motor make for example 15 full turns (360 x 15) and then stop. Then later make reverse 10 full turns (360 x 10) and stop?
@Science.Buddies
@Science.Buddies 11 ай бұрын
You would need to either time how long it takes to make a turn (which can vary if there is a load on the motor) or use something called an encoder for feedback control to count how many times it turns.
@kadirhaldenbilen6149
@kadirhaldenbilen6149 11 ай бұрын
@@Science.Buddies So then it is just a DC motor. You have almost no control over it.
@Science.Buddies
@Science.Buddies 11 ай бұрын
For a continuous rotation servo, you have control over its speed, but not its angular position. A positional servo (which we have a separate tutorial on) lets you control the angle but it won't go through continuous full 360 degree rotations. To get position feedback and control for a continuous rotation servo, you need additional information from an encoder which measures the motor's position (unfortunately we don't have a tutorial on that yet).
@kadirhaldenbilen6149
@kadirhaldenbilen6149 11 ай бұрын
@@Science.Buddies I know how a normal servo works and how you can get angular position. But without angular position (or at least number of 360 turn) information, it is no more a servo. Just like a dc motor with gear reduction and a driver on board. Because you can do that "encoder control" with any dc motor. Actually there are dc motors with built-in encoders available at very appropriate prices.
@zxminty
@zxminty 3 ай бұрын
Hello can you please send the code
@Furaein
@Furaein Жыл бұрын
bro stop degree 90 no stopped ??
@pihie
@pihie 10 ай бұрын
for some reason it moves very slowly when gets speed 90
@rikkie4244
@rikkie4244 9 ай бұрын
have you found the solution? tried setting its speed to 93??
@pranitengineer2080
@pranitengineer2080 7 ай бұрын
where is the sourse code
@Science.Buddies
@Science.Buddies 7 ай бұрын
You can find example code here: wiki-content.arduino.cc/en/Tutorial/LibraryExamples/Sweep
@LIMMEILINMoe
@LIMMEILINMoe 21 күн бұрын
CODING PLZ
@dea6492
@dea6492 Жыл бұрын
I Thank 🫵
How to Use a Microphone with Arduino (Lesson #12)
9:34
Science Buddies
Рет қаралды 56 М.
Servo Motors, how do they work?
15:12
The Engineering Mindset
Рет қаралды 2 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 108 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 21 МЛН
Control a Positional Servo Motor with an Arduino (Lesson #10)
8:28
Science Buddies
Рет қаралды 61 М.
Arduino Tutorial 30: Understanding and Using Servos in Projects
18:05
Paul McWhorter
Рет қаралды 250 М.
Quick Guide to Servos
4:15
SparkFun Electronics
Рет қаралды 103 М.
SERVO CONTINUOUS ROTATION MOD WITH PWM ROTATION/SPEED CONTROL
4:42
H.R.E SYSTEMS
Рет қаралды 117 М.
Positional vs Continuous Rotation Servo Motors
6:48
Science Buddies
Рет қаралды 92 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,3 МЛН
How Servo Motors Work & How To Control Servos using Arduino
9:54
How To Mechatronics
Рет қаралды 684 М.
Multiple Servo Motor Control with Joystick and Arduino
5:36
Maker 101
Рет қаралды 999 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 108 МЛН