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
@DIYTechRush2 жыл бұрын
Thanks, I appreciate it
@armelchiza3771 Жыл бұрын
The only video that worked for me tbh, thank you
@DIYTechRush Жыл бұрын
No problem 😊
@Kyt_012342 жыл бұрын
Brilliannt, thanks for the map function!
@DIYTechRush2 жыл бұрын
No worries!
@soopengmingsoopengming1462 жыл бұрын
Crystal clear explaining for beginners. Thanks
@mingosutu Жыл бұрын
Good job. I was thinking if you could use the Infrared in this project.
@danielcanon10093 ай бұрын
Saludos desde Colombia muchas gracias por compartir, gran explicación y trabajo
@The1Creston Жыл бұрын
Thank you for the clarity
@DIYTechRush Жыл бұрын
Any time!
@m_som Жыл бұрын
Thank you man, that was excellent 💓
@DIYTechRush Жыл бұрын
My pleasure!
@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?
@dharmeshpithva32623 ай бұрын
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
@malikthetalentmaker60013 жыл бұрын
Hey I wanted a help in unity 3d endless runner I made multiple jump animations Can I make unity play them randomly? And how?
@linalin27992 жыл бұрын
What kind of wire did you use to connect the motor to the l298n
@DIYTechRush2 жыл бұрын
Simple Jumper wires! But it doesn't matter if you have different ones.
@dr.saurabhipatkar54415 ай бұрын
Code is not working
@myidahohomestead.71232 жыл бұрын
I need this but with a roboclaw motor driver not the L298N
@Chickennugget-vq6lw Жыл бұрын
hi what value would I use if i wantef to use the y instead of the x
@DIYTechRush Жыл бұрын
Just use the Ypin of the joystick 🕹
@saisrinivas20565 ай бұрын
Can we control the same using a mobile Application with 4G module..??
@africantech54 ай бұрын
dabble app
@smileee_roses_forever10423 ай бұрын
Which port we need to select?
@DIYTechRush3 ай бұрын
Check out my first tutorial
@AutoneticsProjectGalaxy9 ай бұрын
thanks
@DIYTechRush9 ай бұрын
No problem
@Mr.P539 Жыл бұрын
Hi, thank you for sharing, can you share the code please...Thank you
@malikthetalentmaker60013 жыл бұрын
Geeeeeniuuuus
@stevanardilaacero47858 ай бұрын
No me funciono la programación
@Pranav-wk8wm10 күн бұрын
where is the code
@Pranav-wk8wm10 күн бұрын
which link is the code
@mo135_cod22 жыл бұрын
code ????
@fats12278 ай бұрын
I relate to this
@infinitylike5522 Жыл бұрын
Ajoyib
@ace.51629 ай бұрын
Bro pls share the code man
@AldoHernandez-ou5mw7 ай бұрын
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