Open hoverboardhavoc opened 3 weeks ago
it is 2024 we should always use the same uartbus protocol
I think there are pads for another USART but no connector. Maybe I'll need to solder something on if I want to connect the board to a micro controller and a slave
Yes, the second uart port (usually PB6 and PB7 ) would be good to have master-slave communication. But i added the RemoteUartBus with which you can control two or more single boards directly from ESP32 (or likewise).
What empty uart header are you reffering to ? Please show it on a photo. I see some bluetooth modules on your photos. Sometimes they only offer a TX or RX line and not both..
I put a red ring around what I thought might be a UART
but i see three little smd transistors above this 4pin header, that is why we think it is another led driver port.
Try to trace the PB6 and PB7 of the mcu. I guess at least one of those will lead to the bluetooth module. If you are lucky, both rx and tx will end there. Then you have the second uart.
there is 3 pin connector near antenna its highly likely
This board from Classy Walk hoverboard and has a GD32F130, FORTIOR FD6287T GA1015 and a NCE01P13K 1PKL2. It's marked with OLSZ 0L20190703-V4.1
Master
Slave
Config
The hall order was not detected by autoconfig (see below). Every combination of HALL_A, HALL_B and HALL_C have been tested with every combination of the detected hall pins, PA1, PC13 and PC14. None of them make the motor turn forwards and backwards using
REMOTE_DUMMY
.Hold detection
https://github.com/user-attachments/assets/07c28e3b-4ee3-4a48-b20d-48aaa9bedfdd
Hold detection freezes after the
release OnOff button
stage. When the power button is released, the board just turns off.Hall / Hall order detection
https://github.com/user-attachments/assets/b025cb2a-ecb6-43c4-bc1f-d2cba355bd90
The hall detection works but the hall order detection does not detect the order.
Slave board
The slave board flashes but does not appear to turn on. There is obviously no switch to bridge.
Questions
Flashing
The master board can't be flashed when being powered via the bench power supply but can be flashed when powered via the 3.3V line on the ST-LINK flasher. I read elsewhere that this is bad and the ST-LINK does sometimes behave strangely. (Maybe too much current is being drawn?) Any idea why it does not flash while being powered by the bench power supply and are there any workarounds? Maybe it would be better to have an external 3.3V power supply rather than using the 25.9V bench power supply?
Version number
Any idea how this board would fit into the existing version number scheme? It says 0L20190703-V4.1 on it.