5416 DSP CCStudio sine wave program

Friday, July 13, 2012


    

Code Composer Studio sine wave program

      #include<stdio.h>
#include<math.h>
float a[100];
main()
{
 int i;
for(i=0;i<99;i++)
{
a[i]= sin(2*3.14*5*i/100);
printf("%f",a[i]);
}
}

 

How to convert ammeter to voltmeter?

Sunday, July 8, 2012


 ammeter to voltmeter conversion



You can convert an ammeter into a voltmeter by adding a series resistor.

How to convert voltmeter into ammeter?

Saturday, July 7, 2012

voltmeter to ammeter conversion

You can convert a voltmeter into ammeter by adding a parallel resistor with a known value and from that it calculates the current through the resistor. The resistor has to be a very small value, so that it doesn't change the current in the circuit by being placed in line with it.