Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Vesc 6.7 pro: Examples, Pinouts, and Specs

Image of Vesc 6.7 proDesign with Vesc 6.7 pro in Cirkit Designer

Introduction

The VESC 6.7 Pro is a high-performance electronic speed controller (ESC) developed by VESC. It is designed to provide precise and efficient control of electric motors in a wide range of applications, including electric vehicles, robotics, drones, and industrial automation. With advanced motor control algorithms, customizable settings, and support for various motor types (e.g., BLDC, FOC, and DC motors), the VESC 6.7 Pro is a versatile and reliable solution for demanding projects.

Explore Projects Built with Vesc 6.7 pro

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino Mega 2560 Controlled Quadcopter with GPS, Compass, Ultrasonic Sensors, and LoRa Communication: A project utilizing Vesc 6.7 pro in a practical application
Arduino Mega 2560 Controlled Quadcopter with GPS, Compass, Ultrasonic Sensors, and LoRa Communication

This circuit is designed to control multiple brushless motors via ESCs, likely for a drone, with an Arduino Mega 2560 as the main microcontroller. It includes a GPS module, compass, ultrasonic sensors, and communication modules (SX1278 and ESP32), indicating it is intended for autonomous navigation and remote communication. Power is supplied by a Lipo battery through a power distribution board, with a rocker switch for on/off control.

Open Project in Cirkit Designer
Image of GPS-Enabled Remote-Controlled Vehicle with Motion Sensing: A project utilizing Vesc 6.7 pro in a practical application
GPS-Enabled Remote-Controlled Vehicle with Motion Sensing

This circuit is designed to control a pair of brushless DC (BLDC) motors via electronic speed controllers (ESCs), which are connected to a distribution board that distributes power from a LiPo battery. The circuit includes a Teensy 4.0 microcontroller interfaced with a GPS module and an MPU-6050 for navigation and orientation, as well as multiple servos for additional actuation, all powered through a distribution board. A Mini 360 Buck Converter is used to step down the battery voltage, and a FLYSKY FS-IA6 receiver is included for remote control capabilities.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

Key Technical Details

Parameter Specification
Input Voltage Range 8V to 60V (up to 14S LiPo)
Continuous Current 80A
Peak Current 120A
Supported Motor Types BLDC, FOC, DC
Communication Interfaces CAN, UART, SPI, I2C, USB
PWM Input Frequency 1 kHz to 20 kHz
Dimensions 75mm x 45mm x 20mm
Weight 120g
Operating Temperature Range -40°C to 85°C

Pin Configuration and Descriptions

The VESC 6.7 Pro features multiple connectors for power, motor, and communication. Below is the pin configuration:

Power and Motor Connections

Pin Name Description
VIN+ Positive input voltage (battery positive)
VIN- Negative input voltage (battery ground)
MOTOR A Motor phase A connection
MOTOR B Motor phase B connection
MOTOR C Motor phase C connection

Communication and Control Connections

Pin Name Description
UART RX UART receive pin for communication
UART TX UART transmit pin for communication
CAN H CAN bus high signal
CAN L CAN bus low signal
PPM PWM/PPM input for throttle control
5V OUT 5V output for external devices
GND Ground connection for external devices

Usage Instructions

How to Use the VESC 6.7 Pro in a Circuit

  1. Power Connection: Connect the VIN+ and VIN- pins to a suitable power source (e.g., a LiPo battery). Ensure the voltage is within the 8V to 60V range.
  2. Motor Connection: Connect the motor's three-phase wires to the MOTOR A, MOTOR B, and MOTOR C terminals.
  3. Communication Setup: Use the UART, CAN, or USB interface to configure and control the VESC. For basic throttle control, connect a PWM/PPM signal to the PPM pin.
  4. Configuration: Use the VESC Tool software to configure motor parameters, control modes, and safety limits. The software is available for Windows, macOS, and Linux.
  5. Testing: After configuration, test the motor operation at low speeds to ensure proper functionality.

Important Considerations and Best Practices

Example: Using the VESC 6.7 Pro with Arduino UNO

The VESC 6.7 Pro can be controlled via UART using an Arduino UNO. Below is an example code snippet to send a throttle command:

#include <SoftwareSerial.h>

// Define RX and TX pins for UART communication
SoftwareSerial VESCSerial(10, 11); // RX = pin 10, TX = pin 11

void setup() {
  // Initialize serial communication
  Serial.begin(9600); // For debugging
  VESCSerial.begin(115200); // VESC default baud rate

  Serial.println("VESC 6.7 Pro UART Control Example");
}

void loop() {
  // Example: Send a throttle command to the VESC
  // The throttle value ranges from -1.0 (full reverse) to 1.0 (full forward)
  float throttle = 0.5; // 50% forward throttle
  sendThrottleCommand(throttle);

  delay(100); // Wait for 100ms before sending the next command
}

void sendThrottleCommand(float throttle) {
  // Convert throttle value to a byte array (example protocol)
  byte command[4];
  int throttleInt = (int)(throttle * 1000); // Scale to integer
  command[0] = (throttleInt >> 8) & 0xFF;   // High byte
  command[1] = throttleInt & 0xFF;          // Low byte
  command[2] = 0x00;                        // Reserved
  command[3] = 0xFF;                        // End byte

  // Send the command to the VESC
  VESCSerial.write(command, 4);

  // Debug output
  Serial.print("Throttle Command Sent: ");
  Serial.println(throttle);
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Motor Not Spinning:

    • Cause: Incorrect motor wiring or configuration.
    • Solution: Verify motor connections and ensure the correct motor type is selected in the VESC Tool.
  2. Overheating:

    • Cause: Insufficient cooling or excessive current draw.
    • Solution: Add a heatsink or active cooling and reduce the current limits in the VESC Tool.
  3. Communication Failure:

    • Cause: Incorrect baud rate or wiring.
    • Solution: Ensure the UART baud rate matches the VESC settings and check the wiring.
  4. Unexpected Shutdown:

    • Cause: Safety limits triggered (e.g., overcurrent or overvoltage).
    • Solution: Check the VESC Tool logs to identify the issue and adjust the safety limits if necessary.

FAQs