Open carroth15 opened 4 years ago
@carroth15 There's a wiring diagram in the README, with an image and description of which pins on the Arduino to connect to. Does that help? https://github.com/hackerspace-adelaide/XL320#wiring-diagram
I connected the motor according to the wiring diagram and tried to run the baud rate or id code but nothing happened when I ran the code.
@carroth15 Have you tried setting it to communicate at 1Mbps? That's what they (used to) come set as out of the factory.
Serial.begin(1000000);
I tried it but after I uploaded the code, weird marks were the only things that I can see on the serial monitor.
@carroth15 Did you try setting your serial monitor to different speeds? Perhaps it's already been set to some other value?
I matched the baud rate of the serial monitor same as the baud rate in the code.
@carroth15 Try other settings too - sounds like you're getting output, but not the right baud rate on one of the ends.
The motor finally started to move! I was able to solve this problem thanks to your help. I really appreciate it! Thanks!
@carroth15 How did you solve it in the end?
@carroth15 @sighmon Was anyone able to determine a solution? Currently having the exact same problem, and am not sure where to look.
@NikeetPandit What have you tried so far?
If you're in Adelaide I can highly recommend attending the Hackerspace session on Thursday nights from 6pm at Makerspace Adelaide: https://makerspaceadelaide.org
They'll be able to help you out.
If you live elsewhere, find your local hackerspace.
I tried to connect it with arduino board and use the example code to run xl-320 motor but I can't find any information about the pins that I have to connect to the motor. Is there any one who can provide some pictures about it?