Code Monkey home page Code Monkey logo

installbldctool's Introduction

installBLDCTool

The BLDC-Tool is used to flash firmware and configuration files to a hardware compatible Vedder Electronic Speed Controller (VESC). The VESC is an open source Brushless DC Motor Controller (BLDC). See:

http://vedder.se/2015/01/vesc-open-source-esc/

This repository contains scripts to build the BLDC-Tool on a NVIDIA Jetson TX development kit running L4T 28.1, and a script for building a desktop x86 Linux Ubuntu 14.04 version. The x86 Ubuntu machine is typically used to flash the Jetson using JetPack. The tool may be used by either platform to program the VESC.

Jetson TX Development Kit

Install the BLDC-Tool on the NVIDIA Jetson TX development Kit. The BLDC-Tool is for use with VESC compatible 4.12 hardware.

To run the script:

$ ./installBLDCToolJetson.sh

These scripts will install the bldc-tool for Vedder Electronic Speed Controller (VESC) and compatible hardware, version 4.12. This type of hardware is sometimes referred to as BLDC controller. The VESC is used in the RACECAR/J project.

The VESC is an open source hardware and software brushless motor controller.

Running the install script builds the bldc-tool, a Qt Gui to interact with the BLDC controller. Before building the tool, the required prerequisites are installed.

Note: The version of libqt5serialport5-dev is 5.5. There is an issue which causes the Bldc-Tool to segment fault when the VESC reboots after being flashed using that version. The work around is to use version 5.6. The scripts builds qtserialport from source and installs it in order to address this issue.

Next the bldc-tool is compiled from source.

Note that this is the tool that can configure and load firmware on the VESC, not the actual firmware that runs on the VESC. The firmware is in a separate repository. See: https://github.com/racecarj/bldc-tool

The last step in the script installs VESC firmware and VESC configuration files in the directory ~/vesc-firmware for use with the RACECAR/J configuration. The VESC firmware is located in:

~/vesc-firmware/firmware/VESC_servoout.bin

The firmware includes support for using the PWM output to control the steering servo.

The Configuration files are in the VESC-Configuration directory. There are two different configurations:

  • VESC_30k_erpm.xml
  • FOCBOX_hw_30k_erpm.xml

The VESC_30k_erpm.xml configuration is for VESC 4.12 compatible hardware. For Enertion Boards VESC-X/FOCBOX hardware, there is FOCBOX_hw_30k_erpm.xml

Note: Compiled versions of the firmware are also contained in the bldc-tool repository in the 'firmwares' directory.

Desktop Linux Host

For Linux Ubuntu 14.04 running on an x86 machines (typically used to flash a Jetson using JetPack), there is an installation script which installs the prerequisites, downloads and builds the BLDC-Tool. This script:

$ ./installBLDCToolHost.sh

The last step in the script installs VESC firmware and VESC configuration files in the directory ~/vesc-firmware for use with the RACECAR/J configuration. The VESC firmware is located in:

~/vesc-firmware/firmware/VESC_servoout.bin

The firmware includes support for using the PWM output to control the steering servo.

The Configuration files are in the VESC-Configuration directory. There are two different configurations:

  • VESC_30k_erpm.xml
  • FOCBOX_hw_30k_erpm.xml

The VESC_30k_erpm.xml configuration is for VESC 4.12 compatible hardware. For Enertion Boards VESC-X/FOCBOX hardware, there is FOCBOX_hw_30k_erpm.xml

Note: Compiled versions of the firmware are also contained in the bldc-tool repository in the 'firmwares' directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.