Это видео недоступно.
Сожалеем об этом.

DC Motor Control with a Joystick and L293D - Arduino Tutorials

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • This video covers controlling a DC Motor using an Arduino, a Joystick, and an L293D. Our program is able to control the speed of the motor by moving the joystick. I cover wiring and coding in the video.
    This is a perfect beginner project for anyone learning to use an Arduino and should help you step into more advanced projects.
    Thanks for watching and I look forward to seeing you next video!
    Code and written tutorial linked below
    thedesignspace...
    - Logan

Комментарии • 13

  • @deathnote7943
    @deathnote7943 4 года назад

    hi i'm brazilian your video liked it a lot i will subscribe and thanks, if you have any wrong phrase i used google translator because i don't speak english

  • @ernesthumes2143
    @ernesthumes2143 4 года назад

    Thanks for the video. I'm a new subscriber to your channel. I haven't tried the project yet but I'm very intrigued. I have a project in mind using dc motors requiring a 24v source. If you could possibly do a video on how this could be done, it would be much appreciated. Thanks for taking the time to try to help us green horns out with your videos. Please keep it up.

  • @robinvangils2104
    @robinvangils2104 4 года назад +1

    Everything works fine, but I have the feeling my dc motor goes or full speed or stands still and it doesnt seem to have different speed while slowly pushing the joystick forward?!
    Code:
    int joyX = 0;
    int joyY = 1;
    int joyValX;
    int joyValY;
    const int leftForward = 2;
    const int leftBackward = 3;
    const int rightForward = 4;
    const int rightBackward = 5;
    void setup()
    {
    Serial.begin(9600);
    pinMode(leftForward , OUTPUT);
    pinMode(leftBackward , OUTPUT);
    pinMode(rightForward , OUTPUT);
    pinMode(rightBackward , OUTPUT);
    }
    void loop()
    {
    joyValX = analogRead(joyX);
    if (joyValX =550){
    joyValX = map(joyValX, 550, 1023, 0, 255);
    digitalWrite(leftForward , LOW);
    digitalWrite(leftBackward , HIGH);
    Serial.println(joyValX);
    }
    else if ((joyValX >450)&&(joyValX

  • @phamaohoanglong4097
    @phamaohoanglong4097 3 года назад

    Thank for the Video , the name of program you using in this , can you tell me ?

  • @nathantaylor8770
    @nathantaylor8770 5 лет назад +2

    This was a very helpful video. Could you please include a link to the code that you used?

  • @sjleto
    @sjleto Год назад

    What program are you showing on screen?

  • @richmiester6089
    @richmiester6089 5 лет назад +2

    There was a slight error in the code with the "+" at the end remove that and it should work

  • @remilessard622
    @remilessard622 4 года назад +1

    How would I include a SG92R servo in this code to control left and right with the servo?

  • @ganapatibhomkar223
    @ganapatibhomkar223 4 года назад

    Hello sir ... can u help me with a problem ?

  • @Rayzen11
    @Rayzen11 3 года назад +1

    the link to the code doesn't work.

    • @atheeqakbar527
      @atheeqakbar527 3 года назад

      ye there is something wrong i cant get to it