Gallery, Projects and General > Project Logs
Oven controller (arduino based)
<< < (5/5)
rschilp:
Pardyon, that is exact solution I was going to use as well, why do hardware when a software solution will work with much more flexibility.
pardydon:
Here is another more flexible bit of code

/ element power at ?% to a set temp
void heatKiln (float percentHeat, int targetTemp){
  //int f = thermocouple.readFarenheit();
  if ( tempVal() < targetTemp){

    digitalWrite(ledPin,HIGH);
    digitalWrite(ledPinTwo,HIGH);
    digitalWrite(ledPinThree,HIGH);
    delay((percentHeat/100) * 8000);//on time
    digitalWrite(ledPin,LOW);
    digitalWrite(ledPinTwo,LOW);
    digitalWrite(ledPinThree,LOW);
    delay(((100-percentHeat)/100)*8000);//off time
  }
}


Navigation
Message Index
Previous page

Go to full version