Closed rummens closed 3 years ago
Turns out there is still plenty things left one can do wrong with Wiring ^^
I forgot the Ground loop to the Pi, meaning the UART circuit was never closed properly. For future readers this is how to connect the Wiring:
VCC Motor --> 7.5V Ground Motor --> Ground Power Supply AND Ground Raspberry Pi (Ping 6) Read Motor --> Transmit Pi (Pin 8) Transmit Motor --> Read Pi (Pin 10)
Note: To understand which cables match which purpose check the ZigBee Board. Close to the plug in which the four motor cables connect, you can find little writing with the cable purpose and position. Otherwise open the motor housing (as explained in this repo) and check the writing there. Read is the red cable, followed in order by Transmit, Ground, VCC
Hi there,
First of all thank you very much for great this awesome project! I successfully connected a Raspberry Pi to the motor board using the original cables and firmware but I am failing to make sense of the UART response. No matter which command I send, I get a seemingly random response of one or two bites. I triple checked my UART config and tried many variations, since I saw you deactivated the HW flow control in your code. I assume they are some kind of error codes as they have nothing to do with the expected responses described in your docs but I fail to see the pattern. Also no activity from the motor but I can confirm that it still works as it does it's initial quarter rotation when connecting to Power. I take this a sign that I didn't fried the board (yet).
I hope my wiring is correct as well but I guess there is not a lot one can do wrong. VCC/Gnd --> 7.5V power/Gnd, R Motor --> T Pi, T Motor --> R Pi
A couple examples of the returns I get:
Python Debugging code I am using: