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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 136

  • @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.

  • @mkrc64robotics76
    @mkrc64robotics76 3 ปีที่แล้ว +3

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

  • @DiyintheGhetto
    @DiyintheGhetto 4 ปีที่แล้ว +1

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

  • @marcioelibio6834
    @marcioelibio6834 2 หลายเดือนก่อน

    Good afternoon, my motor is sensorless and the controller is too, how do I control it using Arduino?

  • @samirsuleymanov2099
    @samirsuleymanov2099 2 ปีที่แล้ว +2

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

    • @mkfpv4597
      @mkfpv4597 2 ปีที่แล้ว

      Did you use it?

  • @the3dshack497
    @the3dshack497 2 หลายเดือนก่อน

    Im using two 5200 mah 40c 11.1 lipos in series to control this, but the motor needs a slight push before it starts spinning, got the same results when i tried powering it with a 35 v PSU,any idea why i need to nudge the wheel abit for it to start spinning?

  • @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?

  • @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?

  • @LochanKutz
    @LochanKutz 6 หลายเดือนก่อน

    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

  • @iffaauuliyah8125
    @iffaauuliyah8125 3 ปีที่แล้ว +1

    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

  • @willydarmawan1978
    @willydarmawan1978 5 หลายเดือนก่อน

    Howmany steps for one rotation?

  • @suryabejibun
    @suryabejibun 2 ปีที่แล้ว

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

  • @AdamAdam-fl8hg
    @AdamAdam-fl8hg 4 ปีที่แล้ว +2

    Can you make it with Raspberry pi and python ?

  • @lokeshvanka
    @lokeshvanka 4 ปีที่แล้ว

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

  • @Eliasetjal
    @Eliasetjal ปีที่แล้ว

    Do you know how to add a wireless controller

  • @stevenlim9205
    @stevenlim9205 5 ปีที่แล้ว +5

    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 4 ปีที่แล้ว

      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

  • @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 3 ปีที่แล้ว

      I had the same problem did you find a solutions?

    • @123gokudo123
      @123gokudo123 3 ปีที่แล้ว

      try changing wire phases

  • @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?

    • @the3dshack497
      @the3dshack497 2 หลายเดือนก่อน

      Were you able to
      Fix this? Im
      Having the same issue now

  • @lukashajduch8146
    @lukashajduch8146 2 ปีที่แล้ว

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

  • @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?

  • @technicalmind5282
    @technicalmind5282 3 ปีที่แล้ว

    Is this driver have motor back emf protection

  • @zemudotin
    @zemudotin 4 ปีที่แล้ว

    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  4 ปีที่แล้ว

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

  • @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?

  • @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.

  • @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

  • @Tavdog
    @Tavdog 4 ปีที่แล้ว

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

  • @xrayer4412
    @xrayer4412 ปีที่แล้ว

    what battery do u have? 36V?

  • @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?

  • @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.

  • @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!

  • @crickets_lithuania1469
    @crickets_lithuania1469 4 ปีที่แล้ว

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

  • @marcosaureliohermanielias519
    @marcosaureliohermanielias519 4 ปีที่แล้ว

    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 4 ปีที่แล้ว

      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.

  • @redrighthandarts
    @redrighthandarts 2 ปีที่แล้ว

    do you have an updated code?

  • @TheNikolasNick
    @TheNikolasNick 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.

    • @TheNikolasNick
      @TheNikolasNick 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.

    • @TheNikolasNick
      @TheNikolasNick 5 ปีที่แล้ว

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

    • @netmedias7657
      @netmedias7657  5 ปีที่แล้ว

      @@TheNikolasNick 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.

  • @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  4 ปีที่แล้ว

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

  • @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 5 ปีที่แล้ว

      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 4 ปีที่แล้ว

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

  • @MKRCLabs
    @MKRCLabs 4 ปีที่แล้ว

    can you attach connection diagram Arduino and BLDC motors and hoverboard

    • @netmedias7657
      @netmedias7657  4 ปีที่แล้ว +1

      It is on github

    • @MKRCLabs
      @MKRCLabs 4 ปีที่แล้ว

      @@netmedias7657 thank you

  • @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.

  • @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 2 ปีที่แล้ว

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

  • @UlfBartsch
    @UlfBartsch 4 ปีที่แล้ว

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

  • @bruderdavid2788
    @bruderdavid2788 ปีที่แล้ว

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

    • @adeebazadsheriff
      @adeebazadsheriff ปีที่แล้ว

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

  • @Ben55j
    @Ben55j 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

      Please google for pid code to syncronise two wheels.

  • @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.

  • @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.

  • @3dx3em
    @3dx3em 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.

    • @3dx3em
      @3dx3em 5 ปีที่แล้ว

      I'm using your GitHub code

    • @3dx3em
      @3dx3em 5 ปีที่แล้ว

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

  • @furkan10ky
    @furkan10ky 5 ปีที่แล้ว

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

  • @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.

  • @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.

  • @Video0Martin
    @Video0Martin 3 ปีที่แล้ว

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

  • @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.

  • @nimmybastian3682
    @nimmybastian3682 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

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

  • @mycodetemplates7782
    @mycodetemplates7782 6 ปีที่แล้ว +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 4 ปีที่แล้ว

    would this work on a raspberry pi and python?

  • @bejoyw2201
    @bejoyw2201 4 ปีที่แล้ว

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

  • @malharwable655
    @malharwable655 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      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

  • @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 4 ปีที่แล้ว +1

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

  • @ligeirow
    @ligeirow 6 หลายเดือนก่อน

    Why need 1 second to command accept

  • @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.

  • @malharwable655
    @malharwable655 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      The tutorial is coming soon. Stay tuned.

    • @blyatinator1014
      @blyatinator1014 2 ปีที่แล้ว

      @@netmedias7657 when will be the tutorial uploaded sir

  • @docufootage3934
    @docufootage3934 4 ปีที่แล้ว

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

  • @ronmoz5815
    @ronmoz5815 4 ปีที่แล้ว

    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.

  • @michaelmacho1
    @michaelmacho1 4 ปีที่แล้ว

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

  • @AndresLagunadotCom
    @AndresLagunadotCom 2 ปีที่แล้ว

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

  • @variachen4073
    @variachen4073 6 ปีที่แล้ว +2

    Amazing!

  • @serdar-abali
    @serdar-abali 2 ปีที่แล้ว

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

  • @nin1ten1do
    @nin1ten1do 4 ปีที่แล้ว

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

  • @danyarsniper8793
    @danyarsniper8793 5 ปีที่แล้ว

    great video

  • @kacperbardecki3671
    @kacperbardecki3671 ปีที่แล้ว

    Hero

  • @technologybeat1186
    @technologybeat1186 6 ปีที่แล้ว

    Really Thanks For You

  • @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.

  • @jwPick
    @jwPick 6 ปีที่แล้ว

    Thank you so much

  • @kirillstep7136
    @kirillstep7136 5 ปีที่แล้ว

    Thank you

  • @COMTECHGUIDE
    @COMTECHGUIDE 6 ปีที่แล้ว

    Great works