v0.19.0
Note: The firmware for Bafang 850C LCD may lack some functionalities.
Changelog
- Solved motor backwards resistance
- Rewritten button code for the entire system. Button logic for the user is still the same but faster and should be really solid. Much easier to adjust parameters and create new button events.
- Street Mode now with simpler logic of operation. Solved Offroad Mode settings have strange logic #90
- Possible to disable the throttle when in Street Mode.
- More space, less processing and better layout on the controller firmware.
- Overall changes in how the numbers are shown and so on. Better and more consistent experience throughout.
- Solved bug with the quick power config menu
- No blinking 1 error anymore. Same safety logic is still there and even safer! Also, the safety logic has actually even expanded to include all motor operations so it protects the motor controller, blue gear and motor in every possible use case/situation.
- New function has been created that replaces safe_tests(). The new function is called check_system.
- Firmware is also prepared for more error codes in the future as Casainho has given feedback about this.
- Slightly tuned the controller for the cruise function so it should work better for both motors.
- Solved unknown bug in the UART communication making it at at least two times faster.
- The UART communication has been cleaned up and is easier to change for future displays. Easier to add data for communication without changing a lot of parameters in several different places in the code.
- Overall clean up in the KT-LCD3 firmware and solved bugs.
- Corrected cadence value and human power
- Throttle now overrides torque sensor
- Improved BOOST code in the hope to solve a bug related to BOOST
- Added estimated range since power on depending on how much capacity is left
- Added option to set motor power limit in the configuration menu
- Added option to enable or disable motor power limit quick-set-menu
- Added two new main screen setup items
- More accurate watt-hour measurement
- More accurate time measurement
- Heavily optimized code size and speed
- Safer enable logic for Walk Assist and Cruise
- Added average wheel speed in temperature field
- More modular uart for future displays
- New button logic and completely new setup menu
- Solved unknown bug in UART communication making it at at least two times faster
- Tuned the controller for the cruise function so that is works okay for both motors
- New system safe test function
- Added a function that measures and calculates consumed watt-hours per traveled distance since power on
- Added a new sub field in the odometer field called Energy where user can see energy consumption and estimated range
- Merged previous configuration menu LCD Setup with configuration menu General Setup for better and faster setup
- Removed configuration menu LCD Setup
- Merged all battery setup menus to one
- Added option that enables user to enable or disable display of motor temperature in the odometer field
- Changed order in the Main Screen Setup menu in the configuration menu
- Changed order in the odometer field
- Improved pedal cadence calculation