Lishui Controller Modification - Firmware Flash Project

saneagle

Esteemed Pedelecer
Oct 10, 2010
9,387
4,175
Telford
If you get your speed from the Hall sensors, it can't show the correct speed beyond the set speed limit because the rotor won't spin faster than the set speed limit. When the bike travels faster than set speed limit, the clutch inside the motor disengaged, that explains why your lcd shows the speed limit.
To have the correct speed display, the LCD must get the signal from a separate speed sensor, which is most often installed inside the motor housing and its magnet glued to the motor cover. The same notor cable carries also the speed signal. That simplifies the wiring.
That's how KT controllers work, but like many others, they will get the speed from a hall sensor if you don't have a motor with internal speed sensor or an external speed sensor.

That's made me think! What does a Lishui controller do regarding the 15 mph cut-off if it loses the speed signal? It's quite common for a motor's internal speed sensor magnet to fall off. I seem to remember from the days before motors had internal speed sensors, people twisting the wheel magnet away from the sensor to bi-pass the 15 mph limit. Does a Lishui controller still allow power when the display is always showing zero speed? I think it does, so that would be a way of getting past any software locks, except that the power will shutdown after the sleep timer trips, so you'd have to keep switching on every 10 minutes.
 

Woosh

Trade Member
May 19, 2012
21,568
17,403
Southend on Sea
wooshbikes.co.uk
That's made me think! What does a Lishui controller do regarding the 15 mph cut-off if it loses the speed signal?
Lishui controllers use external speed signal.
 

Woosh

Trade Member
May 19, 2012
21,568
17,403
Southend on Sea
wooshbikes.co.uk
The one in the Yose kits doesn't. It only has 4 connectors: motor, battery, 1 to 5 and PAS. 1 to 5 has LCD, throttle, light, L brake and R brake.
The 9pin motor cable has speed signal on the white wire, it goes to a data pin on the processor.
The speed is then encoded and sent to the LCD.
 

Sparksandbangs

Esteemed Pedelecer
Jan 16, 2025
315
130
Currently with the modified Lishui if the speed signal is lost it happily outputs maximum power until reaches the motors maximum speed. There is of course no indication on the display.

As the display freezes at around 25km/h when measured from the hall sensors I have now incorporated that into the stealth mode settings. Not only does the LCD3 display only show up to 250W it now doesn't show the speed above 25kmph. Very useful for the wheel off the floor test.

Now most of the code is there if I can think of suitable triggers I will incorporate an emergency back up speed limit from the halls should the speed sensor fail.
 

saneagle

Esteemed Pedelecer
Oct 10, 2010
9,387
4,175
Telford
Currently with the modified Lishui if the speed signal is lost it happily outputs maximum power until reaches the motors maximum speed. There is of course no indication on the display.

As the display freezes at around 25km/h when measured from the hall sensors I have now incorporated that into the stealth mode settings. Not only does the LCD3 display only show up to 250W it now doesn't show the speed above 25kmph. Very useful for the wheel off the floor test.

Now most of the code is there if I can think of suitable triggers I will incorporate an emergency back up speed limit from the halls should the speed sensor fail.
You're going to be a very popular guy, but not with everyone.
 

Sparksandbangs

Esteemed Pedelecer
Jan 16, 2025
315
130
Internal speed sensor then, not external. External is wheel-magnet type or GPS.
It's a bit of a terminology thing. The firmware classes an internal speed sensor as the halls and an external sensor as any other. Even though the speed sensor might be the 'white wire' type sensor fitted in the motor this is classed as external as well, even though it is physically internal.

Clear? Thought not. Clear as mud. Took me a bit to get my head around it and caused a few mishaps when programming.
 
  • Like
Reactions: Woosh

Advertisers