-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jason-Y000 edited this page Nov 30, 2019
·
1 revision
Running the motor:
-
Firstly, ensure that all connections are secure! Make sure that nothing is falling apart or will disconnect—this is crucial as if anything disconnects it could fry a component
-
Close the switch—you’ll know it’s on if the digital ammeter lights up
-
Connect PWM pins 5 and 6 from the Arduino to AN2 and AN1 respectively and the connect the Arduino GND to the Motor Controller GND
-
Find the remote control and turn the motor controller on—you’ll know it’s on if the controller’s fans turn on and the PWR LED is lit green
-
Connect the computer with the appropriate ROS motor code to the Arduino
-
Run the ROS motor code and watch the wheels turn
Possible errors:
- The Arduino isn’t loaded with the right code: Just reload the Arduino with the right Arduino-ROS code (in the ART Embedded Repo) and check the connections again
- Power to the motor controller: It’s possible that the switch control on the side of the motor controller is not connected correctly. Just take a jumper wire and connect the the two ends of the switch and see if the motor controller turns on. If it does, run the tests you need to and make a note about the switch problem, but if it doesn’t, it’s likely that there is a problem with the motor controller (make a note of it)
- If it’s neither of the above, check connections again
- If that still fails, check the switch configure located near the DIG, AN pins on the back of the motor controller: Be sure that it’s in a setting of 10110000 (if this setting doesn’t work then try 10000000)
- If all of the above fails, message me, Jason, and I will do my best to help figure out the problem