Wheelie/Manual mode for a skateboard

So can I buy this…?
Edit, so can I buy all this an ask my computer friend to do it?
And it will just work?
Only foc mode?
Sensorless Foc a go…?
@blezalex

1 Like

Think its merged or atleast started to get merged into the VESC official firmware already.
I have absolutly no clue of how to set it up tho :man_shrugging:

You’d need a vesc with IMU on it obv.

2 Likes

It is merged into the VESC firmware. Any latest 4.x version has it.

But like @linsus mentioned, you need an ESC with the IMU parts populated, of which there are very few.
A @Trampa brand ESC will work.

1 Like

I got 8 trampa escs and noone of them wheelies :see_no_evil:

Gimmie a tutorial and I’ll set it up!

4 Likes

YAS!

1 Like

there is/are some discussions about VESC balance and IMUs on this thread:

focus on @NuRxG replys… maybe he can come over and give us a qwik tutorial about enabling balance mode…

2 Likes

It’s there in the new VESC Tools as an “app”

2 Likes

understood… but how’s it operate? how do you set it up? I’d try it but I have zero VESCs with IMUs…
can I add an IMU as a breakout board?

???

too much science for me…

1 Like

Thats how he did it as the original solution, so def. possible.

2 Likes

yeah I’m still waiting for the hardware outlined in this thread to get wheelie/manual mode working…

st00pid quarantine

Let me head off some confusion, there are 2 different implementations.

Alex writes his own code that runs on external hardware and controls a VESC with PWM signals.

I wrote very similar code but mine is part of the VESC firmware. So if you have a VESC with an internal IMU (trampa 6+/mk3/mk4, CheapFocer V2, stormcore, etc) you don’t need any additional hardware. If you don’t have an onboard IMU, you can add one, but it uses the same pins as bluetooth module, so for “wheelie” builds you’ll have to put the bluetooth module on the slave VESC. VESC firmware currently supports mpu6050/mpu9050/bmi160/icm20948 imu modules.

A great feature alex’s code has that mine does not, is the ability to toggle wheelie mode with the remote. Currently on the VESC there is no way to switch apps other than going into settings and changing it. Not the end of the world, but my code was intended for self balancing vehicles, and skateboards is a more recent bonus feature. Toggling may may come in the future, or it may not, no promises.

For a setup guide the best i can offer is…
Our balance builder telegram room: https://t.me/joinchat/JP0KNxbguWM5KhHrT5_CYA
This way outdated video: https://www.youtube.com/watch?v=0y5ME2SgwLg

I’ve been planning on making a new setup video for a while now, but I want to finish this IMU wizard I’m working on.

Also i recommend using the latest beta builds over the previous release for some bug fixes.

6 Likes

Bonus footage: https://www.youtube.com/watch?v=qL0DEz-0vAY

4 Likes

Toggling wheelie mode with the second PWM (“PPM”) channel would be ideal. Like the wheel on the Mini Remote, turn it backwards 3 times to toggle app mode

2 Likes

something like this :point_up_2:t4: :arrow_up: :arrow_up: :point_up_2:t4:may inspire me to look more closely at the Mini!

2 Likes

That’s a solution that requires hardware separate from the VESC though due its only having one PWM input :sob:

@Trampa maybe you can breakout another PWM (“PPM”) input, even if there isn’t a header for it, but it could be soldered to if needed :smirk:

2 Likes

even the dreaded Nano Remote V2 has a second channel…
Hmmmm how to make this work…

1 Like

Hmmm
@blezalex has his balance board operating on PWM, how much harder is it to code a switch into channel 2 to switch from his break-out board (balance) to channel 1 PWM input to remote???

1 Like

You could just modify the breakout board to do all that.

1 Like

yes… I feel it can be done…

but when you say YOU, I am presently unable to code it or figure out how (electronically st00pid)… I need someone who is technically capable of knowing how electrons flow, magic smoke stays put, and PCB and electrical components function… and one of those beloved geeks that could code it!

I just wanna sk8 and wheelie off into the sunset…

3 Likes

Something like:

If incline > x && full_break -> keep incline.

Given this might show a problem if you full break in a steep uphill… but I really cant remember doing that… ever

3 Likes