camcamfresh / Xiaomi-M365-BLE-Controller-Replacement

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

Brake and throttle are not working (back LED is blinking) #7

Closed bnurbekov closed 5 years ago

bnurbekov commented 5 years ago

Hi,

Thank you so much for such a great work - it’s very useful. I was trying to run your code on my board. However, the brake and the throttle are not working in my case. Back LED is blinking 5 times (as if the brake and the throttle were disconnected from the Bluetooth board). I am wondering if I will need to send some additional messages to notify the main board that everything is connected properly. Please could you help me to resolve this issue? Thank you in advance!

camcamfresh commented 5 years ago

It sounds like the motor controller isn't receiving any data at all. I think I remember, that the scooter would blink 5 times before I started communicating with my micro controller. As a result, I'm inclined to think that the motor controller is always listening for data from the BLE controller. If the BLE controller fails to send values for a few seconds it will activate the blinking until it receives the values. I will update the program on github later today to my current version.

bnurbekov commented 5 years ago

@camcamfresh Thank you so much! After I flashed the latest code everything started working. Really appreciate your help.