Close

Moving forward

A project log for ES-200 Electric Scooter Unlocker

Our streets are becoming litter with high technology joy. These forgotten scooter must be reverse engineer and given the love they deserve.

mr-spriggsMr. Spriggs 12/06/2019 at 22:342 Comments

Its been fun having a painting party to make my scooter look pretty.

I been writing little snippets to see what is important and what is not and Ive found you only really need 5 hexadecimal number to unlock the scooter.

#include <Arduino.h>

int powerPin = 5;
byte messageA[] = {0xA6, 0x12, 0x02, 0x10, 0x14, 0xCF};
byte messageB[] = {0xA6, 0x12, 0x02, 0x11, 0x14, 0x0B};
byte messageC[] = {0xA6, 0x12, 0x02, 0x15, 0x14, 0x30};

void setup() {
  // initialize Serial1:
  Serial.begin(9600);

  pinMode(powerPin, OUTPUT);
  digitalWrite(powerPin, HIGH);

  //Serial.write(messageA, sizeof(messageA));
  //delay(500);
  //Serial.write(messageB, sizeof(messageB));

}

void loop() {
  delay(500);
  Serial.write(messageC, sizeof(messageC));
}

Discussions

Mr. Spriggs wrote 12/07/2019 at 07:28 point

It so nice to be noticed. The original code was so painful to look at.

  Are you sure? yes | no

Ken Yap wrote 12/07/2019 at 00:27 point

👍 for using sizeof() in this context as it was intended to be.

  Are you sure? yes | no