Page 1 of 1

DSPIC 30f4011 help needed

Posted: Thu Aug 25, 2011 5:45 am
by xavierpereira
Hello everyone ,
I m working on my senior project and I m in real need for help with
programming dspic30f4011. I need to know how do I write a code for capturing
volatge ands current from battery of 12 V.

I have already deisgn the circuitry to sense battery voltage and Current

My circuit has 2 output sugnals (current and voltage) which connect to the
ADC channels of DSPIC ..

I also need to set the duty cycle and the output should be at PWM port of
DSPIC which inturn is connected to the Mosfet gate driver..

If any one has feed backs or sample code to start with I would highly
appreciate the effort ..

Thank You
An engineer in Need !!!

Re: DSPIC 30f4011 help needed

Posted: Thu Aug 25, 2011 9:34 am
by LubinKerhuel
It seems that the blockset for simulink has the required blocks to make it easy.
Are you using Siumlink to program your dsPIC ? otherwise, you might not be on the most appropriate forum.

Lubin