Open source ESC nunchuk and ws2812 LEDs on electric longboard

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • In this video I'm showing what the current implementation of the nyko kama wireless nunchuk and the ws2812 addressable LEDs on my custom ESC looks like. This is the first time ever that I'm trying to record my own voice, and English is not my native language, so I hope it is possible to follow anyway.
    Since the software is open and I have full access to everything, I can use the ESC as a general purpose microcontroller at the same time as using it as a motor controller. Therefore I could connect the nunchuk and the ws2812 LEDs directly without any external microcontroller and with a minimal amount of external components.

КОМЕНТАРІ • 63

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

    Love that BLDC sound, it's so satisfying for some reason

  • @ivanvurz895
    @ivanvurz895 9 років тому +2

    Great presentation. I think your English is more than OK. I hope to see more
    videos like this.
    You should do a similar video explaing the different possibilities for setting
    your ESC with the bldc-tool software - an explanation what all the parameters
    change. You coul try to get a new brushless motor and show the procedure how
    to set all the required parameters and how to see that the motor is running with
    the optimal settings.

  • @noahmaurano181
    @noahmaurano181 7 років тому

    BEN DOES THE 4.12 STILL OPERATE THIS WAY WITH THE NUNCHUCK??? OMG I WOULD KILLLLL FOR TURN SIGNALS AND A BRAKE LIGHT!! YOU ARE THE MAN ANYWAY!

  • @MrLethal1986
    @MrLethal1986 8 років тому

    im getting a little closer the leds are addressable meaning you can program them. i think the hall sensor is just acting as a switch to change the direction from front to back when it senses the magnets in the motor change direction. not sure of the software but there is one called cleanflight.

  • @420troll
    @420troll 8 років тому

    very cool stuff you are the man when it comes to creating concepts with your skills. are you using the hall sensor inputs as outputs for the ws2812s? is there any code available to try to get this going and modify the behaviours? it would be super cool if it was part of the BLDC tool, but thanks for all your great work ! love it

  • @nacketsfilm
    @nacketsfilm 9 років тому

    Awesome Setup! :) My electric longboard Still needs some programming, the brakes and acceleration trows me off the board :P. cheers

  • @MrLethal1986
    @MrLethal1986 8 років тому +1

    could we get a tutorial on how to wire the leds to the esc and the programing for indicators and front rear light.

  • @stevenmcdougall9157
    @stevenmcdougall9157 6 років тому

    Nice work . Interesting use of Hal sensor conection to send data to ws2812 , what was the reciever you used to connect the NunChuck

  • @nomercyriding
    @nomercyriding 9 років тому +1

    Hello. I have a few questions. 1) Is the PCB design you are using that of Austin David's "Wiiceiver"? 2) I am not entirely sure of all of the technical aspects, but are you able to program the PCB receiver with the same (or more) options as a standard ESC program card? 3) If question 1 and 2 are yes, where can I find this program :D?

  • @sourjyanaskar6092
    @sourjyanaskar6092 7 років тому

    Great Video!
    Is the regenerated energy stored in the battery, or is the motor just shorted to produce braking?
    Thank you in advance.

  • @Coolkeys2009
    @Coolkeys2009 9 років тому +2

    Awesome.

  • @ebcradioshow
    @ebcradioshow 6 років тому

    Thats Very Cool :) Can we build one ? are u going to release for DYI ? Also parts and wiring and total cost etc ? i would love to implement this in my board
    :)

  • @noahmaurano181
    @noahmaurano181 7 років тому

    SO JEALOUS I GOTTA WATCH THIS AGAIN. ALL THIS C++ MUMBO JUMBO..!!

  • @FyJonas
    @FyJonas 8 років тому

    nice video! That esc and software is really cool, did you do that all by yourself? or can i get the esc somewhere? :D

  • @PracticalProjects
    @PracticalProjects 9 років тому

    Awesome! I could do with this for my longboard, will you be selling these one day?

  • @bastianbroecker
    @bastianbroecker 9 років тому

    This is really impressive, such awesome an project. Is it somehow possible to use one nunchuck for a dual motor setup? Or is it possible have feature the cruise control via a normal rc transmitter?
    Thanks

  • @timharvey24
    @timharvey24 8 років тому

    Hi Benjamin, I would really like to know what batteries you use and how many you use if thats not to much to ask, I would like to build a longboard for my self but I don't know what batteries will do for the motor. Im pretty sure its the same as yours, the turnigy 6374 168kv. Anyways keep up the good work and thanks.

    • @andrewmaurer2544
      @andrewmaurer2544 7 років тому

      Timothy Harvey most motors are rated as more powerful the more volts you out through them. it looks like he has 4 batteries, with 2 in series and 2 in parallel. doubling both the Volts and the maH. you can use any lipo battery. just choose one with a high enough volts and maH. typically 11.1v to 22.2v are used as standard. this is also known as 5s and 6s. there is also c rating to look at, but 20c and above us pretty decent. use this- toddy616.blogspot.com/2013/07/electric-skateboard-calculator.html?m=1
      to see how fast your build will potentially go.

  • @Cuonghoangchi
    @Cuonghoangchi 9 років тому

    Awesome project! Wow, I saw you made your own PCB and, if I'm not wrong, developed your own GUI. May I know what kind of motor commutation you exploited for this? Trapezoidal for BLDC motors with trapezoidal back-EMF or Field-Oriented Control (for PMSMs)? For what I see, you're controlling the current which should be the torque output. But is it possible for the throttle to be less sensitive since the torque output may sometimes be quite aggressive, isnt it? and one last thing, for the sensorless position estimation, from the GUI, I guess you're using the inductance changes for motor with saliency. Does this work out for this type of PM surface-mounted motors since they dont have much of that saliency for detection? Thank you

    • @BenjaminsRobotics
      @BenjaminsRobotics  9 років тому +1

      Thanks!
      Yes, I developed the GUI and everything myself. The commutation is trapezoidal for BLDC motors and while the motor is running the back-emf is measured for commutation. Currently I don't have any motor where it would give many benefits to use FOC, but I plan to implement it soon.
      I'm using current control, and it can be quite aggressive when no smoothing is used. Ramping is on the current input is one of the things I demonstrated in this video. However, even without smoothing, current control feels much more natural and smooth than duty-cycle control as most hobby motor controllers have.
      You are correct, the position estimation from the GUI is based on the magnetic saliency of the motor, but it is not used while the motor is running. I just implemented it to test how well it works. For the larger ourtunner motors I have been using it works really well, but it doesn't work for the low-inductance inrunner motors that I have at all.

    • @Cuonghoangchi
      @Cuonghoangchi 9 років тому

      Thank you for replying! wow, I didnt expect you could come and answer my silly questions with such excellent in-depth knowledge. I'm glad that someone speaks my language, i mean motor control stuffs, hahahaha. I'm also currently working on motor control but more on FOC or vector control. I used to play with trapezoidal commutation but it's not that efficient and robust as FOC (just guessing, haha). I've just purchased a mounting kit from Enertionboard and intended to build an E-skateboard with my own version of the controller and power inverter. So, thank you so much for your open-source stuff, they really help me get a kick-start. Last question, may I know whether the outrunners, in general, have trapezoidal or sinusoidal back-EMF? just to make sure my stuff (FOC) wont fail to run the motors efficiently if it's trapezoidal, hahaha

    • @BenjaminsRobotics
      @BenjaminsRobotics  9 років тому +1

      Cuong hoang chi
      I recommend reading this thesis:
      webfiles.portal.chalmers.se/et/Lic/AstromJohan.pdf
      In general, FOC is not as fantastic as it sounds for motors like these ones. For industrial low-speed high-inductance motors and ACIM motors it is nice, but for high-speed low-inductance RC motors FOC is in most cases less efficient than BLDC with phase advance (see the graphs in the thesis I linked, in all of them BLDC is more efficient). Especially the motor driver is going to lose efficiency and require more cooling with FOC because it has to switch a lot more. When running sensorless, measuring the back-emf on one phase gives nicer waveforms than measuring the current, especially on low loads. The only advantage I see with FOC on these motors is that it runs a bit quieter.

    • @Cuonghoangchi
      @Cuonghoangchi 9 років тому

      Benjamin Vedder Hi Ben, thanks for your recommendation and readings. It's clearer with the thesis. And you're right on the back-emf detection over the current sensing of FOC. But I still hope I can have a chance to experience the FOC on a outrunner. Just to know how hard could it be or how I could expand the capabilities of FOC to outrunners. By the way, I heard that you intend to commercialize your board, dont you? if so, when can it be available? I'm really keen to purchase your boards as I saw they includes high current power inverter with both the BLDC and FOC. I did have some boards with FOC and BLDC but none has that small form factor as yours and I'm also too lazy to design my own, lol :))

  • @Migueldeservantes
    @Migueldeservantes 8 років тому

    well all do boil down to the simplest thing under the son!.. So how far you can go. how many miles you can ride in one direction?

  • @mostwantedpakbusu
    @mostwantedpakbusu 9 років тому

    Benjamin Vedder
    can you share with us where you got the remote controller and the leds with signal lights ?

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 8 років тому

    Thats sick. Whats your cost on this about?

  • @jonienglish3231
    @jonienglish3231 8 років тому

    good video
    where you get the circuit board for the controller?
    what is the website for the software ?
    the wii is using blue tooth ?

  • @eliyanzumbakikoto
    @eliyanzumbakikoto 8 років тому

    verry nice

  • @tim101simons
    @tim101simons 8 років тому

    nice dude. How did you attach the batteries

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

    Did you connect the large capacitor between the source and the input voltage for the ESC?

  • @skillerftwerr
    @skillerftwerr 8 років тому

    you are awesome thanks so much!

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 8 років тому

    Also do you have a parts list (Esc, motor, batteries, software, board, motor mounts) Where do you get these parts like the motor mount for the trucks and wheel. I want to stay cheap. I know theres the $300 kit from enersion.

  • @SantaDragon
    @SantaDragon 8 років тому

    Do you have your settings anywhere visible? I like the switch direction option as well as the speed holding option.

  • @whoopsiedaisy3244
    @whoopsiedaisy3244 8 років тому

    Hey man amazing stuff, looks really tidy!! can you please help me, I'm kind noob to electronics, I just payed roughly $300 in materials to build a board, I have spare receiver (multiple since I have a spare quad scrap and fpv goggles which I use the receiver from) If I send you a pic of my setup could you show me or explain what wires I need to connect up a numchuck controller? annoying me lots because I don't know the lingo for all the cables n such....

  • @woowididit
    @woowididit 8 років тому +2

    Are you experiencing and signal drop from the nyko Kama receiver ?

  • @maksimreshetnikov1029
    @maksimreshetnikov1029 7 років тому

    Hi, Benjamin!
    Can you please share the code for app that you using in this video to work with ws2812?
    I will be grateful.

  • @ivandeleon120
    @ivandeleon120 7 років тому

    How do you connect or access to the control of the LEDs?

  • @JayPlays792
    @JayPlays792 8 років тому

    Anything catch on fire ever and whats the spec of this build if you dont mind.

  • @scoops..
    @scoops.. 7 років тому

    How to connect to the LEDs? What is to be set in the BLDC tool?

  • @flytech_innovation
    @flytech_innovation 6 років тому

    Which motor you are using

  • @NourMuhammad
    @NourMuhammad 8 років тому

    Nice demo,
    What is the spec. of the motor, where can I get one ?

    • @MrLethal1986
      @MrLethal1986 8 років тому

      turnigy sk3 190kv to 230kv are the best.

    • @MrLethal1986
      @MrLethal1986 8 років тому

      the size is around 6364 i think.

  • @ipodfernando
    @ipodfernando 8 років тому

    It has a regenerative brake ?

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

    What’s the name of the micro controller in front of you.

  • @emil2405
    @emil2405 8 років тому

    where did you buy your wirless remote?

  • @wavegreen
    @wavegreen 7 років тому

    I have a question, could you please give the link to the esc or if it is custom made by you a tutorial which explains how to build it

    • @andrewmaurer2544
      @andrewmaurer2544 7 років тому +1

      Wavegreen it is called a VESC and is manufactured by a lot of companies. Some have different configurations of the same design. check out ollinboards and enertion.

  • @modemser1k
    @modemser1k 6 років тому

    Benjamin Vedder
    hey can you sell me a package of controler for a quad hub motor 350 watt ?

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

    How many volts is the motor

  • @paraschaurs
    @paraschaurs 6 років тому

    Can u pls provide me the code hw u got the motor to go in reverse

  • @erichuang2009
    @erichuang2009 9 років тому

    Benjamin, Can I know what the wireless receiver is?

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

    Is there a way you can buy it.

  • @劉威廷-c4i
    @劉威廷-c4i 9 років тому

    What ESC you use?

  • @ellisonle1029
    @ellisonle1029 8 років тому

    What nunchuck did you get

    • @MrLethal1986
      @MrLethal1986 8 років тому

      looks like nico karma but most remotes with the reciever will work.

  • @theanalcolico
    @theanalcolico 8 років тому

    Your belt is screaming help, dude. You can't brake like that, otherwise your belt wont last much. I suggest you to put a larger belt and put it a bit in tension.

  • @felixdeswaef4611
    @felixdeswaef4611 7 років тому

    amazing design and build but serously ugly.