frequency problem [ HELP ]
hi everyone,
i making project heat heater using thyristor, working fine, problem frequency.
when give frequency of 1 hz in pulse r3(2) curve perfect, when change frequency 50 hz, curve become disturbed, , unfortunately want use frequency of 50 hz.
im attaching circuit.
the code :
thanks alot
i making project heat heater using thyristor, working fine, problem frequency.
when give frequency of 1 hz in pulse r3(2) curve perfect, when change frequency 50 hz, curve become disturbed, , unfortunately want use frequency of 50 hz.
im attaching circuit.
the code :
code: [select]
float value = 1;
void setup() {
serial.begin(9600);
pinmode(13, output);
}
void loop() {
int sensorvalue = analogread(a0);
float voltage = sensorvalue * (5.0 / 1023.0);
serial.println(voltage);
if (voltage > value) {
delay(200);
digitalwrite(13, high);
serial.println("up"); } else {
digitalwrite(13, low);
}
}
thanks alot
please post code.
Arduino Forum > Using Arduino > Project Guidance > frequency problem [ HELP ]
arduino
Comments
Post a Comment