How to connect the TB6612FNG Dual H-Bridge motor dirver to an Arduino and Raspberry Pi

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • In this episode we take the TB6612FNG Dual H-Bridge motor driver and connect it to an Arduino & Raspberry Pi. We run two small gear motors that are great for small robotics.
    As promised, all the code used in this video is on Github!
    github.com/makersdigest/T04-M...
    Parts that were used in this video:
    TB6612FNG Driver: amzn.to/2TUhj6q
    Gear Motors: (Similar) amzn.to/2TTEiP9
    Arduino: amzn.to/2QgREHv
    Rapsberry Pi Kit: amzn.to/2Piy7kn
    Jumper Wires: amzn.to/2PkWxcX
    Breadboard: amzn.to/2QikbMQ
    Now go get creative! Share what you have made with me. I can be found at
    ● Facebook: / makersdigest
    ● Instagram: / makersdigest
    ● Twitter: / makersdigest
    ● Patreon: / makersdige
    If you liked this video, please consider subscribing. You can enable notifications for new videos when they are posted!
    See ya next time!
    #arduino #raspberrypi #makers
  • Jak na to + styl

Komentáře • 26

  • @pearlboy
    @pearlboy Před 2 lety +1

    In short and simple... nothing better than this video... Great Video.... 😀

  • @hubercats
    @hubercats Před 3 lety

    Very helpful video. Thank you.

  • @kwandakekana9890
    @kwandakekana9890 Před 4 lety

    Thank you so much .keep it up

  • @hardikkhandelwal8697
    @hardikkhandelwal8697 Před 5 lety +1

    I got two motor driver burn. Can i change the capacitor

  • @NormRasmussen
    @NormRasmussen Před 3 lety

    i watched the video and then looked through more recent videos but didn’t see where your recommend a different driver for steppers. do you mind giving your recommendations here in a comment?

  • @tontolala1
    @tontolala1 Před 4 lety +1

    What would happen if you change the frequency? Can you make your motors run faster?

    • @allensmithphotography
      @allensmithphotography Před 3 lety +1

      It's pwm. It will not make these motors run faster. If these were stepper motors with a stepper control board, then it would step faster by increasing the frequency. But simple DC motors would only be sped up or slowed down by the duty cycle(time on versus time off) of the pwm signal

  • @guilhermecintra5732
    @guilhermecintra5732 Před 4 lety +1

    Hi, very good content! I've received my TB6612 and was following your video. I used also a protoboard and an external power supply (12V/ 3.3A). I just wired Vm and Gnd of the system because I would check the logical VCC output 5V. I did not wire anything else. In a matter of second my TB got burned! I definitelly dont know what went wrong! Should no current be thru TB6612, right? Even if my supply is up to 3.3A.. I had nothing else wired! Could please help me? It is very important project to my degree.

    • @allensmithphotography
      @allensmithphotography Před 3 lety

      Did you make sure of the polarity of the power supply before connecting to the motor control? Elsewise it could be a bad board

    • @hoagq2591
      @hoagq2591 Před 2 lety

      I did the same as you and I also blew up the tb driver board, have you figured out why?

  • @sezertrkylmz
    @sezertrkylmz Před 3 lety

    The link of github seems broken.Can you upgrade it ? Thanks ! I really liked it.

  • @ashwinshrivastava3250
    @ashwinshrivastava3250 Před 4 lety

    Sir can this driver be used for motors with encoders?

    • @naboulsikhalid7763
      @naboulsikhalid7763 Před 2 lety

      absolutely. using encoder Ticks incremental values to speed the motor and encA ancB connection to change the direction according to which comes first

  • @Konyad
    @Konyad Před 2 lety

    Typo in the title :)

  • @Orc-icide
    @Orc-icide Před 4 lety +2

    github code not found....

    • @guillemjane-guasch5134
      @guillemjane-guasch5134 Před 4 lety +1

      If you go to the main page: github.com/makersdigest you will find all his projects, click on the TB6612FNG link.

  • @CarneSagrado
    @CarneSagrado Před 5 lety +2

    PAGE NOT FOUND on GITHUB

    • @hugohrg4381
      @hugohrg4381 Před 5 lety +3

      github.com/makersdigest/T06-TB6612FNG-Motor-Controller

  • @MrSparkefrostie
    @MrSparkefrostie Před 4 lety

    Complete noob question, how do you decide which pins to use and can you use more than one of these motor controllers on the Arduino uno?

    • @theson22788
      @theson22788 Před 4 lety

      you can use any pin but make sure the code match the pin number

    • @MrSparkefrostie
      @MrSparkefrostie Před 4 lety

      @@theson22788 thank you very much

    • @pippaknuckle
      @pippaknuckle Před 3 lety

      Only the analogue pins have pwm so you need to choose those to control motor speed.

  • @TheLinessCompany
    @TheLinessCompany Před rokem

    Why are you doing it in Python?