Forum Software Ferduino code Ato problem

Ato problem  [SOLVED]

Post Number:#1 Post Thu Sep 12, 2019 7:40 pm
Posts: 24
Topics: 7
Images: 5
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 38
Gender: None specified
National Flag:
Hi Fernando!
A strange thing happened to me. I am testing the cooler and I noticed that when it is working the ato does not go. As soon as the chiller turns off the ato starts again. No problem when the heater is in operation. Can you help me ?

Post Number:#2 Post Thu Sep 12, 2019 9:24 pm
Posts: 1651
Topics: 38
Images: 280
Solve rating: 219
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:


This not a problem it's a feature.

Since there's possibility to happen a leak while chiller is working the ATO function is ignored to prevent fill all the tank with freshwater.

You can see all conditions here:

void reposicao_agua_doce () // abre a solenoide 1 se o nível estiver baixo e se a tpa não estiver em andamento
// e se o chiller estiver desligado e se o nível do sump não estiver anormal e se não houve falha durante uma tpa.

    if ((analogRead(sensor3) > 400) && (analogRead(sensor2) > 400) && (bitRead(tpa_status, 1) == false) && (bitRead(status_parametros, 0) == false) && (bitRead(tpa_status, 2) == false))
      PCF8575.digitalWrite(solenoide1Pin, HIGH);
      bitWrite(Status, 1, 1); // sinaliza reposição em andamento
      PCF8575.digitalWrite(solenoide1Pin, LOW);
      bitWrite(Status, 1, 0);

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

  • Similar Topics
    Last post

Return to Ferduino code

Who is online

Users viewing this topic: No registered users and 1 guest