Best is ofcourse a hardware calibration of the sensor.Supra said:..anything i can do about the low sensitivity ?
I checked your setup, you have soooo high assistance parameters, probably caused by the limited range of the torque sensor.Lii said:mbrusa said:What mode are you using?Lii said:Hello everyone! I also installed this version on my bike. And now I'm trying to adjust a non-linear increase in power according to the torque sensor. I want the power to increase not linearly, without sudden jumps. But so far I have not succeeded. I have calibrated the torque sensor: I have set the offset (220) and the maximum value (280). But even after calibrating the sensor, the power rises too sharply and therefore the maximum assistance level has to be reduced. I have a VLCD6 display. Is there a way to make the torque sensor response non-linear? I want less assistance with less pedal pressure, more support with hard pedal pressure. How do I tune non-linearity?
:thumb:Supra said:Well I'm too embarrassed to say what i did wrong, but ive got it going really well now. ....
Elinx said::thumb:Supra said:Well I'm too embarrassed to say what i did wrong, but ive got it going really well now. ....
Fine that it works for you now, but you really don't want to tell us what it was?
Even if it's just as a hint for someone in a similar situation.
mbrusa said:I checked your setup, you have soooo high assistance parameters, probably caused by the limited range of the torque sensor.Lii said:mbrusa said:What mode are you using?Lii said:Hello everyone! I also installed this .....
It is difficult for me to test under the same conditions.
You say v20.1C.3-NEW is less powerful with the same parameters.
It doesn't matter, just configure it to have the same performance.
Also consider the advantages of the v20.1C3-NEW version, immediate response when restarting (no lag), quieter engine and lower consumption.
As for the linearity .......
Thanks a million for your work mbrusa!mbrusa said:Hi mallesepp, v20.1C.3-NEW is for stock display only.
The advantages listed are over v20.1C.1.
Now the versions, as far as the motor is concerned, are all identical.
For the 860C I am testing new features, mainly on the display.
I have to finish the trial period...
...
WARNING | using display version: 850C_BOOTLOADER
FIND: Parameter format not correct
FIND: Parameter format not correct
arm-none-eabi-gcc -MT _build/../../common/src/fault.o -MD -MP -MF .deps/../../common/src/fault.d -DDISPLAY_850C -DUSE_WITH_BOOTLOADER -I./GD32F10x_standard_peripheral/Include -I./ -I./spl/CMSIS -I./spl/CMSIS/inc -I./spl/inc -DUSE_FULL_ASSERT -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -c -fno-common -O0 -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -l libgcc -fno-builtin -std=c99 --specs=nano.specs --specs=nosys.specs -Wall -I../../common/include -DVERSION_STRING=\"0.20.1C-2\" -DTSDZ2_FIRMWARE_MAJOR=\"0\" -DTSDZ2_FIRMWARE_MINOR=\"20\" -c -o _build/../../common/src/fault.o ../../common/src/fault.c
In file included from ../../common/src/fault.c:1:
../../common/include/screen.h:8:10: fatal error: main.h: No such file or directory
8 | #include "main.h"
| ^~~~~~~~
compilation terminated.
make: *** [Makefile:170: _build/../../common/src/fault.o] Error 1
The system cannot find the file specified.
gfmoore said:Hi, probably @mbrusa
I'm trying to get the build to work for the 850C display on windows (I know, you said you had difficulties) but maybe you have some insights now?
I'm sorry but I've never tried to compile 860C-850C in a Windows environment.gfmoore said:CFLAGS += -std=c99 --specs=nano.specs --specs=nosys.specs -Wall -I../../common/include
looks okay? I assume compiler sees the header files in its own folder!
mbrusa said:Yes "Street mode" is disabled, but you have set "Max speed (offroad mode)" to 15mph.
This is what limits the power when you hit 15 miles per hour.
I'm sorry but I've never tried to compile 860C-850C in a Windows environment.
in/ld: _build/ugui_driver/ugui_display_850c.o: in function `getLcdDevcode':
/home/gordon/860C-850C-Display/Color_LCD_860C-master/firmware/860C_850C/src/ugui_driver/ugui_display_850c.c:600: multiple definition of `getLcdDevcode'; _build/ugui_driver/ugui_display_8x0c.o:/home/gordon/860C-850C-Display/Color_LCD_860C-master/firmware/860C_850C/src/ugui_driver/ugui_display_8x0c.c:779: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:152: main.elf] Error 1
cp: cannot stat 'main.bin': No such file or directory
Done! If the build went correctly, find the files on: /home/gordon/860C-850C-Display/Color_LCD_860C-master/firmware/releases/0.0.1
main.elf: $(OBJECTS) startup_stm32f10x_md.o
@echo "..linking"
$(LD) $^ $(LFLAGS) -o $@ <---line 152
startup_stm32f10x_md.o:
$(AS) $(ASFLAGS) startup_stm32f10x_md.s -o startup_stm32f10x_md.o
gfmoore said:I get lots of compiles and I think there is some linking going on but then it errors with
Code:in/ld: _build/ugui_driver/ugui_display_850c.o: in function `getLcdDevcode': /home/gordon/860C-850C-Display/Color_LCD_860C-master/firmware/860C_850C/src/ugui_driver/ugui_display_850c.c:600: multiple definition of `getLcdDevcode'; _build/ugui_driver/ugui_display_8x0c.o:/home/gordon/860C-850C-Display/Color_LCD_860C-master/firmware/860C_850C/src/ugui_driver/ugui_display_8x0c.c:779: first defined here
Blacklite said:I believe ugui_display_850c.c is for the 2021 850C and still includes the 860C, while ugui_display_8x0c.c is for the old version of the 850C and 860C. I just deleted ugui_display_8x0c.c and it complies with no multiple definition conflicts.
The bootloader release is built to be uploaded to the display via the Apt display utility and a serial connection. The non-bootloader release has to be flashed using an ST-link programmer to an internal programming header inside the display.
Blacklite said:The only thing I can think that would make it underwhelming compared to what you had on stock firmware would be that the stock firmware had much higher current/power limits. Also worth checking you are not in street mode with a much lower power limit.gfmoore said:If the throttle is turning the motor on the stand at a good rate, what is happening on the road. It's as though the torque? has gone.
gfmoore said:So, somehow I wasn't able to switch from street mode to non street mode on my 850C. I'm probably doing something stupid, but now I can check the code and see where I've gone wrong. I guess I should have street mode working in case I hear sirens as the boyz try to catch up with me.![]()
Blacklite said:Make sure you have the “Enable Hotkey” setting in the Street Mode config menu set to yes, otherwise you won’t be able to switch modes. When enabled the Hotkey is DOWN held together with POWER, until the assist colour changes.