Buggy only reverses
Moderator: Benj
-
- Posts: 26
- Joined: Thu Jul 12, 2007 4:59 pm
- Location: Nr Ipswich, Suffolk, England
- Contact:
Buggy only reverses
Hi,
I've used the example flowcode to get the buggy moving with PWM - in reverse (assuming the line following module is at the "front"), but not forwards.
Also, using the turn example, the buggy turns with one motor stopped, and one turning instead of them going opposite directions, so again, the forwards part isn't working!
Many thanks,
Dave
I've used the example flowcode to get the buggy moving with PWM - in reverse (assuming the line following module is at the "front"), but not forwards.
Also, using the turn example, the buggy turns with one motor stopped, and one turning instead of them going opposite directions, so again, the forwards part isn't working!
Many thanks,
Dave
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello
Thats strange. Can you please confirm the following.
1) The motor connections are the correct way round. Eg the red lead goes to the +.
2) The Motor direction output pins are set to logic 1.
3) The PWM is running at under 50% mark and over 50% space.
We are releasing an update for Flowcode today hopefully which will contain the Formula Flowcode Component.
Thats strange. Can you please confirm the following.
1) The motor connections are the correct way round. Eg the red lead goes to the +.
2) The Motor direction output pins are set to logic 1.
3) The PWM is running at under 50% mark and over 50% space.
We are releasing an update for Flowcode today hopefully which will contain the Formula Flowcode Component.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 26
- Joined: Thu Jul 12, 2007 4:59 pm
- Location: Nr Ipswich, Suffolk, England
- Contact:
Still stuck in reverse
Hi Ben,
Well done to you all for the new components for the Buggy. The components and test routines are fantastic.
Right, I still have the same problem with the buggy using the new components. Assuming the line-following circuit is at the "front" of the buggy, then...
"Forwards" component makes the buggy go backwards, "Backwards" doesn't drive the motors at all.
From this, I assume the turning won't work as it requires a mixture of forwards and reverse.
Red motor wires are going to +, black to -
Will post photos once I have uploaded the photos. The Forward/reverse component are both using the suggested value of 200
Any suggestions or more information required?
Dave
Well done to you all for the new components for the Buggy. The components and test routines are fantastic.
Right, I still have the same problem with the buggy using the new components. Assuming the line-following circuit is at the "front" of the buggy, then...
"Forwards" component makes the buggy go backwards, "Backwards" doesn't drive the motors at all.
From this, I assume the turning won't work as it requires a mixture of forwards and reverse.
Red motor wires are going to +, black to -
Will post photos once I have uploaded the photos. The Forward/reverse component are both using the suggested value of 200
Any suggestions or more information required?
Dave
-
- Posts: 26
- Joined: Thu Jul 12, 2007 4:59 pm
- Location: Nr Ipswich, Suffolk, England
- Contact:
-
- Posts: 26
- Joined: Thu Jul 12, 2007 4:59 pm
- Location: Nr Ipswich, Suffolk, England
- Contact:
Odd now!
For some reason, the "reverse" component is now working - forwards!
I put a meter over the pins of the motors whilst in "forwards" mode (200) and the meter was reporting a voltage of -1.99v - I guess thats why the motors are running backwards, but it doesn't explain why the other component has started running!
"SpinRight" does make it spin right now - ? odd again, as I would expect it to go left if the voltages are reversed?!
I'm puzzled now, but will continue to test with what I can!
Dave
For some reason, the "reverse" component is now working - forwards!
I put a meter over the pins of the motors whilst in "forwards" mode (200) and the meter was reporting a voltage of -1.99v - I guess thats why the motors are running backwards, but it doesn't explain why the other component has started running!
"SpinRight" does make it spin right now - ? odd again, as I would expect it to go left if the voltages are reversed?!
I'm puzzled now, but will continue to test with what I can!
Dave
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello Dave
when assembling the Buggy did you cross over the wires for the motors as specified in the build instructions 2.4 and 2.5.
http://www.matrixmultimedia.com/softwar ... tarted.pdf
when assembling the Buggy did you cross over the wires for the motors as specified in the build instructions 2.4 and 2.5.
http://www.matrixmultimedia.com/softwar ... tarted.pdf
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 26
- Joined: Thu Jul 12, 2007 4:59 pm
- Location: Nr Ipswich, Suffolk, England
- Contact:
Hi Ben,
Looks like that may be the problem!
Thanks Ben. I had already attached the board to the chassis before I made the electrical connections. When the board is the correct way up, the cross over doesn't happen - the left connection is above the left motor etc.
I either didn't read the instructions in time, or hadn't found them!!!
Not only do the motors go the right way now (!), but also some of the slack wire is taken up as it now travels over the chassis.
Many thanks for the help, and apologies for the "rookie" error.
ALWAYS READ THE INSTRUCTIONS FIRST!!!! Duh!:oops:
Dave
Looks like that may be the problem!
Thanks Ben. I had already attached the board to the chassis before I made the electrical connections. When the board is the correct way up, the cross over doesn't happen - the left connection is above the left motor etc.
I either didn't read the instructions in time, or hadn't found them!!!
Not only do the motors go the right way now (!), but also some of the slack wire is taken up as it now travels over the chassis.
Many thanks for the help, and apologies for the "rookie" error.
ALWAYS READ THE INSTRUCTIONS FIRST!!!! Duh!:oops:
Dave
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello Dave
Don't worry it was bound to happen to someone sooner or later.
Thanks for letting us know that it is all working correctly now.
Hope you have fun with your Micro-mouse now it is running correctly.
Don't worry it was bound to happen to someone sooner or later.
Thanks for letting us know that it is all working correctly now.
Hope you have fun with your Micro-mouse now it is running correctly.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Wed Sep 05, 2007 4:58 pm
- Location: Leeds
Hmm... the instructions are a little confusing though. The designation 'left' and 'right' would normally be taken as viewed 'looking forwards' (ie in the direction the buggy moves forwards). This would make each motor connect to the circuit board without crossing over the chassis.
I made precisely the same 'error' as steamydave (and no, I didn't look at the instructions!). Following the diagram (crossing the motor wires over the chassis) is easy enough, but perhaps it could be made clearer by pointing out that where it says 'right motor' on the circuit board... you actually mean't 'left motor' !!
I made precisely the same 'error' as steamydave (and no, I didn't look at the instructions!). Following the diagram (crossing the motor wires over the chassis) is easy enough, but perhaps it could be made clearer by pointing out that where it says 'right motor' on the circuit board... you actually mean't 'left motor' !!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello
The labels are correct. The wires enter the backs of the motors. This is why the wires require a crossover.
The right motor connections go from the right hand side of the buggy to the left hand side of the chassis. These then enter the back of the motor. The front of the motor comes out as the right hand wheel.
The labels are correct. The wires enter the backs of the motors. This is why the wires require a crossover.
The right motor connections go from the right hand side of the buggy to the left hand side of the chassis. These then enter the back of the motor. The front of the motor comes out as the right hand wheel.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Wed Sep 05, 2007 4:58 pm
- Location: Leeds
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Your right. They had me stumped for a while too.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel