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

Get all your technical information about electric bikes here.
casainho   1 GW

1 GW
Posts: 3190
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, please 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   1 GW

1 GW
Posts: 3190
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, please 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   1 GW

1 GW
Posts: 3190
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, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

casainho   1 GW

1 GW
Posts: 3190
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, please 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   1 GW

1 GW
Posts: 3190
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, please 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   100 W

100 W
Posts: 115
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   1 W

1 W
Posts: 55
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   1 GW

1 GW
Posts: 3190
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, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

only.dexter   1 µW

1 µW
Posts: 1
Joined: Aug 05 2018 1:32pm

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

Post by only.dexter » Apr 02 2019 1:24pm

A1013 transistor in lcd3 display burn at 54V (fully charged 48V Li-Ion battery)!

casainho   1 GW

1 GW
Posts: 3190
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Apr 02 2019 2:16pm

only.dexter wrote:
Apr 02 2019 1:24pm
A1013 transistor in lcd3 display burn at 54V (fully charged 48V Li-Ion battery)!
Maybe there are a few versions of LCD3 as I have some installed on ebikes with TSDZ2 motor with 14S 52V battery that have 58.8V when fully charged.

Maybe you are using a motor that regens and increase the battery voltage over 60V??
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, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

swindamix   1 µW

1 µW
Posts: 1
Joined: Aug 01 2014 9:40am

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

Post by swindamix » May 15 2019 7:05pm

Please, can anyone share the correct option bytes for KT-LCD3 display? Seems like I messed up with it and don't have backup

adam B   1 mW

1 mW
Posts: 16
Joined: Dec 10 2018 3:58pm
Location: LONDON

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

Post by adam B » Jun 28 2019 9:58am

Hi tsdz2 crew
I had standard display and software.
I have a 750w motor
52v 17.5 ah
About 1600 km

I have a problem
I have no power to my motor.
I was tightening the bottom bracket and (stupidly) compressed the battery wires ( possibly)as they WERE between the chain wheel side and frame.

Could this create a short circuit?

I had pulled apart the controller/ display connection. 1 of the pins was bent. I straightened it with a screw driver and it sparked (even more stupid)
When I turned on the battery the display started automatically. The asst levels changed with the on off button. I had No power with pas but throttle worked and speed sensor did not work.

I thought it may have been a software issue so I re flashed the standard software. Now no throttle and no PAS.
And with a fully charged battery only showed 1 bar. I was able to turn on and off via display button.

I now flashed the open Source Firmware 19 on a new 60v kt-lcd3.

All the functionality is working on the display including battery level and speed sensor is working.
No power of movement from the motor.

I would love to hear your thoughts and experiences!

Also how to wire the throttle into this system.

Many thanks



Sent from my iPhone using Tapatalk

casainho   1 GW

1 GW
Posts: 3190
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Jun 28 2019 10:09am

adam B wrote:
Jun 28 2019 9:58am
All the functionality is working on the display including battery level and speed sensor is working.
No power of movement from the motor.

I would love to hear your thoughts and experiences!

Also how to wire the throttle into this system.
See on LCD3 if you get the correct information for torque senser and cadence.
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, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

adam B   1 mW

1 mW
Posts: 16
Joined: Dec 10 2018 3:58pm
Location: LONDON

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

Post by adam B » Jun 28 2019 10:11am

casainho wrote:
adam B wrote:
Jun 28 2019 9:58am
All the functionality is working on the display including battery level and speed sensor is working.
No power of movement from the motor.

I would love to hear your thoughts and experiences!

Also how to wire the throttle into this system.
See on LCD3 if you get the correct information for torque senser and cadence.
Awesome
I’ll try and let you know!


Sent from my iPhone using Tapatalk

adam B   1 mW

1 mW
Posts: 16
Joined: Dec 10 2018 3:58pm
Location: LONDON

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

Post by adam B » Jun 28 2019 4:26pm

Image


Sent from my iPhone using Tapatalk

adam B   1 mW

1 mW
Posts: 16
Joined: Dec 10 2018 3:58pm
Location: LONDON

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

Post by adam B » Jun 28 2019 4:28pm

casainho wrote:
adam B wrote:
Jun 28 2019 9:58am
All the functionality is working on the display including battery level and speed sensor is working.
No power of movement from the motor.

I would love to hear your thoughts and experiences!

Also how to wire the throttle into this system.
See on LCD3 if you get the correct information for torque senser and cadence.
It does not look like it?


Sent from my iPhone using Tapatalk

casainho   1 GW

1 GW
Posts: 3190
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Jun 28 2019 5:41pm

Só I would say the motor controller is dead.
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, please 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