1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. 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!
  3. 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
  4. 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:
    21
    Balance:
    169Coins
    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. danove_b

    danove_b Active Member

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

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  4. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,286Coins
    Ratings:
    +950 / 7 / -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
  5. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  6. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  7. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  8. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  9. danove_b

    danove_b Active Member

    Joined:
    Nov 11, 2017
    Messages:
    209
    Location:
    Sweden
    Balance:
    1,792Coins
    Ratings:
    +79 / 3 / -0

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

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  11. danove_b

    danove_b Active Member

    Joined:
    Nov 11, 2017
    Messages:
    209
    Location:
    Sweden
    Balance:
    1,792Coins
    Ratings:
    +79 / 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!
  12. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 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
  13. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  14. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 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.
  15. Feisty

    Feisty New Member

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

    Attached Files:

    • Like Like x 2
  16. manu79

    manu79 New Member

    Joined:
    Apr 21, 2020
    Messages:
    5
    Balance:
    91Coins
    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!!!
  17. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  18. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 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
  19. Feisty

    Feisty New Member

    Joined:
    Mar 29, 2020
    Messages:
    21
    Balance:
    169Coins
    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
  20. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 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