Windshield Wiper Motor Servo with Arduino & BTS7960 driver

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • In this video I convert a windshield wiper motor into a servo that is controlled with an Arduino, BTS7960 driver board and a Potentiometer .
    Sketch file;
    drive.google.c...

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

  • @sangkotsihite8108
    @sangkotsihite8108 2 месяца назад

    Gbu

  • @stevenmiddleton4430
    @stevenmiddleton4430 2 года назад

    Cool project! I almost have it working. There seems to be a lot of jitter. When I touch the motor pot wires at the base where the wire is exposed, it works a lot better. Is that a grounding issue? Any ideas how I can fix it other than having my finger on it? Hehe thanks!

    • @refab2262
      @refab2262  2 года назад

      Maybe a bad connection ? Do you have grounds connected between the Motor driver & Arduino?

    • @stevenmiddleton4430
      @stevenmiddleton4430 2 года назад

      @@refab2262 yes, they are sharing a ground.

    • @refab2262
      @refab2262  2 года назад

      I looked at my original sketch, it worked on mine as is, but I didn't declare the pot pins as inputs under setup. It may be worth trying.

    • @stevenmiddleton4430
      @stevenmiddleton4430 2 года назад

      @@refab2262 I will try that. Thanks for the replies! Once I get that working I am going to replace the pot with a second Arduino and use the Servo.write and other Servo commands to control it. Would the code you wrote work directly for that or do I need to modify it in some way to accept input from the other Arduino Servo commands. Thanks again!

    • @stevenmiddleton4430
      @stevenmiddleton4430 2 года назад

      I got it working! Turns out the pot was bad. I still could use some help with controlling it using Servo commands from another Arduino.

  • @christophecharroin6793
    @christophecharroin6793 2 года назад

    is it possible to make it work with 2 push button

    • @refab2262
      @refab2262  2 года назад

      with the Arduino I'd say yes, without the Arduino I don't know. I'm relatively new to coding, and am figuring it out as I go

    • @christophecharroin6793
      @christophecharroin6793 2 года назад

      @@refab2262 OK THANK YOU

  • @shubhamankush6992
    @shubhamankush6992 2 года назад

    How to operate this without potentiometer.

    • @refab2262
      @refab2262  2 года назад

      Using as a servo it needs to know the position, the potentiometer is the easiest. If your'e not using as a servo refer to the example sketch

    • @shubhamankush6992
      @shubhamankush6992 2 года назад

      @@refab2262 yes I am using 1 potentiometer for feedback but I don't want to use another potentiometer to control the motor in place of that I want to control the motor with code( like normal servo motor.)

  • @christophecharroin6793
    @christophecharroin6793 2 года назад

    Bonjour, est il possible d'avoir le code svp ?