Coder Social home page Coder Social logo

larsmm / hoverboard-firmware-hack-bbcar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucysrausch/hoverboard-firmware-hack

52.0 9.0 18.0 16.84 MB

4-wheel-drive-bobbycar-optimized hoverboard mainboard firmware

C 97.81% Assembly 2.17% Makefile 0.02%

hoverboard-firmware-hack-bbcar's Introduction

DEPRECATED

-----> There is a new, much better version of this firmware: https://github.com/larsmm/hoverboard-firmware-hack-FOC-bbcar <-----

hoverboard-firmware-hack - bobby car edition

This repo contains a 4-wheel-drive-bobbycar-optimized version of the hoverboard mainboard firmware by rene-dev, crinq and NiklasFauth.

bobbycar pic

Features

  • controlled by 2 potis on the steering wheel: 1. forward, 2. break or backward or turbo mode
  • 4 driving modes with different speed, acceleration and features
  • acceleration and breaking ramps, turbo ramp
  • everything else is identical to: https://github.com/NiklasFauth/hoverboard-firmware-hack

Driving modes

You can activate them by holding one or more of the potis while poweron. (km/h @ full 12s battery):

  • Mode 1 - Child: left poti, max speed ~3 km/h, very slow backwards, no turbo
  • Mode 2 - STVO: no poti, max speed ~<6 km/h (verify it), slow backwards, no turbo
  • Mode 3 - Fun: right poti, max speed ~12 km/h, no turbo
  • Mode 4 - Power: both potis, max speed ~22 km/h, with turbo ~29 km/h

After poweron it beeps the mode in 1 to 4 fast beeps. default mode is nr. 2.

Turbo

Field weakening is only availible in mode 4. It can only be activated if you are already at 80% of top speed. To activate it, press the backwards poti to get additional 40% more power. :) Please be very careful, this speed is dangarous.

Power and battery

Peak power is around 34A = 1800W at 12 lithium battery cells. more power does not make much sense. the wheels are not able to get the power onto the ground. cooling of the board is no problem, the wheels will get too hot earlier. you will get around 20 km out of a 8 Ah 12s battery.

Build and flash

  • install Visual Studio Code
  • install PlatformIO IDE within VSCode extension system
  • File --> open folder: hoverboard-firmware-hack-bbcar
  • edit config.h: calibrate battery voltage and poti ranges
  • use "Build", "Upload" and "Serial Monitor" buttons

more info

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.