RoboDurden / Hoverboard-Firmware-Hack-Gen2.x

with different defines_2-x.h for different board layouts :-) Compiles with Keil version 6
GNU General Public License v3.0
88 stars 29 forks source link

Gen2.1.21 - Board request GD32F130 C8T6 3 gate driver #91

Open TheCure935 opened 2 months ago

TheCure935 commented 2 months ago

WhatsApp Image 2024-09-02 at 16 18 54

I-hate-2FA commented 2 months ago

what do you want

TheCure935 commented 2 months ago

what do you want

The wiki said to put in a “board request” if I couldn’t find mine in the drop downs

I-hate-2FA commented 2 months ago

it is not needed any more there is auto detect firmware

TheCure935 commented 2 months ago

what do you want

End goal I want to be able to control it like a servo

TheCure935 commented 2 months ago

it is not needed any more there is auto detect firmware

Oh ok, I’ll check that out then

I-hate-2FA commented 2 months ago

End goal I want to be able to control it like a servo

its not possible on gd32 you can forget about it it do not even have sine wave mode

TheCure935 commented 2 months ago

I can’t read the position data through the board?

End goal I want to be able to control it like a servo

its not possible on gd32 you can forget about it it do not even have sine wave mode

TheCure935 commented 2 months ago

End goal I want to be able to control it like a servo

its not possible on gd32 you can forget about it it do not even have sine wave mode

I was trying to figure out how to just get the thing moving with an arduino and then from there using the encoder attached to it to control the postion(very inaccurately ofc)

I-hate-2FA commented 2 months ago

I can’t read the position data through the board?

you can, but commutation have no torque at low speed and cannot position hold

I was trying to figure out how to just get the thing moving with an arduino and then from there using the encoder attached to it to control the postion(very inaccurately ofc)

i think serial may be too slow for it, its better implement the pid on the hoverboard main board, if its too slow itlll oscilate allot

TheCure935 commented 2 months ago

I can’t read the position data through the board?

you can, but commutation have no torque at low speed and cannot position hold

I was trying to figure out how to just get the thing moving with an arduino and then from there using the encoder attached to it to control the postion(very inaccurately ofc)

i think serial may be too slow for it, its better implement the pid on the hoverboard main board, if its too slow itlll oscilate allot

I see, welp I have an odrive control board and encoder ordered so I’ll probs just wait for that then

also I noticed the hoverboard I have has plastic wheels not aluminum, it seems pretty tough but probs not the same level, is there a guide that has the models with aluminum wheels?

I-hate-2FA commented 2 months ago

most problematic is at high power the wheel will heat up and the plastic soften, the aluminum is rated 350w but you can push it to 500w no problem, the plastic is max250w, some of them even less, its better to buy a aluminum one

RoboDurden commented 2 months ago

@I-hate-2FA you must have a bad day today ! Sorry for that. But almost everything you said here is wrong. You always have been negative towards the work of others, but today i think you simply have a hard time. So happy greetings to you :-)

In your world, every GD32 hoverboard would be forbidden and put to mass destruction ?

A 500W servo ? A servo might have a robotic use case, then the less weight of a plastic motor might even been better than the old aluminium ones. I already said that a few threads before.

But yes @TheCure935 , watch my latest autodetect youtube video and post the full log here.

If your servo use case indeed needs position hold, you/we will need to add a control loop into the firmware. Either as RemoteServo or as the new class-like structure PilotServo ..

I-hate-2FA commented 2 months ago

what