4 motor control

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
Mozzi1980
Posts: 1
Joined: Wed May 20, 2009 3:20 pm
Contact:

4 motor control

Post by Mozzi1980 »

Hi,
I am after a bit of help with writing a flowcode V3 program to control 4 DC motors. The PIC i am using is the 16F877A and it only has 2 PWM channels. Is this possible using the PWM modules? If not can i round the problem a different way still only using 1 PIC? My project is 4X4 traction control. Any advice or example flowcode programs would be a great help.
Thanks Mike

WalkOver
Posts: 65
Joined: Fri Nov 23, 2007 11:24 pm
Contact:

Re: 4 motor control

Post by WalkOver »

Hello !

You can use the 18F4431 who have more than 2 PWM and use c code or you can make a macro interupt who simulate pwm in software.

User avatar
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:

Re: 4 motor control

Post by Benj »

Flowcode currently only supports a maximum of 2 PWM channels on a device.

We hope to allow more soon but yes at the moment using software driven extra PWM channels is a good way to go.

See here for an example. (PWM LED)
http://www.matrixmultimedia.com/Flowcode_Examples.php

Post Reply