Page 1 of 1

how control four MD30B with PS2 controller

PostPosted: Sun Jun 26, 2011 1:12 am
by carlobot
Hi guys,

I 'd like to control 4 motors indipendently as PSC28A do but using SKPS and SK40C.Any suggestion?Thank you for the help,
regards ,
carlobot

Re: how control four MD30B with PS2 controller

PostPosted: Sun Jun 26, 2011 8:04 pm
by robosang
Do you need to control speed of all four motors? Because the normal PIC have only 2 PWM output.

Basically you can try the sample source code of SKPS from cytron, I started from there too. Quite simple ;)

Re: how control four MD30B with PS2 controller

PostPosted: Mon Jun 27, 2011 12:57 am
by carlobot
HI,

thank you for reply.As you mentioned I need the four speed for motors; I have got cytron software to control two motors in excellent way with pwm hardware of Pic 16f877a .How I can modify /integrate the project and get the target of controlling
four motors?Your help is very appreciate.Regards,

carlobot

Re: how control four MD30B with PS2 controller

PostPosted: Thu Jun 30, 2011 6:10 pm
by hyng
You need 4 pwm to control 4 speed. Maybe you can try other MCU that has 4 PWM like 18F series. One of the example is PIC18F2331/2431/4331/4431/. But the coding will be different from 16F.

Re: how control four MD30B with PS2 controller

PostPosted: Thu Jun 30, 2011 9:27 pm
by robosang
Use PIC16F777 before, 3 PWM.... but you need 4 channels, maybe you should take a look on what hyng recommend.

how to control servo motor using ps2 controller?

PostPosted: Wed Nov 23, 2011 10:04 pm
by Dee~
Hi,
I want to control servo motor using the ps2 controller. How to connect the sk40c(pic16f877a), servo controller sc08a (to control servo motor), and skps together. It that possible for me to connect sc08a and skps to sk40c using uart interface, because pic16f877a only has one uart interface, right? thanks

Re: how control four MD30B with PS2 controller

PostPosted: Thu Nov 24, 2011 10:45 am
by ober
That is possible, you can create your own software UART, please refer to one of our DIY (Do It Yourself) project, PR27, Multi UART Interface.