Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Releases: OpenSourceEBike/Color_LCD

860C_850C_SW102_v1.1.0

06 Oct 08:27
Compare
Choose a tag to compare

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.1.2 (TSDZ2-v1.1.2.hex) -- see below attached files.

THIS IS AN HOBBY PROJECT -- WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v1.0.0:

NOTE: changed TSDZ2 firmware from v1.1.1 to v1.1.2 on 23.06.2023.

860C_850C_SW102_v1.0.0

26 May 15:49
Compare
Choose a tag to compare

The release of version as 1.0.0 represents a milestone because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes. Note that this does not means it is clear of issues (remember that this is a hobby project developed by professionals on their free time) and there are certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0 (TSDZ2-v1.0.0.hex) -- see below attached files.

THIS IS AN HOBBY PROJECT -- WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added virtual throttle: user can use UP and DOWN buttons to increase throttle value (from 0 to 100%). User must keep pressed UP or DOWN buttons, otherwise, after one second the throttle value goes to 0 (this works as a security measure)
  • Added configuration for virtual throttle increase/decrease steps in %
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration to enable/disable coast brake as it was giving issues when using throttle on a TSDZ2 no coast brake version
  • changed battery max current limit to 20 amps
  • added torque sensor startup threshold
  • added configuration for cadence fast stop mode, which is disabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102
  • added configuration for lights ADC current step
  • added battery ADC steps to configurations technical menu (to help user find the amount of battery current ADC steps that his lights pull)
  • added torque sensor filter with configuration
  • SW102: added Bluetooth UART with pairing and currently sends some variables only to help debug
  • corrected ADC frequency
  • added configuration for motor current control as torque mode as also keeping the previous power mode
  • changed Walk assist max speed to 6 km/h while previously was 8 km/h
  • added a few configuration to clock field: disable, clock, battery SOC % and battery volts
  • changed battery max current limit to 20 amps

860C_850C_SW102_v1.0.0-beta.1

12 May 12:22
Compare
Choose a tag to compare
Pre-release

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-beta.1 (TSDZ2-v1.0.0-beta.1.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added virtual throttle: user can use UP and DOWN buttons to increase throttle value (from 0 to 100%). User must keep pressed UP or DOWN buttons, otherwise, after one second the throttle value goes to 0 (this works as a security measure)
  • Added configuration for virtual throttle increase/decrease steps in %
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration to enable/disable coast brake as it was giving issues when using throttle on a TSDZ2 no coast brake version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102
  • added configuration for lights ADC current step
  • added battery ADC steps to configurations technical menu (to help user find the amount of battery current ADC steps that his lights pull)
  • added torque sensor filter with configuration
  • SW102: added Bluetooth UART with pairing and currently sends some variables only to help debug
  • corrected ADC frequency
  • added configuration for motor current control as torque mode as also keeping the previous power mode
  • changed Walk assist max speed to 6 km/h while previously was 8 km/h
  • added a few configuration to clock field: disable, clock, battery SOC % and battery volts

860C_850C_SW102_v1.0.0-alpha.5

08 May 16:04
Compare
Choose a tag to compare

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-alpha.4 (TSDZ2-v1.0.0-alpha.4.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added virtual throttle: user can use UP and DOWN buttons to increase throttle value (from 0 to 100%). User must keep pressed UP or DOWN buttons, otherwise, after one second the throttle value goes to 0 (this works as a security measure)
  • Added configuration for virtual throttle increase/decrease steps in %
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration to enable/disable coast brake as it was giving issues when using throttle on a TSDZ2 no coast brake version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102
  • added configuration for lights ADC current step
  • added battery ADC steps to configurations technical menu (to help user find the amount of battery current ADC steps that his lights pull)
  • added torque sensor filter with configuration
  • SW102: added Bluetooth UART with pairing and currently sends some variables only to help debug
  • corrected ADC frequency

860C_850C_SW102_v1.0.0-alpha.4

30 Apr 12:04
Compare
Choose a tag to compare
Pre-release

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-alpha.4 (TSDZ2-v1.0.0-alpha.4.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added virtual throttle: user can use UP and DOWN buttons to increase throttle value (from 0 to 100%). User must keep pressed UP or DOWN buttons, otherwise, after one second the throttle value goes to 0 (this works as a security measure)
  • Added configuration for virtual throttle increase/decrease steps in %
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration to enable/disable coast brake as it was giving issues when using throttle on a TSDZ2 no coast brake version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102
  • added configuration for lights ADC current step
  • added battery ADC steps to configurations technical menu (to help user find the amount of battery current ADC steps that his lights pull)

860C_850C_SW102_v1.0.0-alpha.3

28 Apr 17:26
Compare
Choose a tag to compare
Pre-release

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-alpha.3 (TSDZ2-v1.0.0-alpha.3.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102
  • added configuration for lights ADC current step
  • added battery ADC steps to configurations technical menu (to help user find the amount of battery current ADC steps that his lights pull)

860C_850C_SW102_v1.0.0-alpha.2

27 Apr 17:34
Compare
Choose a tag to compare

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-alpha.1 (TSDZ2-v1.0.0-alpha.1.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph
  • corrected issue on build script of SW102

860C_850C_SW102_v1.0.0-alpha.1

25 Apr 09:24
Compare
Choose a tag to compare
Pre-release

This is the first time I made the version as 1.0.0 because all major features about TSDZ2 motor control are now implemented like FOC and Field Weakening. Also on the display side, I don't plan any new big changes.
There certainly features that can be added in future versions like 1.1.0 and polish the current ones, and I plan to do that.

The big new feature on this version 1.0.0 is the "amplification" of cadence and motor power in the range from 80 to 120RPM!! previous, the motor power would start to decrease at around cadence 80 and be zero at 90, meaning no motor assistance at all over cadence 90RPM. Now, you will get assistance all way up to cadence 120RPM.
Note that this considers a battery with the same voltage as the motor, like a 36V battery with a 36V motor or 48V battery with 48V motor. Even in the cases of using a 48V battery with 36V motor, the cadence is still increased up to 120RPM with most possible optimized efficiency.

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v1.0.0-alpha.1 (TSDZ2-v1.0.0-alpha.1.hex) -- see below attached files.

THIS IS A ALPHA VERSION FOR TESTING PURPOSES ONLY.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog from previous stable release v0.8.0:

  • increase motor assistance as also pedal cadence up to 120RPM (previous limit was around 85RPM) and for this was need to:
    -- UART communications frequency is increased twice to save the processing time needed to implement following points
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- implement Field Weakening
    -- configuration to enable/disable Field Weakening as it brings a loss of efficiency at high cadence value over 90RPM, possible a loss of 25%
  • added coast brake ADC sensitivity configuration: the TSDZ2 coast brake version should now fully work on this firmware version
  • added configuration for cadence fast stop mode, which is enabled by default. Enable for regular bicycles and disable for some full suspension bicycles
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)
  • added Wh/km variable to be shown on custom fields and also on the graph

860C_850C_SW102_v0.9.0-beta.1

16 Apr 16:42
Compare
Choose a tag to compare
Pre-release

THIS IS A BETA VERSION FOR TESTING PURPOSES ONLY!!

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v0.58.0 (TSDZ2-v0.58.0.hex) -- see below attached files.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog:

  • TSDZ2 max pedal cadence increased from 90 to 120, mostly without sacrificing the energy efficiency
    -- increased PWM frequency from 15.6kHz to 19 kHz
    -- UART communications frequency is now twice to save processing time
  • ebike control loop now runs at twice the frequency in the hope to make system a bit more responsive (tested by vshitikov)

860C_850C_SW102_v0.8.0

06 Apr 14:49
Compare
Choose a tag to compare

This version was developed for displays 860C, 850C and SW102 and for the TSDZ2 motor controller running the firmware v0.57.0 (TSDZ2-v0.57.0.hex) -- see below attached files.

WARNING: due to any possible existing bug on the firmware or user incorrect configuration, the motor controller may burn and/or the motor and bicycle wheel may start to run very fast at max power - please be very careful when installing the firmware and keep the bicycle back wheel on the air, have brake sensors installed and the possibility with easy access to quick cut the battery power like removing the battery connector to the TSDZ2.

After installing this firmware you MUST follow the next page to configure and learn how to navigate: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Changelog:

  • corrected the long delay that motor took to stop after stop pedaling (thanks to mbrusa)
  • added street mode with quick configuration from display main screen
  • added motor max power limit with quick configuration from display main screen
  • added internal battery resistance automatic calculation
  • corrected issue on motor selection type (thanks to r0mko)
  • added negative torque signal for braking that should apply only to TSDZ2 coast brake version (thanks to plpetrov)
  • corrected an issue where 860C display buttons were configured to be the same as 850C (no M button usage)