03-14-2014 04:28 PM
Welcome friends
i want to enter signal to labview from arduino ,this circuit for zero crossing detector as in first figure in link
http://arduinodiy.wordpress.com/2012/10/19/dimmer-arduino/
and to i get pulse at each zero point of sinewave A.C. ( i used voltage with frequency 50 Hz) to used it for contol A.C.motor
but problem i cant enter this signal to labview using arduino tools kits in labview , i think it is slow .
my a question ,Can i enter this signal with or with out using arduino tools kits in labview and how?
I Thank every one Help me
03-14-2014 07:06 PM
Yes phase control of AC power is not compatible with LIFA.
The example you provided shows how to use the signal without using LLFA.
The example you provided has this code.
void loop() {
for (int i=5; i <= 128; i++)
{
dimming=i;
delay(10);
}
The variable dimming is used to specify the output power level. You could use a pot to control the power level or Labview. The author says the power level varies in increments of 1/128, he recommends a minimum value for dimming of 5 and specifies a maximum value of 128. The author says a dimming value of 0 is full power and 128 is off.
To use a pot read the value of the analog signal, convert the analog signal to a integer signal with a range of 5 to 128 and assigned the value to dimming.
To use Labview send an integer value in the range of 5 to 128 to Arduino and assign the value to dimming.
hrh1818