By MrSpriggs1 - Fri Dec 06, 2019 11:00 pm
MrSpriggs1 wrote:Awesome... Uhmm and your basement is kinda creepy looking.
An Electric Scooter Community on a Mission to Stamp out Transportation Mediocrity.
This works so far on VOI ES-100D! Thank you very much.MrSpriggs1 wrote: ↑Fri Dec 06, 2019 5:29 pmSo after a bunch of time painting my new pretty scooter.
I found out you only need these 5 hex numbers to make it light up and go. Now how do you go fast?
Code: Select all#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: Serial1.begin(9600); pinMode(powerPin, OUTPUT); digitalWrite(powerPin, HIGH); } void loop() { delay(500); Serial1.write(messageC, sizeof(messageC)); }
Hello and thank you for having your solutionMrSpriggs1 wrote: ↑Fri Dec 06, 2019 10:37 pmWell, I see my mistake Im working with an Adafruit feather M0 not a Nano. You might want to remove the one from Serial1. Here is a correction below. Im not going to make any promises but hopefully it might help. You might have to get a logic analyzer and hook up to the GPS
electricool wrote: ↑Fri Dec 06, 2019 7:34 pmhello and thank you for sharing the result of your work, I wanted to know on which ESC you used this code, I have a ESC100 of the company bird but it does not work onMrSpriggs1 wrote: ↑Fri Dec 06, 2019 5:29 pmSo after a bunch of time painting my new pretty scooter.
I found out you only need these 5 hex numbers to make it light up and go. Now how do you go fast?
Code: Select all#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 Serial: Serial.begin(9600); pinMode(powerPin, OUTPUT); digitalWrite(powerPin, HIGH); } void loop() { delay(500); Serial.write(messageC, sizeof(messageC)); }
thank you and good luck
The setup is wrong. The blue wire is on its right place. Solder the yellow wire to the RX0 and the green wire to the TX1. The black wire actually you don’t need - you can unplug it.electricool wrote: ↑Sat Dec 07, 2019 7:23 pmHello and thank you for having your solutionMrSpriggs1 wrote: ↑Fri Dec 06, 2019 10:37 pmWell, I see my mistake Im working with an Adafruit feather M0 not a Nano. You might want to remove the one from Serial1. Here is a correction below. Im not going to make any promises but hopefully it might help. You might have to get a logic analyzer and hook up to the GPS
electricool wrote: ↑Fri Dec 06, 2019 7:34 pm
hello and thank you for sharing the result of your work, I wanted to know on which ESC you used this code, I have a ESC100 of the company bird but it does not work on
thank you and good luck
I encounter a problem, I wanted to test your code on an arduino uno on which I solder the wire: blue 3v3 the black GND and green on the pin D5, I have a bird zero ESC100
I transfer your code on the arduino I can see the LED flashed TX but the bird remains dormant, you could look if I made no mistake on the wiring please
I thank you very much
Hello and thank you for answering me, I work on a bird but with very little means, I followed the wiring diagram of BASTI256 that I thank in passing for his workMarius Petz wrote: ↑Sat Dec 07, 2019 9:04 pmThe setup is wrong. The blue wire is on its right place. Solder the yellow wire to the RX0 and the green wire to the TX1. The black wire actually you don’t need - you can unplug it.electricool wrote: ↑Sat Dec 07, 2019 7:23 pmHello and thank you for having your solutionMrSpriggs1 wrote: ↑Fri Dec 06, 2019 10:37 pmWell, I see my mistake Im working with an Adafruit feather M0 not a Nano. You might want to remove the one from Serial1. Here is a correction below. Im not going to make any promises but hopefully it might help. You might have to get a logic analyzer and hook up to the GPS
I encounter a problem, I wanted to test your code on an arduino uno on which I solder the wire: blue 3v3 the black GND and green on the pin D5, I have a bird zero ESC100
I transfer your code on the arduino I can see the LED flashed TX but the bird remains dormant, you could look if I made no mistake on the wiring please
I thank you very much
#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:
Serial1.begin(9600);
pinMode(powerPin, OUTPUT);
digitalWrite(powerPin, HIGH);
}
void loop() {
delay(500);
Serial1.write(messageC, sizeof(messageC));
}
Pata27 wrote: ↑Fri Nov 29, 2019 11:41 amHey everybody.
As basti256 was saying it is quite simple to use a logic analyser to find out what the program is sending.
So if someone want to make a custom one you can use this code as a starting point.Code: Select allHope it can help people that wanted the code to do a custom version with nfc reader or some more feature.void setup() { // initialize serial: Serial.begin(9600); Serial.write(0xA6); Serial.write(0x12); Serial.write(0x02); Serial.write(0x10); Serial.write(0x14); Serial.write(0xCF); delay(500); Serial.write(0xA6); Serial.write(0x12); Serial.write(0x02); Serial.write(0x11); Serial.write(0x14); Serial.write(0x0B); } void loop() { delay(500); Serial.write(0xA6); Serial.write(0x12); Serial.write(0x02); Serial.write(0x15); Serial.write(0x14); Serial.write(0x30); }
No they's no gps in the big , removable battery yo[…]
As this was a rental version whos overstock was […]
Any one got any info on beryl bikes I seen a few[…]