FOCBOX UNITY $299 | R-SPEC DRIVE KIT $588

Onewheel skateboard


#82

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.


#83

!

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


#84


#85

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


#86

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?


#87

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


#88

https://www.aliexpress.com/item/10inch-10-inch-10x6-00-5-5-wide-tyre-brushless-gearless-dc-wheel-hub-motor-balance/32823573279.html?spm=2114.search0104.3.1.6db95eb8nGaR6K&ws_ab_test=searchweb0_0,searchweb201602_1_10065_10068_319_10059_10884_317_10887_10696_100031_321_322_10084_453_10083_454_10103_10618_10307_537_536,searchweb201603_51,ppcSwitch_0&algo_expid=ac48397c-2d43-42b2-b1b5-d8754150122c-0&algo_pvid=ac48397c-2d43-42b2-b1b5-d8754150122c

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.


#89

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


#90

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


#91

Are you going to include the imu?


#92

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!


#93

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


there is also a youtube video showing it working


#94

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?


#95

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.


#96

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


#97

can you please share your code?
thanks


#98

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


#99

Here is the link for the code

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

Original files can be found here


#100

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


#101

This is the most underrated comment of 2018