camcamfresh / Xiaomi-M365-BLE-Controller-Replacement

Replacing the BLE Controller with a Cellular Controller
142 stars 34 forks source link

Anyone encountered sudden voltage drop of 5V from scooter? #31

Closed kyuhyong closed 5 years ago

kyuhyong commented 5 years ago

Sorry, this issue has nothing to do with the code itself but I want to share. I made a board which carries a particle electron board and interface with the scooter. Main 5V Power is mainly supplied directly from the scooter and has been working although they are not exactly 5V and roughly around 4.8~4.9V measured from multimeter.

The problem is this voltage is not consistent and it can be dropped as low as 4.2V sometime. This causes problem maintaining connection with the user.

Has anyone encountered such problem? If so, how did you solve this problem?

camcamfresh commented 5 years ago

I think I had a problem similar to this. What does the Electron do when you try powering it from only the scooter (without the Electron battery)?

kyuhyong commented 5 years ago

Thank you for your comment. I found the board won't work if the voltage goes below 4.3V if not powered with the electron battery. Seems like the regulator on the scooter is limited.

camcamfresh commented 5 years ago

I had a power issue from the motor controller a while back, but I'm not sure if it's the same problem.

From what I remember, when the Electron battery was not connected the Particle Electron wouldn't connect to a cell tower on start up and the led would pulse white slowly. If the Electron battery was plugged in, the Electron would connect, but not charge; once the battery was drained enough the Electron led would show it was connected to the cell tower but couldn't actually receive commands through the cloud.

I eventually found a Russian forums page that helped me solve this problem. I had to take out the motor controller, discharge the motor controller (it has capacitors), and solder over a 0 ohms resistor. Take a look at the picture.

20190619_195819224_iOS

pilotdeveloper commented 5 years ago

Please note that touching those capacitors can kill you, so make sure it's discharged!

On Wed, Jun 19, 2019, 4:11 PM camcamfresh notifications@github.com wrote:

I had a power issue from the motor controller a while back, but I'm not sure if it's the same problem.

From what I remember, when the Electron battery was not connected the Particle Electron wouldn't connect to a cell tower on start up and the led would pulse white slowly. If the Electron battery was plugged in, the Electron would connect, but not charge; once the battery was drained enough the Electron led would show it was connected to the cell tower but couldn't actually receive commands through the cloud.

I eventually found a Russian forums page that helped me solve this problem. I had to take out the motor controller, discharge the motor controller (it has capacitors), and solder over a 0 ohms resistor. Take a look at the picture.

[image: 20190619_195819224_iOS] https://user-images.githubusercontent.com/41055736/59797049-677c4500-92a4-11e9-9a9f-ba62786d4cde.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/31?email_source=notifications&email_token=AAJGH4EY27FQGWE3ZHIO5CLP3KHE3A5CNFSM4HY624D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDEQ3Q#issuecomment-503728238, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJGH4FGU7IDUJ4BTNBDMM3P3KHE3ANCNFSM4HY624DQ .

camcamfresh commented 5 years ago

@kyuhyong any updates?

kyuhyong commented 5 years ago

@camcamfresh Sorry for late reply. I found the voltage regulator is quite small and highly doubt if it can make over 250mA. So I decided to put another voltage regulator which can make 5V from 12V in the board as shown below picture. I checked 12V output in the bottom right of the main board. m365_5v_regulator

This solved my issue and have not experienced any problem with power.

mossafaei commented 4 years ago

@kyuhyong @camcamfresh Hi, Can you show me where is the GND for 12v on the motherboard? This is not clear in the above photo, i can't find it.

camcamfresh commented 4 years ago

I rarely go into the motor controller's motherboard, but I would assume it is the same as the 5V & 40V GND. Personally, I would try doing it another way since the capacitors can kill when charged & loose connections happen.

kyuhyong commented 4 years ago

@kyuhyong @camcamfresh Hi, Can you show me where is the GND for 12v on the motherboard? This is not clear in the above photo, i can't find it.

All GND is connected with copper ground and to the battery GND as well, so finding is easy if you have any multi-meter at hand.