You are here

Porting VESC firmware to ODrive hardware

4 posts / 0 new
Last post
Remind
Offline
Last seen: 3 months 2 weeks ago
VESC Free
Joined: 2019-04-20 16:53
Posts: 3
Porting VESC firmware to ODrive hardware

It seems like now, with proper dual motor support, it is possible to port VESC software to O-Drive hardware, however I'm not that great programmer: I've tried looking into hv_unity config files, but i can't spot the place, where all outputs going to motor drivers are defined. 

The reason to port VESC firmware is that O-Drive hardware is cheaper than most available VESCs, but its software is limited to only about 30k ERPM, which is too low.

So, is there any proper docmentation for dual motor setups? Or can somebody try to help me implement my idea?

vadicus
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 312

As long it runs the same MCU, and has three phase current and voltage sensing, there is nothing to port. Just set up your hw file and flash the MCU. Cheap hardware, however, a bad reason to do this. 

Remind
Offline
Last seen: 3 months 2 weeks ago
VESC Free
Joined: 2019-04-20 16:53
Posts: 3

It is using f405 chip, but has two phase sensing resistors for each motor (as vesc 4)

vadicus
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 312

In that case, make sure to specify that in your hw file (comment out HW_HAS_3_SHUNTS).