KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Get all your technical information about electric bikes here.
casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Jul 15 2018 9:34pm

tsdz wrote:
Jul 15 2018 5:17pm
Hi, I follow your project and it is amazing. I was buying TSDZ2, LCD3 and ST programer. Now I like to upload code and can' t. First problem is when I try to compile alway return error. I used stancecoke instructions for Windows. What can I do.
Error message:
new log session
date: 06/30/18
time: 23:10:23
----------------------------------------------------------
STVP_CmdLine version 1.6

Verbose ON
Log activity ON
Display Progress OFF
Message box warning if protect option byte ON
Loop mode OFF
Erase device OFF
Blank check device OFF
Verify device ON

Configuration:
BoardName=ST-LINK ST-LINK_ID=0 Device=STM8S105x6 Port=USB ProgMode=SWIM

>>> Filling PROGRAM MEMORY image in computer with Blank Value
<<< Filling PROGRAM MEMORY image in computer succeeds

>>> Loading file main.ihx in PROGRAM MEMORY image in computer
No such file or directory

I upload LCD_TSDZ firmware on LCD3 and display shows all characters and you can not turn off it. What can be wrong, because I use stlink and your instruction?
It will be so good if you make video tutorials how to install files for WIndows debug and upload it on LCD3.
I can't help you as I do not use Windows. Maybe the other users can help you.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

tsdz   1 µW

1 µW
Posts: 3
Joined: Jul 15 2018 5:07pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by tsdz » Jul 16 2018 4:40pm

Ok, I erase LCD 3 program memory, data memory and option byte. Can be this problem that I do not have right option bytes?

casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Jul 16 2018 4:51pm

tsdz wrote:
Jul 16 2018 4:40pm
Ok, I erase LCD 3 program memory, data memory and option byte. Can be this problem that I do not have right option bytes?
Or you try to get help maybe from Stancecoke or I can only help you on Linux.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

tsdz   1 µW

1 µW
Posts: 3
Joined: Jul 15 2018 5:07pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by tsdz » Jul 16 2018 5:25pm

Thank you very much. I am better in hardware and programing Atmel devices... So I did not do anything in Linux. Can you maybe make video tutorial how to install compiler on Linux and then upload it to LCD 3. I will be so thankfull.

Sztef89   10 µW

10 µW
Posts: 5
Joined: Jul 17 2018 6:17pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by Sztef89 » Jul 17 2018 6:50pm

Hi everyone!

I burn my KT LCD3 :D :mrgreen:

I connect 48V version to 14s battery (about 58V)... Yes, I'm stupid...

When I look inside, I realised that only transistor is blow up (A1013). This is very cheap transistior for about 1$ on aliexpress... but I want to change this transistor to be compatible with my battery (42-60V). What should I choose? Maybe one of you has a 60V version and can check model of transistor? I would be very grateful!!!

Image

casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Jul 17 2018 7:06pm

Sztef89 wrote:
Jul 17 2018 6:50pm
Hi everyone!

I burn my KT LCD3 :D :mrgreen:

I connect 48V version to 14s battery (about 58V)... Yes, I'm stupid...

When I look inside, I realised that only transistor is blow up (A1013). This is very cheap transistior for about 1$ on aliexpress... but I want to change this transistor to be compatible with my battery (42-60V). What should I choose? Maybe one of you has a 60V version and can check model of transistor? I would be very grateful!!!

Image
I think that transistor can hold 150V, looking at the datasheet. Also seems to hold 1A current. Can you please look at the resistors values and compare to the schematic done by Nieles?? See on https://opensourceebikefirmware.bitbuck ... pment.html

I think that from 48V to 73V version, only that resistor change... But this is a guess only.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Jul 17 2018 7:08pm

tsdz wrote:
Jul 16 2018 5:25pm
Thank you very much. I am better in hardware and programing Atmel devices... So I did not do anything in Linux. Can you maybe make video tutorial how to install compiler on Linux and then upload it to LCD 3. I will be so thankfull.
Sorry no. I am not motivated to do it because I am not good at it -- I am motivated to develop the firmware, not much to write documentation, etc. I really hope the community can help each other here
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

jernejtech   1 µW

1 µW
Posts: 4
Joined: Jul 08 2018 6:50am

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by jernejtech » Jul 24 2018 3:16pm

Sztef89 wrote:
Jul 17 2018 6:50pm
Hi everyone!

I burn my KT LCD3 :D :mrgreen:

I connect 48V version to 14s battery (about 58V)... Yes, I'm stupid...

When I look inside, I realised that only transistor is blow up (A1013). This is very cheap transistior for about 1$ on aliexpress... but I want to change this transistor to be compatible with my battery (42-60V). What should I choose? Maybe one of you has a 60V version and can check model of transistor? I would be very grateful!!!

Image
Hello,

I was modify few LCD3. There are 7 resistors and some diodes, that you must changed/add and your LCD can work up to 20S.
EBike enthusiast
-Qulbix Raptor Q76R Adrenaline
-Giant with Bafang 750 W BBS02B
-Modified Kunteng controller with torque sensing BB
-TSDZ2 on folding bike

casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Jul 24 2018 3:44pm

jernejtech wrote:
Jul 24 2018 3:16pm
Sztef89 wrote:
Jul 17 2018 6:50pm
Hi everyone!

I burn my KT LCD3 :D :mrgreen:

I connect 48V version to 14s battery (about 58V)... Yes, I'm stupid...

When I look inside, I realised that only transistor is blow up (A1013). This is very cheap transistior for about 1$ on aliexpress... but I want to change this transistor to be compatible with my battery (42-60V). What should I choose? Maybe one of you has a 60V version and can check model of transistor? I would be very grateful!!!

Image
Hello,

I was modify few LCD3. There are 7 resistors and some diodes, that you must changed/add and your LCD can work up to 20S.
Would be nice to know wh9ch ones and values. Tank you for sharing!!
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

jernejtech   1 µW

1 µW
Posts: 4
Joined: Jul 08 2018 6:50am

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by jernejtech » Jul 24 2018 4:44pm

casainho wrote:
Jul 24 2018 3:44pm
jernejtech wrote:
Jul 24 2018 3:16pm
Sztef89 wrote:
Jul 17 2018 6:50pm
Hi everyone!

I burn my KT LCD3 :D :mrgreen:

I connect 48V version to 14s battery (about 58V)... Yes, I'm stupid...

When I look inside, I realised that only transistor is blow up (A1013). This is very cheap transistior for about 1$ on aliexpress... but I want to change this transistor to be compatible with my battery (42-60V). What should I choose? Maybe one of you has a 60V version and can check model of transistor? I would be very grateful!!!

Image
Hello,

I was modify few LCD3. There are 7 resistors and some diodes, that you must changed/add and your LCD can work up to 20S.
Would be nice to know wh9ch ones and values. Tank you for sharing!!
I did this long time ago so here are photo. Resistors from R10 to R17, R7 and R8 must be changed. So on this photo you can see values. And on C3 was added one zener diode.
Attachments
rsz_1lcd3.jpg
EBike enthusiast
-Qulbix Raptor Q76R Adrenaline
-Giant with Bafang 750 W BBS02B
-Modified Kunteng controller with torque sensing BB
-TSDZ2 on folding bike

Sztef89   10 µW

10 µW
Posts: 5
Joined: Jul 17 2018 6:17pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by Sztef89 » Aug 24 2018 3:30am

casainho wrote:
Jul 17 2018 7:06pm
I think that transistor can hold 150V, looking at the datasheet. Also seems to hold 1A current. Can you please look at the resistors values and compare to the schematic done by Nieles?? See on https://opensourceebikefirmware.bitbuck ... pment.html

I think that from 48V to 73V version, only that resistor change... But this is a guess only.
jernejtech wrote:
Jul 24 2018 4:44pm
casainho wrote:
Jul 24 2018 3:44pm
jernejtech wrote:
Jul 24 2018 3:16pm
Hello,

I was modify few LCD3. There are 7 resistors and some diodes, that you must changed/add and your LCD can work up to 20S.
Would be nice to know wh9ch ones and values. Tank you for sharing!!
I did this long time ago so here are photo. Resistors from R10 to R17, R7 and R8 must be changed. So on this photo you can see values. And on C3 was added one zener diode.

Thank you guys for your help. In time I buy another KT-LCD3 (60V version) from China and there is another strange problem.
When I want to turn ON (keep power 2 sek) LCD show zero parameters... and then I release button, LCD immediately turn off.

I buy KT-LCD3 on this site:
https://www.aliexpress.com/item/FreeShi ... 70498.html

Controller on this site:
https://www.aliexpress.com/item/High-Qu ... 94528.html

Please see video what error looks... I don't know what is wrong. Voltage is about 54V, I connect correcty, other cables I connect with the same colors. Maybe this is problem? Should I try to switch cables green/blue/yellow?
https://youtu.be/dty6gebVP7g

On this film I use inverter but when I connect direct there is the same effect ;)

Do you have ideas to repair? I have 4 pieces 2x 24-48V version and 2x 60V version. I don't belive that all is broken :D

Sztef89   10 µW

10 µW
Posts: 5
Joined: Jul 17 2018 6:17pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by Sztef89 » Aug 24 2018 3:33am

60Volt version looks like that inside :wink:

Image

Sztef89   10 µW

10 µW
Posts: 5
Joined: Jul 17 2018 6:17pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by Sztef89 » Aug 24 2018 5:51am

China man tell me that I should buy another controller... They don't ask me what controller I have... :D

This is what he offer me... of course this product is from him store :D
https://www.aliexpress.com/store/produc ... 50644.html

For me is almost the same what I have:
Image

AHicks   10 W

10 W
Posts: 72
Joined: Jul 24 2018 10:53am

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by AHicks » Aug 31 2018 7:34am

If I'm following correctly, it appears you are trying to use an LCD3 display on a controller designed/set up to use a Cycle Analyst (CA) display. I'm pretty sure the LCD3 and CA displays are not interchangeable.

haiyi911   10 mW

10 mW
Posts: 28
Joined: Oct 13 2017 5:35am

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by haiyi911 » Nov 10 2018 6:24am

Hi,casainho.
when i downloaded the kt-lcd3 FW and stancecoke'FW successfully,the motor run normally,
lcd3 canbe turned on,but not be turned off,and the UP/DOWN button is useless.
the display showed that liked the picture and no change.
Attachments
4444444444447.jpg

casainho   100 MW

100 MW
Posts: 2651
Joined: Feb 14 2011 2:43pm

Re: KT LCD3 firmware -- Flexible OpenSource firmware for Kunteng KT-LCD3

Post by casainho » Nov 10 2018 9:07am

haiyi911 wrote:
Nov 10 2018 6:24am
Hi,casainho.
when i downloaded the kt-lcd3 FW and stancecoke'FW successfully,the motor run normally,
lcd3 canbe turned on,but not be turned off,and the UP/DOWN button is useless.
the display showed that liked the picture and no change.
KT-LDC3 OpenSource firmware only supports TSDZ2 mid drive motor OpenSource firmware. For KT controllers, maybe you can ask for support to developers of the OpenSource firmware.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, you can consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

Post Reply