DSPIC 30f4011 help needed

Post Reply
xavierpereira
Posts: 1
Joined: Wed Aug 24, 2011 7:21 pm

DSPIC 30f4011 help needed

Post by xavierpereira » Thu Aug 25, 2011 5:45 am

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 !!!

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: DSPIC 30f4011 help needed

Post by LubinKerhuel » Thu Aug 25, 2011 9:34 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests