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

controlling BST7960 motor drive with ESP32

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • In this video I make a BST7960 motor controller work with a ESP32 microcontroller
    sketch Zip files
    drive.google.c...
    How to hook a PS3 controller to A PS3 controller.
    Pay attention to the versions, he uses. It does matter.
    • PS3 Controller + ESP32...
    Using servos with the ESP32
    • Using Servo Motors wit...

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

  • @AlbertoGarcia-gh7tb
    @AlbertoGarcia-gh7tb Год назад +2

    YOU ARE GREAT!!!!!!! THANKS A LOT

  • @AznivPetrosyan-oz7lo
    @AznivPetrosyan-oz7lo Год назад

    Thank You Very Much. You helped me a lot. Great job

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

    OHHHH THIS IS GREAT!
    Thank you so much!!!
    Does the motor module happily work off the 3.3v of the ESP 32?
    I also love the playstation controller as input, that's fantastic!

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

      I've ran it on the bench/desk running off the 3.3v. My controller has a voltage regulator, so usually split the output from the power (5-6v) supply.

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

    Hello Mike,
    Many thanks for this tuto.
    I am alas in trouble whith an unexpected issue... could you explain me something ?
    first of all say that I already drive two of this BTS, wired as the same to your "method 1" and without problem through an Arduino (Nano). So, my BTS are already soldered, pins 3,4,7 together (the BTS 5V then)
    In order to add an OTA function, I was working on migrating my code toward an ESP. On a breadboard, with motors simulated by leds, no problem at all. But at the end, in "my real life", with motors connected in place of the leds, first the motors don't run and, even, the code itsef brake !
    based on your sketch : this, below, works perfectly with a led... and crashes on the BTS, DUE TO SHORT CIRCUIT BEETWEEN 19 & 21.
    At the moment, I have not yet tried to desolder and check the "method 2"... I would like to know your opinion and own experience first.
    a big thank you in advance
    Philippe
    const int BST_LPwm = 21 ;
    const int BST_RPwm = 19 ;
    void setup() {
    ledcSetup(15, 1000, 8) ;
    ledcSetup(14, 1000, 8) ;
    ledcAttachPin( BST_LPwm , 15) ;
    ledcAttachPin( BST_RPwm , 14) ;
    }
    void loop() {
    ledcWrite(15, 0) ;
    ledcWrite(14, 200) ;
    }

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

      Is a ground connected between the BST and The Controller? According to the spec. sheet, for the BST the lowest working voltage is 3v (logic side). The Esp32 outputs 3.3v. It's possible that 2 BST's maybe dragging the voltage down to much ? If you have Voltmeter, check the Volts between the Pwr & Ground at the BST, when its on and, supposed to be running. The minimum specs on the cheap Chinese boards maybe iffy.

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

    good job

  • @canilvonhauszuruck-pastora8411

    Hello friend.How can I control two 30wtss DC motors by rc?

    • @refab2262
      @refab2262  Год назад +1

      S0rry I can't help I haven't done anything with RC yet. with the microcontroller - yes. w/o it I don't know I will include a link to another U-tuber with the microcontroller. ruclips.net/video/3pYWLF8qw-g/видео.html

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

    Why do you need the potentiometer with the PS3 controller?

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

      I use the potentiometer to let the esp32 know the motors position
      so, the motor position mirrors the movement of the joystick.

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

    People that can spit out a code like i can spit ou a weld will not give out a code or be helpful from what ive found. As far as hobbies go this community seems to try to not help. They all do the same vids with same nfo. You may be new but more helpful than anyone else. I have a cytron dual driver that requires a microcontroller and havent been successful. Ill try to modify your sketch to work with cytron. If successful ill post a link here.

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

      I glad you found my video useful and hope you can get your project going.

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

    how did you connect the pins

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

      are you referring to the EN-L & EN-R ? I cut the end off 1 of my jumper wires and spliced it into the end of a second jumper wire, thou I could have ran 2 separate jumper wires to the bread board.

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

    Xbox one?

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

      Sorry, All I have is PlayStation stuff