You are here

2 PWM Inputs

4 posts / 0 new
Last post
graybilldustin@...
Offline
Last seen: 1 year 5 months ago
Joined: 2022-05-25 23:41
Posts: 2
2 PWM Inputs

Hello. First time using a VESC and I have probably a simple question. When connecting 2 single VESC's via canbus is there a way to run each VESC off of a separate PWM input or are they always linked? I need to control them independently but I only have one Bluetooth module so I was hoping canbus would allow me to configure both but still keep them separate. From what I can tell it looks like they always share one input so I should just disconnect the canbus and get a separate bluetooth module for the second one. 

frank
Offline
Last seen: 3 weeks 6 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

You should never connect two ESCs to one receiver via PWM/PPM. This will create a Ground loop and will probably kill the voltage regulator on one of the units. If you intend to use PPM/PWM make sure to use opto decouplers in between the ESC and the receiver.  If you don't want to forward the input command set the parameter Multiple VESCs Over CAN to FALSE.

 

graybilldustin@...
Offline
Last seen: 1 year 5 months ago
Joined: 2022-05-25 23:41
Posts: 2

They are not connected to the same exact output they are connected to the same RC receiver to different channels for differential steering (left and right like a tank) and speed control.

frank
Offline
Last seen: 3 weeks 6 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

În that case you need opto decouplers in between the receiver and the VESC motor controllers. Otherwise you will have a GND Loop in between the two motor controllers.