This MicroController is used in conjunction with the Okai ES200G scooter Battery Packs. These battery packs require a status/unlock signal to their BLUE (Tx) wire with 9600 Baud serail: 0x3A, 0x13, 0x01, 0x16, 0x79
Then the battery replies with an extensive status report on the GREEN (Rx) wire. We are currently designing a device to display the status report from the battery, but for now we can turn them on and use them to power many 36v devices. The Arduino is pre-Programmed with the following code:
void setup() {
Serial.begin(9600);
}
Serial.begin(9600);
}
void loop() {
// 0x3A, 0x13, 0x01, 0x16, 0x79
Serial.write(0x3A);
Serial.write(0x13);
Serial.write(0x01);
Serial.write(0x16);
Serial.write(0x79);
delay(5000);
// 0x3A, 0x13, 0x01, 0x16, 0x79
Serial.write(0x3A);
Serial.write(0x13);
Serial.write(0x01);
Serial.write(0x16);
Serial.write(0x79);
delay(5000);
}
To power your Arduino you have to use a DC-DC that makes the battery packs 42v down to at least 3.6v. We recommend this DC-DC
Here is how the Arduino is programmed.