Arduino Tutorial 30- Control DC Motor Speed and Direction using a Joystick

  Рет қаралды 40,225

DIY TechRush

DIY TechRush

Күн бұрын

Пікірлер: 38
@deadlymedley3306
@deadlymedley3306 2 жыл бұрын
Best tutorial for controlling dc motor with joystick! I tried your code and it worked perfectly and it helped me understand the code a little better
@DIYTechRush
@DIYTechRush 2 жыл бұрын
Thanks, I appreciate it
@armelchiza3771
@armelchiza3771 Жыл бұрын
The only video that worked for me tbh, thank you
@DIYTechRush
@DIYTechRush Жыл бұрын
No problem 😊
@Kyt_01234
@Kyt_01234 2 жыл бұрын
Brilliannt, thanks for the map function!
@DIYTechRush
@DIYTechRush 2 жыл бұрын
No worries!
@soopengmingsoopengming146
@soopengmingsoopengming146 2 жыл бұрын
Crystal clear explaining for beginners. Thanks
@mingosutu
@mingosutu Жыл бұрын
Good job. I was thinking if you could use the Infrared in this project.
@danielcanon1009
@danielcanon1009 3 ай бұрын
Saludos desde Colombia muchas gracias por compartir, gran explicación y trabajo
@The1Creston
@The1Creston Жыл бұрын
Thank you for the clarity
@DIYTechRush
@DIYTechRush Жыл бұрын
Any time!
@m_som
@m_som Жыл бұрын
Thank you man, that was excellent 💓
@DIYTechRush
@DIYTechRush Жыл бұрын
My pleasure!
@HashbrownDestroyer
@HashbrownDestroyer Жыл бұрын
I have the same motor controller but mine came in a kit and it has click connectors instead of separate pins. WIll it still work for this project?
@dharmeshpithva3262
@dharmeshpithva3262 3 ай бұрын
good project. in this project how can I add potentiometer for speed control instead of joystick and also motor automatically reverse forward and delay cycle code change. please reply
@malikthetalentmaker6001
@malikthetalentmaker6001 3 жыл бұрын
Hey I wanted a help in unity 3d endless runner I made multiple jump animations Can I make unity play them randomly? And how?
@linalin2799
@linalin2799 2 жыл бұрын
What kind of wire did you use to connect the motor to the l298n
@DIYTechRush
@DIYTechRush 2 жыл бұрын
Simple Jumper wires! But it doesn't matter if you have different ones.
@dr.saurabhipatkar5441
@dr.saurabhipatkar5441 5 ай бұрын
Code is not working
@myidahohomestead.7123
@myidahohomestead.7123 2 жыл бұрын
I need this but with a roboclaw motor driver not the L298N
@Chickennugget-vq6lw
@Chickennugget-vq6lw Жыл бұрын
hi what value would I use if i wantef to use the y instead of the x
@DIYTechRush
@DIYTechRush Жыл бұрын
Just use the Ypin of the joystick 🕹
@saisrinivas2056
@saisrinivas2056 5 ай бұрын
Can we control the same using a mobile Application with 4G module..??
@africantech5
@africantech5 4 ай бұрын
dabble app
@smileee_roses_forever1042
@smileee_roses_forever1042 3 ай бұрын
Which port we need to select?
@DIYTechRush
@DIYTechRush 3 ай бұрын
Check out my first tutorial
@AutoneticsProjectGalaxy
@AutoneticsProjectGalaxy 9 ай бұрын
thanks
@DIYTechRush
@DIYTechRush 9 ай бұрын
No problem
@Mr.P539
@Mr.P539 Жыл бұрын
Hi, thank you for sharing, can you share the code please...Thank you
@malikthetalentmaker6001
@malikthetalentmaker6001 3 жыл бұрын
Geeeeeniuuuus
@stevanardilaacero4785
@stevanardilaacero4785 8 ай бұрын
No me funciono la programación
@Pranav-wk8wm
@Pranav-wk8wm 10 күн бұрын
where is the code
@Pranav-wk8wm
@Pranav-wk8wm 10 күн бұрын
which link is the code
@mo135_cod2
@mo135_cod2 2 жыл бұрын
code ????
@fats1227
@fats1227 8 ай бұрын
I relate to this
@infinitylike5522
@infinitylike5522 Жыл бұрын
Ajoyib
@ace.5162
@ace.5162 9 ай бұрын
Bro pls share the code man
@AldoHernandez-ou5mw
@AldoHernandez-ou5mw 7 ай бұрын
int speedPin = 3; int dirPin1 = 4; int dirPin2 = 5; int readPin = A0; int readValue; void setup () { // put setup code here pinMode (speedPin, OUTPUT); pinMode (dirPin1, OUTPUT); pinMode (dirPin2, OUTPUT); pinMode(readPin, INPUT); analogWrite(speedPin, 60); digitalWrite(dirPin1, HIGH); digitalWrite(dirPin2, LOW); } void loop () { // put main code here readValue = analogRead(readPin); if(readValue < 400) { analogWrite(speedPin, map(readValue, 0, 400, 255, 60)); //map(readValue, 0, 400, 255, 60); digitalWrite(dirPin1, HIGH); digitalWrite(dirPin2, LOW); }else if(readValue
Arduino Tutorial 31- How to Use the Infrared (IR) Remote
8:45
DIY TechRush
Рет қаралды 127 М.
How to Use a Joystick with Arduino: Wiring and Basic Controls
13:44
Rachel De Barros
Рет қаралды 23 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
How to control a DC motor with an encoder
9:30
Curio Res
Рет қаралды 473 М.
L298N Motor Driver | Control DC Motor using Arduino and Joystick 🕹
5:23
hash include electronics
Рет қаралды 23 М.
How to Use a Joystick with Arduino (Lesson #13)
11:42
Science Buddies
Рет қаралды 80 М.
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 2,7 МЛН
DC Motor Control with an H-Bridge and Arduino (Lesson #17)
19:16
Science Buddies
Рет қаралды 107 М.
How PWM works | Controlling a DC motor with a homemade circuit
10:01
How to control DC motor with L298N driver and Arduino
5:48
Circuit Magic
Рет қаралды 444 М.
DIY Electronic Controlled Motorized Wheelchair
18:17
element14 presents
Рет қаралды 45 М.