1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

3d printed Hoverboard motor wheel

Discussion in 'Direct Drive Wheels' started by Feisty, Mar 29, 2020.

  1. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Hi all
    This is the mostly 3d printed hoverboard motor based wheel I came up with.
    Its based heavily on Benu's work in this thread
    https://www.xsimulator.net/community/threads/dd-wheel-with-hoverboard-motor.13178/
    It has been working well so as promised the STL files are in link below.
    https://drive.google.com/open?id=1Hzi3nzk7vyPtMY0X6npvaA9akuJwJ5Vh

    It uses a 600ppr encoder like this one
    https://www.aliexpress.com/item/32877702646.html?spm=a2g0s.9042311.0.0.27424c4dBf3Gry
    A 400mm gt2 belt
    A 20 tooth GT2 pulley
    and 2 686 ball bearings

    More info to come

    20200329_144513.jpg 20200329_144520.jpg Capture3.PNG Capture4.PNG
    • Like Like x 2
    • Winner Winner x 1
    Last edited: May 5, 2020
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. danove_b

    danove_b Active Member

    Joined:
    Nov 11, 2017
    Messages:
    199
    Location:
    Sweden
    Balance:
    1,666Coins
    Ratings:
    +75 / 3 / -0
    I recommend that you use Benu:s solution. I'm using his solution too, but quite modified for vJoy.
  4. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    That does look like a good option, Ive just gone through the data sheets. Could I trouble you for some more information with how you set it up?
    Am I correct in thinking that youve used the ST MC workbench application to configure the speed controller to run in a current based closed loop controlled by a pwm input? I think I can work out that side of it once I get the controller. I just dont see any connection to whatever youre using as HID interface (sorry Im not familiar with how vJoy works)
    Do you have a rough schematic for your breaking resistor set up? Im having a hard time working out what the fet you have mounted to the power resistors is doing.
    I might have another go at drawing your setup into a schematic to try and get my head around it

    Thanks for the input
  5. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    681
    Location:
    london uk
    Balance:
    7,791Coins
    Ratings:
    +891 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    wow now thats what i call lateral thinking , this is nice work , lost track of my Hover motor DDF build but stopped because i thought opinion was the FFB torque was too low , has this issue been fixed or are you just using it as is .. Cheers Not as pretty as your LOL as it was a proof of concept idea but we were both on same page encoder wise ,, :)

    Attached Files:

    Last edited: Mar 29, 2020
  6. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Thanks I plan to make the 3D models available once Im comfortable with the design.
    From what Ive read these motors will manage 10Nm (not sure if thats peak or continuous) and based on the link that looks to be quite respectable, Especially when you consider how cheap you can get these motors for
    http://www.edracing.com/edr/Wheel-Torque.php
    • Like Like x 2
  7. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Ive ordered a couple of the B-G431B-ESC1 controllers as danove_b recommended. Im still unclear on whats involed but Ill see what I can do, pixie wrangling isnt my strong suit.
    Im talking to the technical department for the drive I have now to see if we can sort it out in the mean time
  8. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Turns out the industrial drive is probably dead do thats a no go. I have however received two of the B-G431B-ESC1 boards. Ive got them all wired up to a core407v board with Mmos on it so should be good to go. The only thing not connected at this stage is a braking resistor circuit, I haven't worked out how to do that yet but I think I can prove everything will work without it.

    I will admit that Im really struggling with how to configure the motor controller.
    @danove_b could I bother you for some help?

    20200403_151100.jpg 20200404_154508.jpg
  9. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    So far Ive run the motor profiler and started a new project in the ST motor controller workbench software. Ive changed the motor sensor to encoder and also set it as the speed sensor for closed loop.
    Im getting the following error when I run the pin check utility. Im not sure what to change so there isnt a clash, I also can find where to set the input to PWM
    Capture.PNG
  10. danove_b

    danove_b Active Member

    Joined:
    Nov 11, 2017
    Messages:
    199
    Location:
    Sweden
    Balance:
    1,666Coins
    Ratings:
    +75 / 3 / -0

    I have the code that @Benu sent me, but I don't want to give it away without his permission.
  11. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Thats perfectly understandable @danove_b
    Ill keep looking to see if I can make sense of it.
    Btw which IO pin were you using for braking resistor?
    Last edited: Apr 4, 2020
  12. danove_b

    danove_b Active Member

    Joined:
    Nov 11, 2017
    Messages:
    199
    Location:
    Sweden
    Balance:
    1,666Coins
    Ratings:
    +75 / 3 / -0
    The Z input. Also important to know is that the encoder value is multiplied with 4, so it cannot be more than 16384 without manually changing the code. That happened to me!
  13. fzxj520

    fzxj520 Member

    Joined:
    May 14, 2015
    Messages:
    151
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,145Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF
    Hello, I want to ask you to use MMO to send signals to drive the b-g431b-esc1 board, is it working properly?
    Last edited: Apr 7, 2020
  14. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Just a quick update. Thanks to Benu this wheel is now working!
    I havnt got a braking resistor set up yet which is absolutely necessary, Ive ordered parts for this which will hopefully be here in the next few days.
    I am using MMos which is working well. I want to try and learn how to program these motor controller boards but its rather involved which is again props to Benu.
    Id like to try 24v and to fine tune a bit more of the setup but this combination has a lot of potential and already feels excellent
    Last edited: Apr 9, 2020
  15. fzxj520

    fzxj520 Member

    Joined:
    May 14, 2015
    Messages:
    151
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,145Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF
    Congratulations
    If it is, I will also set the braking resistor
    I also pay attention to the thread of Benu
    although I have started preparing now, but I do n’t know if I can finally finish
    Is programming using STM32CubeG4? I know nothing about programming.
  16. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Started on some pedals

    Attached Files:

    • Like Like x 2
  17. manu79

    manu79 New Member

    Joined:
    Apr 21, 2020
    Messages:
    5
    Balance:
    49Coins
    Ratings:
    +3 / 0 / -0
    Hi.
    Good job.
    I also wrote in the other thread but I had no answer. Is there any hope that anyone can attach schematics and firmware to this project?
    I would like to use it as you did with mmos.
    Thank you!!!
  18. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    I can help with the schematics but Benu is the man regarding the firmware
    • Friendly Friendly x 1
  19. fzxj520

    fzxj520 Member

    Joined:
    May 14, 2015
    Messages:
    151
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,145Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF
    Hello Feisty
    Are you experiencing noise problems?
    https://www.xsimulator.net/communit...th-hoverboard-motor.13178/page-18#post-198178
  20. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    20
    Balance:
    133Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    AC motor
    Sorry I havnt been online for a while. I have a slight hissing noise when the power is applied to the motor but its inconsequential to me, you cant hear it while you're racing so it doesnt bother me at all
  21. fzxj520

    fzxj520 Member

    Joined:
    May 14, 2015
    Messages:
    151
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,145Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF
    Ah, the noise is relatively small.
    This is a photo of danove_b may help.
    Can this circuit be recycled and used back EMF?
    ss.jpg