BLDC Hover Board Motor Controller | Arduino Mega | Part 2 | Tutorial # 36

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • Alexa Taking out the trash
    www.youtube.co...
    Arduino Code:
    github.com/nas...
    5V-36V 350W DC Brushless Motor Controller BLDC PWM Driver Board
    goo.gl/qnQ32U
    Specification :
    Operating voltage: DC 12V-36V
    Operating Current: less than or=15A
    Driver Power: less than or =500W
    Speed Voltage: 0.1V-5V
    Operating Temperature:-40-85C
    Humidity: 90%RH
    Stall protection:Yes
    Enable Control: Yes
    Over-current protection: Yes
    Steering control: Yes
    Speed control signal: Yes
    Size: 63*42*17mm(L*W*H); Probe size 3mm,length: fixing hole center distance 57mm; width:fixed hole center distance 36.5mm
    Power terminal Out:
    VCC(positive power supply)
    GND(negative one)
    MC(motor phases W)
    MB(motor phases V)
    MA(motor phase U)
    Set for the control side:
    GND control terminal ground
    VR the governor end 0-5V(corresponding to 10% of motor speed -100%)
    ZF reversing control(connected to 5V or ground can charge the motor rotation direction)
    M tachometer pulse output(depending on the number of motor poles corresponding to the number of pulse per revolution of the output number)
    EL enable control terminal(connected to 5V ot ground running then 5V, grounding the motor stops)
    5V 5V control terminal
    HALL for the hall terminals:
    5V, Hall power positive
    Ha, Hall signal
    Hb, Hall signal
    Hc, Hall Signal
    GND, Hall negative
    Wiring:
    Control terminal for SET:
    1. The motor speed control wiring methods: available potentiometer system speed can also be connected to the MCU control, when the potentiometer control wiring, the potentiometer middle pin is connected to VR speed port, a potentiometer connected to both ends of 5V and GND terminal voltage more high speed faster
    2. Motor steering control wiring methods: you can switch control can also be connected to the MCU control, to GND in one direction, then in one direction 5V
    3. Pulse speed signal: high and low output. IC can not understand the information with the customer request
    Hall signal inputs for hall:
    The wiring diagram is shown, one corresponding to the HA, HB,HC and on the motor, 5V power supply connected to the motor hal signals positive, GND power supply negative signal to the motor hall
    Note: Due to different motor manufacturers to make the hall of hall line order does not necessarily follow the line on the board to match the sequence, need to be adjusted, please parents who pay attention! If the line sequence wrong, does not boot properly, current, or start other phenomena not open, forced to use the drive plate will burn!!!
    Motor driver board 12-36V DC power input,
    VCC positive power supply,
    GND power supply is ground (0 Volt).
    Electrical wiring methods:
    Brushless DC motor for the three lines, corresponding MA/U,MB/V,MC/W
    Tips: If you use less than 60W, without additional heat sink , be sure to add more than 60W heatsink fins drive efficiency without lowering the temperature is too high will shine into permanent damage! The size of the heat sink may be a bad environment based work(recommended cooling surface area greater than 200 square centimeters)!When installing the heat sink ,must pay attention to the back of the module 6 MOS pipe insulation, no insulation, it will be adhered to drive plate permanently damaged! Proposes to add insulation films, both sides of the insulating sheet plus thermal grease!
  • Наука та технологія

КОМЕНТАРІ • 133

  • @mkrc64robotics76
    @mkrc64robotics76 3 роки тому +3

    thank you but i received error code due to Arduinojson than i downgrade the library to ver 5.13 thanks

  • @wavelets_podcast
    @wavelets_podcast 2 роки тому +1

    Hello, im just here to tell anyone whose gonna use this driver that the manufacturer say that "The 5V output port on the drive board is forbidden to connect to external power equipment. It is only applicable to an external potentiometer or switch for speed adjustment, commutation and enabling operation". So, don't connect the 5V.

  • @AdamAdam-fl8hg
    @AdamAdam-fl8hg 4 роки тому +2

    Can you make it with Raspberry pi and python ?

  • @masterprogrammer8332
    @masterprogrammer8332 5 років тому +4

    nice work showing us all that you done with this. It's a lot sturdier solution for a robot than a worm gear motor and surprisingly, a lot cheaper as well.

  • @stevenlim9205
    @stevenlim9205 5 років тому +4

    thanks for a great video
    anyway.. is it possible to use 2 bldc motor using two driver ? how to combine it with the code that you give ?
    thanks

    • @nikmische8456
      @nikmische8456 3 роки тому

      I'm currently working on this issue. I've got two wheels to spin....pretty easy, but the code doesn't allow for a lot of fine control.......I really have been trying to get six of these working together with the mega....We'll see

    • @jean-paulmaroun179
      @jean-paulmaroun179 2 роки тому

      @@nikmische8456 hello Nik can you please upload the code here

  • @UlfBartsch
    @UlfBartsch 4 роки тому +1

    I have built this project. However, with an ebike controller.
    The motor runs as it should with a potentiometer.
    If I give a PWM signal with an Arduino to the controller, the motor runs very irregularly.
    Do you know what the problem could be?

  • @samirsuleymanov2099
    @samirsuleymanov2099 2 роки тому +2

    Great video. Can I use this configuration for simulator steering wheel force feedback?

  • @DiyintheGhetto
    @DiyintheGhetto 4 роки тому +1

    Hello what’s next? Is there a hand controller for this?

  • @nikmische8456
    @nikmische8456 4 роки тому +1

    Can you do a video exactly like this but instead of "Digital Write()" you work with Directly talking to the ports and register manipulation. Love the video, really awesome It seem like they run really slow, is their a way to adjust the speed? Changing the speed doesn't seem to really change it that much.

  • @dorianlopez4843
    @dorianlopez4843 4 роки тому +2

    Hi! thanks for the video! I have some questions. Could I control the time that the motor is spinning instead of the steeps from the hall sensors? I want to modify your code in order to achieve certain rpm (speed) and certain spinning time (steeps). I want to regulate it with 2 pots, one for the rpm and the other for the spinning time. It´s possible?
    Thanks in advance!

  • @VinAkihiko
    @VinAkihiko Рік тому +1

    Sir, i try the code and it's work when i see at the serial monitor there's a step count. But the motor wont spin att all any idea what's wrong ? Thanks

    • @techyogihub
      @techyogihub Рік тому

      Same problem here. Did you get the solution?

  • @willydarmawan1978
    @willydarmawan1978 3 місяці тому

    Howmany steps for one rotation?

  • @ligeirow
    @ligeirow 3 місяці тому

    Why need 1 second to command accept

  • @srnunan4783
    @srnunan4783 2 роки тому

    Hi, what's the minimum power able to be applied with this control board? With the speed pot set at the smallest value to enable the controller output can the motor be powered but not enough to overcome the friction and turn?

  • @LochanKutz
    @LochanKutz 3 місяці тому

    i have a few questions, first one being what do i do if i want to use this with an ebike, i'd have to ocnnect it to a 36V battery but in the previous video you mentioned it would fry it up, loooking for a solution. second, is it possible to do the same using an arduino nano or uno

  • @pauld1241
    @pauld1241 3 роки тому +1

    Hi, my hoverboard motors just vibrate when I try and control them via arduino or potentiometer. I tried this with two differents ESCs. Would you happen to know a fix to this?

    • @rhnhh2009
      @rhnhh2009 2 роки тому

      I had the same problem did you find a solutions?

    • @123gokudo123
      @123gokudo123 2 роки тому

      try changing wire phases

  • @Sameerasif1001
    @Sameerasif1001 Рік тому

    Hi I am doing same project using Odrive and hoverboard wheel, with Arduino and I have connected all connection but somehow I am unable to move wheels could you plz help me

  • @erdemkou
    @erdemkou 2 роки тому

    I want to make ffb gaming wheel with bldc hoverboard motor. May ı use external encoder? Can I control this motor with arduino leonardo?

  • @3phasetinkerer
    @3phasetinkerer 2 роки тому

    how about two, even four motors? a noob asking. :)

  • @suryabejibun
    @suryabejibun Рік тому

    so, VR pin can take PWM signal just fine? I thought that pin require analog voltage

  • @maalonszuman491
    @maalonszuman491 2 роки тому

    hye thx for the video I wanned to know if you have a feed back from the wheel encoder to controle the speed of the wheel?

  • @Video0Martin
    @Video0Martin 3 роки тому

    Hi. Super Projekt, can you show how much is the torque at very low speeds. 0.2 rps
    Thx Martin

  • @lukashajduch8146
    @lukashajduch8146 2 роки тому

    Can I ask which version of library ArduinoJSON was used in this project?

  • @ronmoz5815
    @ronmoz5815 3 роки тому

    thank you sir the explanation, I am a beginner to make bycycle e bike, but still i do not know the procedure using Arduino 1, i hope you could help me the information more.

  • @actuallyfragfo0d
    @actuallyfragfo0d Рік тому

    Do you know how to add a wireless controller

  • @wahyuutomo2407
    @wahyuutomo2407 5 років тому +1

    hello @Netmedias it's really helpful,,,
    can you please alse tell me or you can help me to make an video.....
    how to control bldc motor use the pwm signal with the bldc hover board motor control.....

    • @netmedias7657
      @netmedias7657  5 років тому +2

      wahyu utomo Sure, I have it on my todo list. Thanks

    • @wahyuutomo2407
      @wahyuutomo2407 5 років тому +1

      @@netmedias7657
      can you provide the link video to me?

    • @nikmische8456
      @nikmische8456 3 роки тому +1

      @@netmedias7657 Could you please do a video on this, it would be insanely helpful.

  • @Tavdog
    @Tavdog 4 роки тому

    How can your code work if you never set the VR pin as OUTPUT ?

  • @marcosaureliohermanielias519
    @marcosaureliohermanielias519 4 роки тому

    when it reaches that part of the code (digitalWrite (m1_EL_Start_Stop, HIGH);), it serves as an electronic brake or just to disable the card.

    • @netmedias7657
      @netmedias7657  3 роки тому

      It does not have breaking that is why I could not use it for my projects. it will stop powering the wheel.

  • @iffaauuliyah8125
    @iffaauuliyah8125 3 роки тому

    your video is amazing it can help me but I have a question. how is the circuit if using 2 bldc motors with two drivers? please answer. Thanks

  • @technicalmind5282
    @technicalmind5282 3 роки тому

    Is this driver have motor back emf protection

  • @Ben55j
    @Ben55j 5 років тому

    Is there specific a reason why you set the Signal wire to the pin#3 of the Arduino ? I do not succeed to figure out why, but it seems the pin#3 is the only connector where it works.

  • @TheLordbruh
    @TheLordbruh 3 роки тому

    does this board control the position of the wheel? I mean if you program the microcontroller and depending what is been read it can run in close loop?

  • @marcosaureliohermanielias519
    @marcosaureliohermanielias519 3 роки тому

    Hello,
    only a confirmation.
    When the (m1_EL_Start_Stop is set to LOW) the plate is then turned off, the engine stops as if it were a brake?

    • @nastec
      @nastec 3 роки тому

      There is no electric break. If you are on down hill it will continue to move until you are on level ground. This is the reason I was unable to use it for my Trash Can project.

  • @lokeshvanka
    @lokeshvanka 4 роки тому

    Great video I never see brief and clear cut explanation of hardware part and software program explanation.

  • @docufootage3934
    @docufootage3934 4 роки тому

    thank you
    can you make the same experiment with raspberry pi ?
    There is nothing similar in internet

  • @furkan10ky
    @furkan10ky 5 років тому

    Hello, I bought the one in your description, but it’s not the same. Can this work with the arduino?

  • @bejoyw2201
    @bejoyw2201 4 роки тому

    Wow, good tutorial sir, then what if you use mpu6050..??

  • @michaelmacho1
    @michaelmacho1 4 роки тому

    I am looking to build the trash can so more on that please

  • @xrayer4412
    @xrayer4412 Рік тому

    what battery do u have? 36V?

  • @nimmybastian3682
    @nimmybastian3682 4 роки тому

    for the driver, 5V-36V 350W DC Brushless Motor Controller BLDC PWM Driver Board, the driver plate i got is JYQD_V6.3E1. i cant find JYQD_V6.3E2. is it okay if i buy JYQD_V6.3E1

    • @netmedias7657
      @netmedias7657  4 роки тому

      Both are fine but make sure you pick the one you need since one does not have hall sensor connectors.

  • @variachen4073
    @variachen4073 5 років тому +2

    Amazing!

  • @danyarsniper8793
    @danyarsniper8793 5 років тому

    great video

  • @MKRCLabs
    @MKRCLabs 3 роки тому

    can you attach connection diagram Arduino and BLDC motors and hoverboard

  • @crickets_lithuania1469
    @crickets_lithuania1469 4 роки тому

    Hy, give me an idea how to use this motor for robotic arm.

  • @redrighthandarts
    @redrighthandarts 2 роки тому

    do you have an updated code?

  • @zemudotin
    @zemudotin 3 роки тому

    Great job. Need help - I have two hub motors on the front side, but they move with different speed when they are connected to same arduino and power supply. Any suggestions on how to ensure the wheels move with same speed if they are moving just forward or backwards. Thanks. Any help would be appreciated.

    • @netmedias7657
      @netmedias7657  3 роки тому

      You need to implement PID. Please Google it there is lot of help on net. Good Luck

  • @malharwable655
    @malharwable655 5 років тому

    Hey buddy! I'm trying to build a self balancing unicycle with an Arduino Uno, mpu6050 gyro sensor and the same hub motor and the motor drive. I really need help with the programming part I am really new to it. I have tried all other options but no luck especially with the motor driver. Buddy pl. Help me in this in which ever way possible!!!

    • @netmedias7657
      @netmedias7657  5 років тому

      Malhar Wable This controller is not good for that since you can switch the direction without stopping the motor. You can use the following controller. Good Luck,
      www.aliexpress.com/item/FREE-SHIPPING-Motherboard-for-wheel-balance-scooter-Balancing-scooter-mainboard-card-full-set-unicycle-control-board/32858438915.html?spm=2114.search0104.3.110.2dd83488nrNbw9&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_10130_10890_10547_319_10546_317_10548_10545_10696_453_10084_454_10083_10618_431_10307_537_536_10059_10884_5736015_10887_100031_321_322_10103_5736115,searchweb201603_53,ppcSwitch_0&algo_expid=08c43b7a-9797-43c2-a26c-95b4469c9997-15&algo_pvid=08c43b7a-9797-43c2-a26c-95b4469c9997&transAbTest=ae803_4

  • @kacperbardecki3671
    @kacperbardecki3671 Рік тому

    Hero

  • @27quero
    @27quero 5 років тому

    Version of the ArduinoJson.h ???
    I am using 5.13.2 and variables as DynamicJsonBuffer, JsonObject& and function .asString() are not coloured so i think my Arduino Due doesn't process them. When I compile it i have no errors and i pasted the expression "forward" in the Monitor Serie to do a test and it gives no results, no movement of the wheel. What you think is happenning?

    • @netmedias7657
      @netmedias7657  5 років тому

      Please upgrade to version 6 and use StaticJsonDocument. Good luck.

  • @technologybeat1186
    @technologybeat1186 5 років тому

    Really Thanks For You

  • @Ben55j
    @Ben55j 4 роки тому

    Hello. I am trying control 2 wheels with an adaptation of your code. It works well but I have some issues of synchronization between the 2 wheels. Do you have an exemple of code to handle it properly? (i guess that it should use the hall sensors, but it’s quite hard to implement..).
    Many thanks!

    • @netmedias7657
      @netmedias7657  4 роки тому

      Please google for pid code to syncronise two wheels.

  • @mycodetemplates7782
    @mycodetemplates7782 5 років тому +1

    Hi can use raspberry Pi not use arduino??

    • @netmedias7657
      @netmedias7657  5 років тому

      Yes, but you will need to use level shifter. Pi gpio is 3.3 volts and board needs 5 volts.

    • @mycodetemplates7782
      @mycodetemplates7782 5 років тому +1

      @@netmedias7657 thanks for your info.

  • @HarryB832
    @HarryB832 3 роки тому

    Hi, your tutorial was so helpful, but I'm having a problem with my motor. Everything works, the direction, the stop/start, but not the speed control. Whatever number I put in for VR the motor only spins at max speed. Do you know what could be the problem Thank you so much!

    • @netmedias7657
      @netmedias7657  3 роки тому

      Make sure you are using 5v MCU

    • @HarryB832
      @HarryB832 3 роки тому

      @@netmedias7657 Im using a raspberry pi instead of arduino, so the 5V pin on the controller board is connected to the 5V pin on the pi. I'm not sure what is wrong with it.

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 5 років тому

    Question on motor controllers. I recently bought from ebay 4 hoverboard brushless motors i belive they are 36V 350W 6.5 inch - with the intention to build my own robot rover but i never played with brushless motors before. I like to be able to control them using Rasberry Pi eventually and/or Arduino. The controller(s) have to be able to interface with Raspberry Pi or Arduino. From an initial research i found 3 types of controllers ranging from very cheap China ones to 150 Euro Odrive. I intent to have the motors connected in pairs, left and right so that the rover turns by spinning/trurn left and right like a tank. The ask is which is the best controller for these type of motors so that i can have no freewheel when they stop on a slope and i can have reverse and won't t cost me an arm and a leg?

    • @netmedias7657
      @netmedias7657  5 років тому

      Niko Niko Try odriverobotics.com/. I am using this one since it has position hold and breaks. Good Luck.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 5 років тому

      @@netmedias7657 thanks for this even if is the most expensive solution i think i will go with ODrive too. One thing i am not clear. My motors are 36v and odrive comes in 24v and 48v variants. Would the 48v variant have an adjustable voltage output to bring it down to 36v?

    • @netmedias7657
      @netmedias7657  5 років тому

      Niko Niko They have 48v version. You should get that one.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 5 років тому

      Netmedias sure that’s what I wrote but can the voltage be adjusted to 36v ? My motors are 36v.

    • @netmedias7657
      @netmedias7657  5 років тому

      @@TheNikolaschoulakis Sorry I meant to say use 24v not 48v. You can not regulate the voltage on this board. Your hoverboard motor will work with 24v mine does.

  • @Ben55j
    @Ben55j 5 років тому

    Hello,
    I bought the controller card in your description, but the card is a different from the one you show in the video. Ports EL, Signal and Z/F are missing and Instead I have CCW, CW and PWM. I'am a beginner, so I couldn't figure out if my controller card can make the Job with the Arduino. Do you know if there is any correspondence between those ports? Many Thanks

    • @furkan10ky
      @furkan10ky 5 років тому

      Same here

    • @TheBrothaHoodofRok
      @TheBrothaHoodofRok 4 роки тому

      Did you manage to find a solution? I think I have the same board as well.

  • @bruderdavid2788
    @bruderdavid2788 Рік тому

    Hello! 12-36V is specified, but can it be used from a 36/42V battery?

    • @adeebazadsheriff
      @adeebazadsheriff 11 місяців тому

      in his tutorial #28, he had mentioned he burnt out his driver boards using 36v batteries

  • @UlfBartsch
    @UlfBartsch 4 роки тому

    Hi, does the motor have the same torque as on the original controller?

  • @HarryB832
    @HarryB832 3 роки тому

    would this work on a raspberry pi and python?

  • @AnwarAlfaqeehAlhusseini
    @AnwarAlfaqeehAlhusseini 5 років тому +1

    hi
    can this Controller ....control ac servo 3 phase

    • @netmedias7657
      @netmedias7657  5 років тому +1

      This controller designed for dc 3 phase motor with hall sensors.

  • @AndresLagunadotCom
    @AndresLagunadotCom 2 роки тому

    Good video! Is it the same for Arduino UNO?thanks? 😎

  • @antonwinter630
    @antonwinter630 3 роки тому

    great tutorial. does it need that 2 second delay when moving the wheel? can it be set to something like 100 or less?

    • @robot0_0
      @robot0_0 Рік тому

      逆にできないとかあるかな?

  • @kirillstep7136
    @kirillstep7136 4 роки тому

    Thank you

  • @jwPick
    @jwPick 5 років тому

    Thank you so much

  • @wecnn
    @wecnn 5 років тому

    Hello @Netmedias. I have a problem. My setup only works if I push the wheel initially. I use UNO instead of Mega. If I don't push- the wheel does not spin. Is this faulty controller or some other issues? I tried another wheel from other hoverboard - same problem. Help. Thanks in advance

    • @netmedias7657
      @netmedias7657  5 років тому

      Serge
      Remove the uno and apply 5 volts to EL. If your motor spins them make sure uno GPIO is set to high on the pin that is connecting to EL.

    • @wecnn
      @wecnn 5 років тому

      I'm using your GitHub code

    • @wecnn
      @wecnn 5 років тому

      It was faulty controller board after all. Got a new one. Avoid "GeekTeches" one

  • @Ben55j
    @Ben55j 5 років тому

    Hey Thank you for this great tuto. Do you think is it possible to detect the direction of the wheel using the "m1_Signal_hall" ?. I'd like for exemple to have "pos++" if it is running forward and "pos--" if it is running backward.

    • @netmedias7657
      @netmedias7657  5 років тому

      You can tell the direction from hall sensor but you can check the direction pin GPIO for high/low value to figure out the direction. Good luck

    • @Ben55j
      @Ben55j 4 роки тому

      Hello, thank you for your response. I tried to do so, but it seems that whatever the wheel goes backward or Forward, the hall sensor give a value High/Low depending on its previous state only High/low.

    • @nikmische8456
      @nikmische8456 3 роки тому

      @@Ben55j Right, because then you'll know if it's high it's one direction if it's low...it's the other direction

  • @malharwable655
    @malharwable655 5 років тому

    Thanks a ton it's very helpful. Can you please also tell me or make a video of how to also connect the mpu 6050 sensors along with the setup and control the speed by tilting the sensor or unit.

    • @netmedias7657
      @netmedias7657  5 років тому

      The tutorial is coming soon. Stay tuned.

    • @blyatinator1014
      @blyatinator1014 2 роки тому

      @@netmedias7657 when will be the tutorial uploaded sir

  • @nourallahmahfoudh6921
    @nourallahmahfoudh6921 5 років тому

    Hi, what shall we do to move the Motor backword?

    • @netmedias7657
      @netmedias7657  5 років тому +1

      Set the "ZF" pin to low or high to change motor direction.

  • @pvesxghgrrff
    @pvesxghgrrff 3 роки тому

    Inertia will keep the wheels turning. How can I bring it to a standstill at the intended rotation speed?

    • @softwaretesting8043
      @softwaretesting8043 3 роки тому

      That is the problem with this board. There are no breaks. That is why it is not suitable for most robotic projects. You have to build electronic
      Regenerative Braking, please google it or buy a board that has built in breaking.

    • @pvesxghgrrff
      @pvesxghgrrff 3 роки тому

      @@softwaretesting8043 I couldn't find a board with a brake function.

    • @srnunan4783
      @srnunan4783 2 роки тому

      A four quadrant control board can drive and brake in either direction.

  • @haidersami9086
    @haidersami9086 4 роки тому

    Hi, thank you so much that was a great video. I manage to jumper some wires from a different board version but I couldn't download the firmware if anybody can help me I will be very grateful.
    Note that when I click on the link it gets me back to the same site.

  • @nin1ten1do
    @nin1ten1do 4 роки тому

    YOU: Overenginering PWM singnal emulated by software in low-lvl hardware
    Me: solder 3 pin on potentiometer...

  • @COMTECHGUIDE
    @COMTECHGUIDE 5 років тому

    Great works