scooter identification (uart protocol)

jsi
Posts: 1
Joined: Mon Jul 24, 2023 7:07 pm

scooter identification (uart protocol)

Postby jsi Mon Jul 24, 2023 7:23 pm

hi,
a friend of mine works at a swedish hotel that had some electric scooter from some company called AYO - i believe they are now defunct.

i would like to convert this scooter to a personal unlocked one.

i have disassembled the upper part (which hosts a pcb with an stm32, gsm module and other things). i have started to reverse engineer it a bit, but it's hard to figure out what to send to the motor controller without being able to sniff a correct "start" signal (etc). opening up the motor controller is difficult since the cables are glued to it and everything seems very tight down there.

from the upper pcb there is a cable having six wires:
- R (9600 baud uart, 3.3 volts)
- T (9600 baud uart, 3.3 volts)
- C (1.8 volts, not sure what it is)
- A (acceleration, connected to the throttle)
- G (gnd)
- V (+34 volts)

sniffing on the uart pins gives:

on the R pin:, every 200 ms:
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f

on the T pin, every 60 ms:
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02

is there anyone that knows more about what controller this might be, and/or some documentation of the uart protocol?

thanks.
Awriout
Posts: 2
Joined: Wed Aug 16, 2023 8:36 am

Re: scooter identification (uart protocol)

Postby Awriout Wed Aug 16, 2023 8:39 am

I have never get this error. I also wanna know the answer.geometry dash online
sonar2
Posts: 1
Joined: Thu Aug 17, 2023 1:23 pm

Re: scooter identification (uart protocol)

Postby sonar2 Thu Aug 17, 2023 1:30 pm

on the R pin:, every 200 ms:
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f

on the T pin, every 60 ms:
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02

Rx data
1. 0x5a - start byte
2. 0x10 - sender
3. 0x0a - number of data(4~13)
4. 0x1d - battery percent
5. 0x00 - speed
6. 0x02 - speed unit (01 km/h, 02 mph)
.
.
14. 8f - checksum(sum of 2~13)

Tx data
1. 0x5a - start byte
2. 0x30 - sender
3. 0x05 - number of data[4~8)
.
.
9. 0x02 - checksum(sum of 2~8)
maruusa
Posts: 3
Joined: Thu Jan 11, 2024 1:28 am

Re: scooter identification (uart protocol)

Postby maruusa Thu Jan 11, 2024 1:36 am

I learned a lot more information about the types of scooters and how to identify them. fnf
perfectlyslice
Posts: 5
Joined: Mon Jan 09, 2023 2:39 am

Re: scooter identification (uart protocol)

Postby perfectlyslice Fri Jan 12, 2024 11:10 am

on the R pin:, every 200 ms:
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f
0x5a 0x10 0x0a 0x1d 0x00 0x02 0x00 0x55 0x01 0x00 0x00 0x00 0x00 0x8f

on the T pin, every 60 ms:
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02
0x5a 0x30 0x05 0xc7 0x02 0x00 0x00 0x04 0x02

Rx data
1. 0x5a - start byte
2. 0x10 - sender
3. 0x0a - number of data(4~13)
4. 0x1d - battery percent
5. 0x00 - speed
6. 0x02 - speed unit (01 km/h, 02 mph)
.
.
14. 8f - checksum(sum of 2~13)

Tx data
1. 0x5a - start byte
2. 0x30 - sender
3. 0x05 - number of data[4~8)
.
.
9. 0x02 - checksum(sum of 2~8)
It's quite complicated for me.
phrazle

Return to “Other scooters”

Who is online

Users browsing this forum: No registered users and 132 guests