Arduino DC Motor Control with Analog Joysticks
ฝัง
- เผยแพร่เมื่อ 6 มิ.ย. 2024
- This video shows how to use an analog joysticks with an Arduino to control the speed and direction of DC motors. This is a companion video to our Arduino ROV project. This video shows how to build the ROV: • Make an Arduino ROV (R... , but you can use this circuit for any other project with brushed DC motors. You can find written instructions, including a parts list, circuit diagram, and example code, on the Science Buddies website: www.sciencebuddies.org/scienc...
0:00 introduction
0:15 circuit overview
0:53 breadboard layout
9:20 code
13:09 simulation
Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at www.sciencebuddies.org to learn more.
#STEM #sciencebuddies
*******************************
Connect with Science Buddies:
TWITTER: / sciencebuddies
FACEBOOK: / sciencebuddies
INSTAGRAM: / scibuddy
PINTEREST: / sciencebuddies
I was going analog due to a lack of digital comprehension. Now I can change my plans! Thank you so much! 😃👍🏻👍🏻👍🏻
GREAT WORK AS ALWAYS!!!🔥🔥🔥🔥
Nice!!!
I have difrent joysticks and my science project is due tomorrow what should I do
nice I think it is useful to make rc car
Would you need a second bridge to control a third motor?
Yes, if you wanted a third motor in this case you'd need another H bridge.
thanks for the video but we are using l298n dc motor driver so can you give modified code and pin diagram for it.
Hi - we're unable to give modified circuit diagrams and code for customized projects. If you need help with something like this you can try the official Arduino forums or other dedicated electronics forums like StackExchange.
whats the point of defining the enable pin? you don't seem to use it.
They're used way at the end of the code with analogWrite, lines 92 and 93.
How can i buy that kit?
We sell an Arduino starter kit but the joysticks and underwater thrusters must be purchased separately. You can find a parts list for the project here: www.sciencebuddies.org/science-fair-projects/project-ideas/Robotics_p052/robotics/arduino-underwater-ROV#materials
Did we use any sensor here?
These project does not use any sensors since common Arduino sensors are generally not waterproof and would not have the intended effect if you put them inside a waterproof container. e.g. an ultrasonic distance sensor would just measure the distance to the inner wall of the container, not to objects in the water.