{"action":"created","issue":{"url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10","repository_url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement","labels_url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10/comments","events_url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10/events","html_url":"https://github.com/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10","id":382034965,"node_id":"MDU6SXNzdWUzODIwMzQ5NjU=","number":10,"title":"How to turn on controller?","user":{"login":"NickGoumas","id":21350476,"node_id":"MDQ6VXNlcjIxMzUwNDc2","avatar_url":"https://avatars0.githubusercontent.com/u/21350476?v=4","gravatar_id":"","url":"https://api.github.com/users/NickGoumas","html_url":"https://github.com/NickGoumas","followers_url":"https://api.github.com/users/NickGoumas/followers","following_url":"https://api.github.com/users/NickGoumas/following{/other_user}","gists_url":"https://api.github.com/users/NickGoumas/gists{/gist_id}","starred_url":"https://api.github.com/users/NickGoumas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickGoumas/subscriptions","organizations_url":"https://api.github.com/users/NickGoumas/orgs","repos_url":"https://api.github.com/users/NickGoumas/repos","events_url":"https://api.github.com/users/NickGoumas/events{/privacy}","received_events_url":"https://api.github.com/users/NickGoumas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T02:34:18Z","updated_at":"2018-11-19T21:03:40Z","closed_at":null,"author_association":"NONE","body":"I have the BLDC motor wheel, battery pack and motor controller from an original scooter. I'm trying to simply send a signal to the controller from a microcontroller. How do I turn on the controller to get it ready to start accepting messages? On the controller board there is a 4 pin connector with labels on the PCB. From top to bottom the labels are \"G - T - P - 5\". \"G\" and \"5\" are ground and 5v while I believe \"T\" is the data line for communication to the BLE which is normally in the handlebar. \"P\" seems like some sort of power button but I can't seem to get the controller to stay ON. If I connect 5v to \"P\" momentarily  the controller's red LED comes on and the green LED flashes slowly for 35 seconds, then the lights turn off. Any advice?"},"comment":{"url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/comments/440040823","html_url":"https://github.com/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10#issuecomment-440040823","issue_url":"https://api.github.com/repos/camcamfresh/Xiaomi-M365-BLE-Controller-Replacement/issues/10","id":440040823,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDA0MDgyMw==","user":{"login":"jacknab","id":2737260,"node_id":"MDQ6VXNlcjI3MzcyNjA=","avatar_url":"https://avatars3.githubusercontent.com/u/2737260?v=4","gravatar_id":"","url":"https://api.github.com/users/jacknab","html_url":"https://github.com/jacknab","followers_url":"https://api.github.com/users/jacknab/followers","following_url":"https://api.github.com/users/jacknab/following{/other_user}","gists_url":"https://api.github.com/users/jacknab/gists{/gist_id}","starred_url":"https://api.github.com/users/jacknab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacknab/subscriptions","organizations_url":"https://api.github.com/users/jacknab/orgs","repos_url":"https://api.github.com/users/jacknab/repos","events_url":"https://api.github.com/users/jacknab/events{/privacy}","received_events_url":"https://api.github.com/users/jacknab/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T21:03:40Z","updated_at":"2018-11-19T21:03:40Z","author_association":"NONE","body":"If you take a small screw driver and touch the 2nd PIN (P Pin) the scooter should turn on.  The P pin is the 40V power which is the green wire.  As for your controller turning off after 35 seconds when it turns off do you hear the beep sound?  Also are you hearing any beep sound when you turn it on? \r\n\r\nYou mentioned you touched pins 5 and P to get the scooter turned on, touching those 2 pins together will burn out the ble controller (i know from experience) if you touched them together like a quick tap you probably didn't cause any damage to the ble controller, when I burned out my controller I noticed only 2 of the leds on the board would light up and as I kept messing with the board the longer it was powered on I noticed another LED would go out.\r\n\r\nBecause if the controller isn't connected up correctly the tail light would blink in a set pattern and the controller would beep repeatedly in a set pattern.\r\n\r\nI would check the grey controller cable that runs down through the handle bar to the motherboard/battery area.  This would mean disconnect the BLE controller and remove the battery protection cover, and unplug the grey cable from the motherboard and gently pull the cable upwards through the top to remove the entire cable, then inspect the entire cable looking for any cuts into the wiring.. If you do find a cut this could be the cause.\r\n\r\nIf you are interested in testing something (it would require you to remove the outter layer of the grey cable that runs out of the handlebar and back into the bottom V neck bar to the controller area.\r\nremove a small portion of the grey wire wrap exposing the 4 inner wires (Red, Green, Yellow, Black)\r\n\r\nYou will want to cut the Green wire, cut small portion of the green wire wrapping so your able to connect the 2 wires back together.  \r\n\r\nTouch the 2 wires together and turn on your scooter once the scooter is turned on break the connection of the green wires, so they are no longer touching.  \r\nIf the scooter stays on that means the problem lays within the BLE Controller\r\nIf the scooter still powers off the problem is either in the motherboard controller or battery\r\n\r\n*cutting the green wire, cuts the 40V power from the BLE which is used to turn on/off the scooter\r\n\r\n"}}
{"actor":{"display_login":"jacknab"}}