Programming/software for unknown ebike

DZWEI

10 µW
Joined
Mar 19, 2025
Messages
5
Location
Uzbekistan
Hello, dear members of endless sphere! I recently bought an electric bike of an unknown brand and realized that I need to configure the controller.
Since I do not know much, I asked the manufacturer for the program, but he could not help me. I removed the board protection to identify the chip, it says H32x msba410a.
I tried to identify similar controllers from well-known brands to use their software for flashing. I found rx and tx outputs in the controller and tried to connect them to the computer via a ttl-uart adapter, but I could not read any data via programs like Arduino and ips, STM32. photo_2025-03-20_01-48-34.jpg
I am attaching a photo of the controller and ebike
Maybe i do something wrong? Help me pls.

I want to ask the forum if there is a theoretical possibility that custom firmware can be loaded onto this controller?
If it is possible how should i connect it to PC?
 

Attachments

  • photo_2025-03-20_01-48-29.jpg
    photo_2025-03-20_01-48-29.jpg
    120.2 KB · Views: 17
  • photo_2025-03-20_01-48-32.jpg
    photo_2025-03-20_01-48-32.jpg
    142.8 KB · Views: 16
  • photo_2025-03-20_01-48-40.jpg
    photo_2025-03-20_01-48-40.jpg
    141.3 KB · Views: 18
  • photo_2025-03-20_01-48-38.jpg
    photo_2025-03-20_01-48-38.jpg
    117.3 KB · Views: 20
If the controller didn’t come configured correctly, shouldn’t the seller either fix it, or refund your money? Don’t wait too long. Is the seller local, or did you buy it online?
The controller is programmed correctly. It's just that some of my colleagues with branded bikes have a program for setting it up, but I don't :( I mean that for my use, I need to change some settings, such as phase current or maximum speed on phase 1. I bought it online from China.
 
Is there a sticker on that controller? Some KT and Lishui controllers have custom firmware that you can install.

Just guessing, the seller can’t help because they bought the controller from some other distributor.

Typically, ready built bikes come with a display and there MAY be settings you can change. Phase current won’t be one of them. The seller usually locks users out of the more advanced settings.

This might be a case of you buying a “kit” (a display and included controller). KT controllers are great. Getting a new controller and display is a great way to get MOAR from your bike. Then the issue becomes making all the connections. Don’t count on anything “plug and play”.
 
The controller is programmed correctly. It's just that some of my colleagues with branded bikes have a program for setting it up, but I don't :( I mean that for my use, I need to change some settings, such as phase current or maximum speed on phase 1. I bought it online from China.
If it's a cheap controller from China, it probably doesn't have a circuit limiting phase current anyway. Gives you all the phase current it can give you, at the battery current limit.
If you want to show up your friends with branded bikes, put a couple of gobs of solder on those two shunts to up the power. They can play with their settings all they want while they watch you pull away from them.
 
If you want to show up your friends with branded bikes, put a couple of gobs of solder on those two shunts to up the power. They can play with their settings all they want while they watch you pull away from them.
At least until the smoke comes out. ;)

(remember that modifying the shunt, even in a controlled way, removes the ability of the controller to protect itself against overcurrent, as it then has no idea how much current is actually flowing)
 
At least until the smoke comes out. ;)

(remember that modifying the shunt, even in a controlled way, removes the ability of the controller to protect itself against overcurrent, as it then has no idea how much current is actually flowing)

What's why you gotta add a little dab of solder at a time instead of go buckwild, lol
 
Is there a sticker on that controller? Some KT and Lishui controllers have custom firmware that you can install.

Just guessing, the seller can’t help because they bought the controller from some other distributor.

Typically, ready built bikes come with a display and there MAY be settings you can change. Phase current won’t be one of them. The seller usually locks users out of the more advanced settings.

This might be a case of you buying a “kit” (a display and included controller). KT controllers are great. Getting a new controller and display is a great way to get MOAR from your bike. Then the issue becomes making all the connections. Don’t count on anything “plug and play”.
This is my dispay and controller sticker. there is no buttons on display so i can`t do any thing with it :( .


Maybe one of the wise men of the forum can tell me what kind of controller with the ability to program can be installed in this bike? I would like to be able to integrate an additional 4g transmitter into it and download firmware to the bike remotely from a PC
 

Attachments

  • photo_2025-03-20_12-43-56.jpg
    photo_2025-03-20_12-43-56.jpg
    115.2 KB · Views: 7
  • photo_2025-03-20_12-43-58.jpg
    photo_2025-03-20_12-43-58.jpg
    86.3 KB · Views: 7
The decreasting-resistance type of shunt mod doesn't change any speed limits, it just allows greater current (torque) (at the cost of the controller potentially failing from being unable to detect and reguiate it).

The increasing-resistance type of shunt mod also doesn't change any speed limits, just restricts the current (torque) (at no risk of controller damage).


Does the controller alreayd have a speed limit that is just too high?

If so, then to restrict the speed to half that, assuming it uses a separate wheel speed sensor, you can just put two magnets on the wheel. To restrict to 1/3, use 3.

If it does not have a wheel speed sensor, but has a display with a wheel size setting, change the wheel size to something larger or smaller than what you have by the proportion you want the speed limit to change; one way will increase the limit, the other will decrease it.

Both work by causing the controller to read the speed incorrectly, so the speed display will be wrong (too high in the version you want to do, by however much you change the wheel speed or sensor magnet number).
 
Back
Top