Skip to content

The VESC 6.0 Lisp implementation of the NineBot G30 BLE compability script

License

Notifications You must be signed in to change notification settings

Sharkboy-j/vesc_g30_dash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

  • 1km/h start speed !!!!BE CAREFULL!!!!
  • Add timeout shutdown for BLE after 7 mins
  • Always show battery percentage on idle. Show speed only when you are running.
  • Long beep after shutdown. Small beep when turn on.
  • Break lights flashing from vesc. Should be connected to servo 'pin-ppm (also you may need LR7843 – MOSFET module controller if you dont have dc-dc preinstalled)
  • Regenerative brake enables after 1 km\h
  • Disable option to shut down BLE while you are running
  • Force front light disabling after shutdown
  • [6.05] When current speed < 0 will show the distance traveled since start in meters when brake and throttle pressed
  • [6.05] When current speed < 0 will show the 1 cell battery voltage when brake pressed at the same time (example: you got 3.843 volts on each cell, you will see 38 on dash)
  • [6.05] Cruise control after 5 sec (disable after pressing brake or throttle) (box should be enabled in App Settings -> ADC -> General -> Button Inputs Enable Cruise Control)
  • [6.05] Will show mosfet controller temperature as error code (red numbers)

VESC M365 Dash

Allows you to connect your NINEBOT G30 display to VESC controller.

How

Do you want to use your NineBot BLE with a VESC controller? This is the right place for you!
Read one of the guides below to get started.

Which version should I use?

If you are running VESC 6.02, use these:

If you are running VESC 6.05, use these:

How do I wire it?

Red to 5V
Black to GND
Yellow to TX (UART-HDX)
Green to RX (Button)
1k Ohm Resistor from 3.3V to RX (Button)

image

Implemented

  • Add speed modes (double tap on button)
  • Add secret speed mode (hold throttle and brake, double press)
  • Add lock mode with beeping and braking (double press while braking)
  • Add min-speed feature (makes it more secure)
  • Add shutdown feature (turn it off by long press and back on by single tap)
  • Add battery in idle feature
  • Add separate ADC version
  • Add temperature notification icon (60°C)

Features to be added:

  • App communication
  • More unlock combinations

Fixed to be done

  • Figure out why 0x64 packets are not being read. (on my setup) (Can be ignored due to the fact that we do not have to receive any 0x64 packets to sent our own 0x64 back)
  • Figure out why button reading is randomly (can be fixed with 470R resistor between 3.3v and RX and capacitor on 3.3v+GND)

Tested on

BLEs

  • Original G30 BLE Dashboard

VESCs

  • 75100 Alu PCB:

Requirements on VESC

Requires 6.2\6.5 VESC firmware. Can be found here: https://vesc-project.com/

Worth to check out!

https://github.com/Koxx3/SmartESC_STM32_v2 (VESC firmware for Xiaomi ESCs)

About

The VESC 6.0 Lisp implementation of the NineBot G30 BLE compability script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Common Lisp 100.0%