Control a Positional Servo Motor with an Arduino (Lesson #10)

preview_player
Показать описание

Learn how to use the Arduino servo library to control a positional servo motor in this video.

0:00 intro
0:34 wiring
1:33 example code
3:09 changing speed
6:37 limitations
7:30 mechanical connections

#STEM #sciencebuddies #arduino #electronics #programming
*******************************
Connect with Science Buddies:

Рекомендации по теме
Комментарии
Автор

Can you make a video about how to make a jet engine?

mshalima
Автор

Hey, would you explain to me if I would be able to switch a servo between 90 and 140 quickly? I also want to have it so when I press a button it opens to 140, and when I let go it goes back to 90. Any way? I think you would know.

A.E.Robotics
Автор

4:28 you can change the pos to an float and change the code

oggythepro
Автор

My Servo motor goes 0 to 90 to180 degree counter-clockwise is there anyway to make it clockwise, Like If I do `myservo.write(90);` ?? I want it to go 90 degree to the clockwise direction NOT counter-clockwise.

Saffron_SV
Автор

For anyone wondering where to connect the wires, the brown goes to ground, red to 5V, and orange to pin 9

Nick-efms
Автор

CAN U MAKE A SENSOR TO CHECK WE HAVE TAKE OUR KEY WHEN WE GO OUT?

SYLVIAFUNGKAISUEN
Автор

Can i rule my servo rotation to a specific range, like a 60 degrees rotation counter clockwise and clockwise?

bernardomendes
Автор

How do I make my servo to move to a angle and delay for about 4 sec and go back to the same angle with a sensor right now I have a Arduino uno and an IR sensor I can't figure out how to do it I've watch many videos but all of them failed how can I code thisM

shaun
Автор

Hi, can you make video about controlling a servo motor by a slider button assigned to a variable command such as = (if val == '(inserted variable)')... then the specific command to do so with a slider.

Just working on a bluetooth car with a robotic arm that has 3 servo motors that require the usages of sliders. Thank you!

livarei
Автор

I see the wires connected from the Arduino to the breadboard. Can you tell me what those are and how to set that up? I'm just a mom trying to get the motor to work for the Halloween pumpkin and I'm not very tech savvy. Any help would be very much appreciated.

TheQueenuvhearts
Автор

How can I add a switch to this? like I want the servo to go clockwise when I turn the switch on and anticlockwise when I turn the swtich off

udaykaranwal
Автор

my problem is that my motor doesn’t move i have the right codes and the right wires placed but it just doesn’t move

Malak-yjor