You are here

How to control PPM output with CANBUS command

3 posts / 0 new
Last post
JiaheXu
Offline
Last seen: 9 months 4 weeks ago
VESC Free
Joined: 2023-03-13 02:47
Posts: 3
How to control PPM output with CANBUS command

Hi developers,

 

    I am trying to build a Racing car with VESC6 mk5. My team hopes to control the car with CANBUS commands to achieve angular and velocity control. I have trouble controlling a servo (angular controller) with PPM output signals. Is there any way of using CANBUS commands to control PPM output signals, or do I have to develop the code myself? If anyone knows how to do this, please help!!! 

 

Best,

Jiahe

frank
Offline
Last seen: 15 hours 42 min ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

You can script that, but you need to write up some code. Also note that bigger servos would need a separate power supply and you should use an opto-decoupler in between the VESC 6 and the servo in order to avoid ground loops.

JiaheXu
Offline
Last seen: 9 months 4 weeks ago
VESC Free
Joined: 2023-03-13 02:47
Posts: 3

Can you please elaborate on it a little? Do I need to change the source code of Vesc and flash it? Is that what you mean

Jiahe Xu