Giter Site home page Giter Site logo

tomtinkering / hoverboard-firmware-hack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucysrausch/hoverboard-firmware-hack

9.0 5.0 4.0 43.19 MB

New Hoverboard Firmware Hack. Now written from scratch and generally much better.

C 97.10% Assembly 2.17% C++ 0.71% Makefile 0.02%

hoverboard-firmware-hack's Introduction

hoverboard-firmware-hack

This is a Fork fom NiklasFauth's hoverboard-firmware-hack.

The goal is to make the board more configurable without requiring reprogramming for every setting, and to allow controller the board over different interfaces.

Current state:

  • implemented dma/interrupt based UART2/3 RX/TX (see uart.h/c)
  • implemented simple modbus slave (supports commands 0x3(read) and ox10(write). Works with open-source QtModMaster tool
  • implemented modbus wrapper to allow user-defined variables to be accessed in code and over modbus.
  • Built GUI to talk to modbus-wrapper and allow plotting/changing and storing device settings
  • Added Tacho/Speed signals for both motors
  • cleaned code from some hacks/features. Some will be re-added later
    • removed I2C/ADC/PWM control. This will be re-integrated soon
    • clean up BLDC ADC handler, now more efficient, and only dealing with motors
    • no more delays in code, but rather non-blocking Tick() based updates
    • disabled buzzer, man I hate buzzers
  • implement flash-eeprom emulation to store settings in bvm memory

Coming soon:

  • selectable control method. (Uart,I2C,ADC,PPM)

If you have any feature requests, open up an issue and I will get back to you a.s.a.p!

hoverboard-firmware-hack's People

Contributors

rene-dev avatar crinq avatar tomtinkering avatar

Stargazers

Vasyl Nastiuk avatar xiefeng avatar Brynjard Øvergård avatar  avatar W Nga avatar killakams avatar Paul Tan avatar  avatar Erich Nachbar avatar

Watchers

W Nga avatar James Cloos avatar  avatar  avatar Scott avatar

hoverboard-firmware-hack's Issues

Working Processor swap to STM32 on YST-DXT-J20 V4 Motherboard : no motor control yet

Hello all,

I found lack of documentation for the Avery AT32F403 aggravating so I decided to buy an STM32F103 and swap it out on my YST board. I now use the PlatformIO system on Visual Studio and it works pretty good. I am using a fork this firmware located here https://github.com/bipropellant/bipropellant-hoverboard-firmware . I have a 3.3 volt serial connected to C9,B2 and that works too. I have ASCII control of the board. I also have the STlink connected for debug and that works as well. using the software ASCII console I am unable to rotate the motors and I think it relates to different drive circuitry on the YST boards. I have been intently comparing the various differences in the makefile looking for the area that addresses the motor control of the AT32 system that i will need to substitute in so that I have that in my ST32 firmware. I hope this makes sense. I am slowly coming up to speed with the code but so far I have been unable to find what I need. I see references to a current limiting system being controlled with a gpio pin on the new boards but i can not find that code either.

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.