Yet another hoverboard to onewheel project

https://www.cammservices.com/projects/onewheelboard

I did it on the basis of these data, look at this

2 Likes

@Vfear Yeah, I was already checking your code before I decided to hack my hoverboard mainboard. I guess I will be checking again when I will have everything up and running and I will start working fully on ride performance.

Just don’t do the firmware for the side board. Sideboards have many technical differences on different hoverboards. And you won’t be able to make a universal firmware for everyone. I think it’s better to make an external module on stm32 and mpu - which everyone can buy and connect to the main board. What do you say?

@bula87 maybe I’m wrong, but I was told so before … but there are a lot of mpu variants on the side boards, you need to understand this

Be honest I don’t know, my hoverboard was fully supported by FOC firmware. And FOC firmware changed protocol to communicate with the side board. So without flashing also side boards the firmware on the mainboard is not able to communicate…
To solution could be to leave stock firmware on the side boards and bring back official communication protocol. But then we don’t have confirmation that every side board is using the same protocol…
I would say. It is easier to write code for any side board with different MPU and just use the same data to send to main board. I guess even arduino with MPU6050 will do the job.

Small update.
As I mentioned before, I am spending Christmas far from my home, so I had to focus on some side tasks.
I tried my skills with Flutter to write app for Android devices.

https://www.youtube.com/embed/PLzqvnvWZKc

Current features:

  • List bluetooth devices
  • Connect with DIY Onewheel
  • Collect real date over Bluetooth
  • Display data as animated Onewheel and graphs
    Missing features:
  • Configuration page to sett all parameters

For now I am sending:

  • speed
  • angle
  • side angle
  • battery voltage
  • battery current
  • left sensor status
  • right sensor status

At the movie the data are coming from Bluetooth connection but for tests I am using Arduino to send data messages.

This is my second day writing in Flutter and I have 0 skills in terms of graphic design… So app is ugly and slow… but is working :stuck_out_tongue:

4 Likes

@bula87 You are very cool! =)
Happy New Year!
It is necessary to work out an algorithm for maintaining the correct angle depending on the speed and strength of the load. Central position. This specialist talked a lot about this: VESC 5.3 New Balance Tuning Features for DIY Onewheels - YouTube

1 Like

Yeah, i just came back and yesterday I wanted to finally assemble my board and mainboard just exploded when I turn it on :sweat_smile:
In following days I will try to buy new hoverboard and keep going :smiley:

1 Like

do not forget, after disconnecting the battery, discharge the capacitors by pressing the power button

Ok at the end of the week I should have next hoverboard, I hope electronic will be do correct one and nothing will explode :wink:

In the meantime I added new feature to the app and created Google development account so at one point I should be able to upload my app to the Google store.

Currently supported features:

  • connect to the board via Bluetooth
  • receive data about: speed, battery voltage, battery current, board angle and show them as a graph (TODO: export to csv)
  • receive data about: speed, angle and side angle and show it at the main screen
  • use phone GPS location to log the ride path and show it on the map (TODO: export data to csv)

If you have any suggestions about functionality that I can add let me know. I was thinking about password protected connection and possibility to lock the board to prevent stealing. My Android development skills are pretty limited but I will see what I can do.

3 Likes

iOS support would be cool (but not all bluetooth modules support iPhone)

With iOS will be hard at the moment because the library to communicate via Bluetooth is not supporting iOS also to do any development for iOS you need paid development account.
And as I don’t even have a iPhone it wont be a case soon :stuck_out_tongue:

I have a problem with finding new hoverboard :confused: i bought already 2 of them and both are with this newer hardware with separated boards… I this it will be impossible to run 2 motors in sync from 2 different processors where UART is a synchronization protocol…

Today I will try to buy another one but I am loosing hope :confused:

Can you buy just the control board for the hoverboard on ebay? In the US they are about $40-50. Might be better than buying hoverboards not knowing what’s inside.

I get the next one and finally it had correct electronic, this time I am adding additional antispark protection between battery and the board, I hope it will prevent future explosions…

2 Likes

Hi @bula87 and @Vfear,
I have been following you guys on here and I am trying to get my DIY onewheel working a bit better with a flashed hoverboard motherboard.

I have no idea when it comes to programming, but what you guys have been talking about sounds awesome!
I can flash my motherboard. Do either of you guys have a working bin or hex file i can flash my motherboard with, that will work with either a flashed or original sideboard?

Thanks heaps

Has anyone implemented this on the split hover board ESC, or just the single one? I recently got a few hover boards with the split PCB, and am beginning to modify some code to work with them.

1 Like

As I cant find another hoverboard with single motherboard I am thinking about using splitted version, no idea if synchronization between motors will be possible but worth to try

There are 3 projects that were successfully able to use the split ESC type. My ESC’s look a bit different then the ones in this project, so I’m going to verify the pinout and then try to modify the code to work. https://github.com/flo199213/Hoverboard-Firmware-Hack-Gen2

1 Like

Yes, I managed to flash this code and was working but every board is running only one motor, and for onewheel application they should be pretty sync, i didn’t try it yet but I am planning

1 Like