FORUM TOPIC · READ ONLY

DSPIC 30f4011 help needed

DSPIC 30f4011 help needed

Forum : dsPIC Peripherals

2 message(s) · archive en lecture seule

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

Re: DSPIC 30f4011 help needed

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