Making a Rolling Cube : Part 6 - Hacking a speed controler

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • In this video, I use an Arduino to drive a Hobby King 30A ESC instead of his onboard chip. So I can run my brushless motors it at lower speeds and have more controle over it.
    music: musopen.org/music/composer/lo...
  • НаукаНаука

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

  • @henrikd.8818
    @henrikd.8818 5 лет назад +2

    Hi Kris, I started to think about building a Drone based on Flywheel mechanics and researched ESCs. I found that the current Firmware BL_HELI is programmable to do all kind of stuff. It is really advanced and can do everything with the motor. Now looking back at this it would have been much easier to reprogramm the ESC with a simple ESC programmer to make the motor turn backwards and support more advanced driving mechanisms

  • @josephlai7737
    @josephlai7737 6 лет назад

    Amazing and beautiful!

  • @scootndute579
    @scootndute579 8 лет назад +1

    You are awesome!!!!

  • @laurentcnc6662
    @laurentcnc6662 9 лет назад +2

    Hi Kris, nice progress and I know that sometime path can be long to sucess, but anyway...
    Little brutal desoldering method lol
    Keep on the hard work.
    Laurent

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад +1

      Laurent CNCThanks Laurent! Yes it's brutal, but its easy and clean. You just have to be a little bit careful that you only remove the components you want to remove :)

  • @zaprodk
    @zaprodk 8 лет назад

    02:10 - Powering on MOSFET's with floating gates ... we've all been there :O

  • @Spirit532
    @Spirit532 9 лет назад +2

    Good job, as always!
    I suggest you try designing your own board and salvaging the components you want from the ESCs, it can be a nice and simple entry point into designing electronics!
    It is also nice to know how to mill or etch PCBs(depending on what you want to go with, but as you have a higher speed spindle, I suggest mill).
    It just seems way less troublesome to me, having your own board for all the three motors + the controller( I doubt you can really shove a mega into the tiny cube, lol).

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад +1

      ***** thanks!, Yes, I'm thinking about it. If not in this project, certainly in the next. Electronics is still a little bit intimidating. but i really need to learn it :)

    • @Spirit532
      @Spirit532 9 лет назад

      ***** Don't know how to not make this sound awkward, but if you need help - you can talk to me.

    • @srdjansavic2223
      @srdjansavic2223 9 лет назад

      ***** Electronics looked pretty scary for me too, so I recommend you to start with digital elestronics, it turned up easier than analog :) I'm not sure, but I think you can drive that motor with L293 IC. I used it for my stepper motors and it works great :)

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад

      ***** I'll let you know if i need some help :)

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад

      Srdjan Savic I know, it's the analog part that confuses me. I'm a programmer, so I expect logic behaviour if you combine electronic components. Which isn't always the case when I try things, at least it looks like that to me. It just means I don't enough about it I suppose. But I'm learning :)

  • @Spaghetti775
    @Spaghetti775 9 лет назад

    This is really cool.
    Would the motors you're using have enough power to keep the cube balanced on its edge, like the MIT ones?

    • @Spirit532
      @Spirit532 9 лет назад

      CellDevises You don't really need that much power to balance the cube, it's the knocking it over that's the hard part, since you can't just whack it with X amount of force and expect it to stand up perfectly.

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад

      CellDevises Thanks! :) Yes, I don't think that will be the problem. If its gonna work will depend mostly on the software.

  • @AlexLesTests
    @AlexLesTests 9 лет назад

    Hey man, why didn't you connect your speed controler to the arduino as a servo and then variate the speed with the servo library???

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад +1

      Alexandre Rouma Main reason is that I wanted more controle over the motor. I did it with the servo library with the first prototype I made. but then then the motor only runs at high speeds, in one direction. I know that there are ESC who can do revers etc. but non of them have the controle I need. And doing stuff like this helped me really learn some new things. :)

  • @KrisTemmermanNP
    @KrisTemmermanNP  9 лет назад +1

  • @AltMarc
    @AltMarc 9 лет назад +1

    Desoldering the onboard micro controller is a nice and funny idea. Do you intend to reprogram an identical m.c. and soldering it back? Or do you want to build your own ESC? If so, you should consider to upgrade the m.c. to something like the Teensy3.1, faster 96MHz & simpler (ARM), and also cheap.
    Driving the MOSFET is easy, (and yes, it's cheeper to reuse the FETs form a HB ESC). The big problem is the feedback loop, the emf sensing and processing, you're better off using external rpm/pos. sensors.
    I've seen that you using this motor because of its 4mm axe, (and it's low rpm/V). It's look like that when building smaller cubes, it's gets more difficult.

    • @KrisTemmermanNP
      @KrisTemmermanNP  9 лет назад +1

      AltMarc Thanks for your comment!
      I'm not gone reuse the chip. I'm using an Arduino Due for now (84MHz). Its a lot bigger then a Teensy, but it still fits :) I didn't know a Teensy was that fast. If I don't run out of room, I'll stick with the due for now (the mounting is already finished). But I'm definitely gone check out teensys for next projects!
      Yeah, I already did some test with external hall sensors for the feedback loop and it looks like its going to work out. Just have to figure out how I'm gonna mount them in the cube :)
      Yes It's the right size to fit off-the-shelf/cheap components.
      Thanks!

  • @Techn0man1ac
    @Techn0man1ac 9 лет назад +2

    2:08 как же я Вас понимаю...

  • @ArsenioDev
    @ArsenioDev 7 лет назад

    Wow, ESC hacking! Any chance of you putting the code up on GitHub for us to have a look through?

    • @KrisTemmermanNP
      @KrisTemmermanNP  7 лет назад +1

      sure :) It can be improved a lot, but its a simple start if you want to try it out yourself gist.github.com/neuroprod/f0dae827451fd74da729476f4b0e72df

    • @user-em7zc8vz9j
      @user-em7zc8vz9j 6 лет назад

      Kris Temmerman Thank you very much for this, Kris (:

  • @pelletierjulien3842
    @pelletierjulien3842 4 года назад

    hi!! do you have an example on the use of your library? what method to call to run the engine? i'm a beginner with arduino, sorry if my english is bad !

  • @user-up2gc1lw6r
    @user-up2gc1lw6r 4 года назад

    Excuse me ,can you give me your code in email?my school work has to make this. And I’m not sure how to use arduino to control,appreciate