-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to flash? #17
Comments
you need to flash both sides but you have to rebuild the code with a change in the config.h file |
Hi FGay! Have you tried this firmware? I tried Pro Mini and ESP8266, but no response. I try to access it on MASTER using the example code.(PPMDevice) The controller sends the data, the arduino sends the response, but nothing. The board is good because I can start the motors at a fixed speed by modifying the code (board firmware). Can you help me? Thank you. |
@szepnorbee |
Yes, I have solved the problem. There were two things. The first was that my board had a bluetooth interface which is not shown in the photo. I soldered it down because it was occupying the USART ports. The second problem is that the arduino code called PPMDevice is broken. It originally sends 9 bytes instead of 8. The one line in SteeringSerial.cpp needs to be commented out. This: // buffer[index++] = sendByte; After doing this, everything works immediately. I use this fork now because it has PID and you can control the two motors separately: https://github.com/pieterjanbuntinx/Hoverboard-Firmware-Hack-Gen2 Good luck, I hope I helped. Translated with www.DeepL.com/Translator (free version) |
I am so happy. IT WORKS NOW!! |
When flashing do you have to flash both boards? I've flashed the main master successful, powered on and the slave board operates like stock. So wondering if I need to flash that side too??
The text was updated successfully, but these errors were encountered: