You are here

How exactly do I connect a VESC 6.4 to an Arduino Nano?

6 posts / 0 new
Last post
MaxMaker1
Offline
Last seen: 1 year 1 month ago
Joined: 2018-05-07 01:29
Posts: 14
How exactly do I connect a VESC 6.4 to an Arduino Nano?

So far I could not find a whole lot of information about this despite searching a lot. My Nano circuit is ready and control a standard Servo for test purposes. How do I connect the VESC without blowing anything up? 

 

An official answer from Benjamin or Trampa would be great. Not just for me, but all the others trying to do the same. 

TheFallen
Offline
Last seen: 2 days 15 hours ago
VESC Free
Joined: 2017-09-11 11:46
Posts: 61

Well, firstly what interface do you want to use?

  • A servo PPM signal output from the Nano to the VESC?
  • Serial UART from the Nano to the VESC?
  • Analogue voltage from the Nano to the VESC?
  • CAN bus from the Nano to the VESC?

How are you powering the Nano?

Here's a suggestion from the Electric Skateboard Builders forum:

Related image

Replace the Receiver with your Nano, with red either disconnected or connected to +5V, black/brown to GND and orange/white to the pin outputting PPM.

EDIT: Oh and if that doesn't work, please do attach pictures to show us how you've connected everything up. It'll make helping you much much easier.

MaxMaker1
Offline
Last seen: 1 year 1 month ago
Joined: 2018-05-07 01:29
Posts: 14

I would like to use PPM. Thats why I tested my circuit with a Servo so far. So the PPM works from the Arduinos point of view. The Arduino is powered by an UBEC. I cannot let the VESC power the Arduino since the Arduino always needs to be turned on, even if the VESC is off  

 

 

TheFallen
Offline
Last seen: 2 days 15 hours ago
VESC Free
Joined: 2017-09-11 11:46
Posts: 61

So don't connect the red wire.

MaxMaker1
Offline
Last seen: 1 year 1 month ago
Joined: 2018-05-07 01:29
Posts: 14

Thats what I tried, but then the VESC would power my Arduino over the Signal pin. No joke. I measured the current and the VESC would stay powered even without the UBEC connected. It is possible that at that point, the VESC was already faulty. So I cannot say if this is normal.

molak
Offline
Last seen: 2 months 2 weeks ago
VESC Free
Joined: 2019-06-04 19:30
Posts: 1

It seems that you have a double pull up. Remove or disable the pull up from the arduino side.