Onewheel skateboard

I’m also not good with coding. Learned enough to get my board working. Alex B helped me to get his code working on my Naze32 board. You have to use CoIDE, compile and flash his firmware.

If you want to use arduino+MPU6050 board check this https://github.com/schglmnn/VESC-OneWheel. I got this working also but I was not happy with it.

46458674_271080610419354_3395996667755888640_n !

Working on my own one wheel atm, was trying a weekend build. Everything is done, just need the controller. Diddent have a gyro laying arround so trying to use a microbit, but dosent have my hopes up

5 Likes

image

10 Likes

why not try using a hoverboard esc mainboard, they are cheap and the firmware is good to go ? eg https://www.aliexpress.com/item/Universal-for-6-5-8-10-Inch-2-Wheels-Self-Balancing-Electric-Scooter-Parts-Hoverboard-Motherboard/32796726976.html?spm=2114.search0104.3.1.cf092d13h4Dosg&ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_10130_10547_319_317_10548_10696_10924_453_10084_454_10083_10618_10920_10921_10922_10307_537_536_10131_10132_10133_10059_10884_10887_100031_321_322_10103,searchweb201603_51,ppcSwitch_0&algo_expid=7ad6e412-a68c-4998-85d7-3bca2d02bb4a-0&algo_pvid=7ad6e412-a68c-4998-85d7-3bca2d02bb4a

Looks really nice i must say! What type of motor do u use, what voltage and how many Watt? And how many Cells are u using?

can u put up the parts u used? maybe the links too? it would be helpful😊

Im running it on 12s vesc6 with 20-30A It peaks on 1600w or so, and seem to really strong. I programed a microbit since i diddent have an gyro breakout laying arround, but the microbit wasent fast enuff and also did software imlement ppm. This made it unstable and lagg. This was supposed to be a weekend project, but im stuck with exams for now. Il make an propper build thread and post source code and parts in late desember. Im using 12s 3p from old laptop cells 18650.

2 Likes

Im working on building my own vesc6 that are really small. Il post a propper thread when im finished with them

1 Like

waaah. i’m very excited i’ll wait for that thread​:heart_eyes::heart_eyes::joy: goodluck on your exams boi​:v:

2 Likes

Are you going to include the imu?

Great looking fwd to the build thread, which gyro are you planning to use? and what are you basing the firmware on? would be good to develop the code to add features as they come up!

1 Like

found this firmware which uses a naze32 flight controller and VESC to run the board

there is also a youtube video showing it working

1 Like

ok I got the CoIDE and toolchain setup and can compile the AlexB’s code just waiting on motor and vesc have ordered a naze32 rev6 as that is all i could find on ebay, there is some SWD pads on the back of the board, is this where you attach the stlink programmer? I assume some of these pads trace back to the F1 chip (swio and swclk) is this the same board you used?naze32Back

The board looks the same as I have. Those pads should also have GND and VDD. Use a multimeter to find out which pads are connected. If that board is the same as I have you will need to modify Alex B’s code because he used Flip32 board and the I/O-ports are different. I can share my code so it should work ok. Alex B used two force sensing resistors in the footpads. I only have one pushbutton switch in one footpad. I’m going to build a footpad sensor with Velostat then it will behave almost the same as force sensing resistor.

1 Like

Have you ordered a wheel yet? Or you still looking for people interested?

can you please share your code? thanks

I have it on my old laptop. I will uploaded it today to my Google drive. I will share the link here.

Here is the link for the code

https://drive.google.com/drive/folders/1QKhA-TFG5KrmGJzb5k4WjjoFu8RLj9_o?usp=sharing

Original files can be found here

1 Like

Is it possible for you guys to make a small write-up on how you managed to upload the code to the Naze32?

1 Like

This is the most underrated comment of 2018

4 Likes