Rover 5 Motor causing program to Crash
August 21, 2011
For the chassis of my current project I'm using the Dagu Rover 5 chassis 2 motor version ( http://letsmakerobots.com/node/23331 ). The problem I’m encountering at the moment is that one of the motors seems to cause my program to crash and stop running.
To control the motors I’m using a logic board based around a pic18f4550 which is powered by a 5v volt regulator attached to a 9v battery. The logic board is then attached to the Dagu 4 channel motor driver ( http://letsmakerobots.com/node/25865 ) which is attached to 6 AA battery’s which in turn power the motors.
The logic board is attached to my laptop using a Pickit 2 while running Mplab and this is how I know when the program crashes.
The problem is very weird in that the other motor runs perfectly with the same wiring set up and I if i swap in the broken motor it will run for about 5 seconds then the program crashes.
I have tried the motor in all 4 of the channels and it’s the same result in all of them even if I use brand new wires. So i was wondering has anyone else experienced anything like this before? Any advice on how to fix it or should i just contact the website i purchased it off and exchange it for a new one.