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: 42
Gender: None specified
National Flag:
Italy
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: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

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
    }
    else
    {
      PCF8575.digitalWrite(solenoide1Pin, LOW);
      bitWrite(Status, 1, 0);
    }


Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest