Skip to content
 
 

Repository files navigation

nicenano_vesc

BLE-UART bridge for VESC using nice!nano board.

This is a fork of https://github.com/vedderb/nrf52_vesc

No major changes, the code is cleaned, compilation errors were fixed, some improvements were added for ease of use.

Supported board

nice!nano v2 compatible chinese clone also can be found as ProMicro nRF52840 or SuperMini nRF52840. It's cheap, small and easy to flash - just copy firmware to USB storage, no additional tools needed.

Build

Only x86 Linux is supported as build platform for now (tested on Artix).

Software requirements

  • Nordic nRF5 SDK v17.1.0
  • ARM GCC toolchain, install arm-none-eabi-gcc, arm-none-eabi-binutils with your package manager

Configure

  • Set SDK_ROOT variable in Makefile to actual nRF5 SDK path, i.e.
SDK_ROOT := $(HOME)/.local/opt/nRF5_SDK_17.1.0_ddde560
  • Copy nRF5 SDK toolchain configuration Makefile.posix to your installed SDK
cp -f tools/Makefile.posix $NRF_SDK/components/toolchain/gcc

Compile

make -j8

Flash

Connect nice!nano to USB, quickly short RST pin to GND twice (for DFU mode, red LED should be ON) and:

make flash

Wait untill /mnt is unmounted by bootloader and red LED is OFF.

Connect to VESC

Disconnect from USB if you power nice!nano from VESC or in other case disconnect VCC/3.3V pin

nice!nano VESC
GND GND
P0.11 (RX) TX
P0.8 (TX) RX
VCC/3.3V 3.3V

About

nice!nano optimized BLE-UART bridge for the VESC with packet handling and VESC Tool compatibility.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages