By Pata27 - Thu Jan 16, 2020 5:07 am
- Thu Jan 16, 2020 5:07 am
#19117
So starting with the byte 5 at 01, i've tested it myself (and you can easily test it with my code), it will unlock the scooter but the wheel won't spin (At a value less than 5 for speed limit, it is a to small value to allow the wheel to spin)
Most of the working code to make scooter run where 0x14 (for 20kph speed limit(it is pretty fun because in decimal, 0x14 give us 20, is there somthing to do with it ? I need to see if at 0x15(21) the speed limit is 21Kph (and if it is the case, the maximal speed limit is 255kph?!?))) or where E4 for 36-37kph (But this value is already spining the wheel at the maximum speed that it can achive with 36v provided to it so putting a greater value than that is probaby not that useful)
Second point. Actualy, there is any initialisation sequence. There is just a "Keep alive " sequence that will alow the scooter to run. All of the diferent options are passed into this keep alive.
The point of the first sequence that where used in other versions of the code is just here to lock the scooter at the begining (and i don't know why, it works flawlessly whitout sending it a locking sequence before the unlocking sequence)
For the first two digits, some sequences used to have them, some other not (for exemple, basti's where not using them). I still need to figure it out what the purpose of 3 bits of the 4th byte
Third and last point, i only tested this code one ES200G, i had 2 people that had also tested it on ES200G. So if someone had a ES100, i be glad to know if it works on them too.
Hope i made this clearer for you
Most of the working code to make scooter run where 0x14 (for 20kph speed limit(it is pretty fun because in decimal, 0x14 give us 20, is there somthing to do with it ? I need to see if at 0x15(21) the speed limit is 21Kph (and if it is the case, the maximal speed limit is 255kph?!?))) or where E4 for 36-37kph (But this value is already spining the wheel at the maximum speed that it can achive with 36v provided to it so putting a greater value than that is probaby not that useful)
Second point. Actualy, there is any initialisation sequence. There is just a "Keep alive " sequence that will alow the scooter to run. All of the diferent options are passed into this keep alive.
The point of the first sequence that where used in other versions of the code is just here to lock the scooter at the begining (and i don't know why, it works flawlessly whitout sending it a locking sequence before the unlocking sequence)
For the first two digits, some sequences used to have them, some other not (for exemple, basti's where not using them). I still need to figure it out what the purpose of 3 bits of the 4th byte
Third and last point, i only tested this code one ES200G, i had 2 people that had also tested it on ES200G. So if someone had a ES100, i be glad to know if it works on them too.
Hope i made this clearer for you
DFTC wrote: ↑Thu Jan 16, 2020 4:35 amThe work of Pata27 is very interesting.
Some questions/remarks :
- Why do most of the previously tested sequences have byte 5 to 01 when this is theoretically the speed limit?
- This sequence allows the initialization of the scooter, or to change the options, but what about the "Keep alive" ?
Unless I am mistaken, all this does not prevent the scooter from shutting down after one or two minutes.
FYI : only UgloBuglo's "Stay Alive" sequence seems to use the first two digits of the 4th byte. Indeed the F5 code is converted to binary in 111101
- Have the 4th byte options been tested and validated on ES-100 and ES-200? It is likely that the option differs between the two systems. (I have tried to analyse the previously tested sequences, like those of Basti and they do not always match with the byte 4 options.)