Giter Site home page Giter Site logo

migueltorres / bldc_uart_comm_stm32f4_discovery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vedderb/bldc_uart_comm_stm32f4_discovery

0.0 2.0 0.0 921 KB

A project that demonstrates how to communicate between the VESC and a STM32F4 discovery board using UART

Makefile 2.75% Objective-C 6.61% C++ 10.54% C 79.20% HTML 0.01% Assembly 0.89%

bldc_uart_comm_stm32f4_discovery's Introduction

This is a test project for UART communication between the VESC and a stm32discovery board. Almost the full interface of the VESC is implemented in the example, only firmware upload is missing.

Connect PB10 (TX) to RX on the VESC
Connect PB11 (RX) to TX on the VESC
Connect the grounds between the descovery board and the VESC.

To upload the project to a discovery board, just connect the USB cable to the programmer USB port and type:

make upload

Connect the USB port of the discovery board to a computer and run a serial terminal such as screen. Type help to list available commands. Only a few commands are implemented, but more can be added easily in main.c.

I have written a tutorial on how to use and port this code to other platforms here:
http://vedder.se/2015/10/communicating-with-the-vesc-using-uart/

bldc_uart_comm_stm32f4_discovery's People

Contributors

migueltorres avatar vedderb avatar

Watchers

 avatar  avatar

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.