Forum Software Ferduino code ATO and Pwc for Freshwater ?

ATO and Pwc for Freshwater ?  [SOLVED]


Post Number:#1 Post Sun Jun 23, 2019 4:14 pm
Posts: 15
Topics: 2
Solve rating: 0
Joined: Sun Mar 24, 2019 10:46 am
Topics: 2
Age: 46
Gender: None specified
National Flag:
Portugal
Hi

I am almost ready to mount my ferduino in my aquarium most functions i want i have been able to sort out ( with help from Fernando)

My last step is making me very confused.

I want to to ATO and PWC from the same reservoir using the same pumps. Seeing i have a freshwater tank this is enough for me.

Can anybody suggest how this can be done?

Thank You
Marco

Post Number:#2 Post Sun Jun 23, 2019 5:28 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You should edit this part to make the sequence in PWC according to your setup.

The function for ATO is here.

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

Post Number:#3 Post Wed Jun 26, 2019 2:57 pm
Posts: 15
Topics: 2
Solve rating: 0
Joined: Sun Mar 24, 2019 10:46 am
Topics: 2
Age: 46
Gender: None specified
National Flag:
Portugal
Can´t get it to work ;(

do i have to activate PWC anywhere on the code ?

Post Number:#4 Post Wed Jun 26, 2019 3:25 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

The function is activated only via menu.

It won't work for you unless your setup is exactly like this:

Image


I have explained this functions many times on forum, Take a look at:

viewtopic.php?f=8&t=308

viewtopic.php?f=8&t=73

If you did your custom function let me see your code.

Also you can add this debug messages on loop after LOGLN(FreeStack()); to see the status of each sensor and pump.

       LOG(F("Sensor 1: "));
       LOGLN(myAnalogRead(A0));
       LOG(F("Sensor 2: ");
       LOGLN(myAnalogRead(A1));
       LOG(F("Sensor 3: "));
       LOGLN(myAnalogRead(A2));
       LOG(F("Sensor 4: "));
       LOGLN(myAnalogRead(A3));
       LOG(F("Sensor 5: "));
       LOGLN(myAnalogRead(A4));
       LOG(F("Sensor 6: "));
       LOGLN(myAnalogRead(A5));
       LOG(F("marcadoriniciotpa: "));
       LOGLN(marcadoriniciotpa);
       LOG(F("shiftedmillis: "));
       LOGLN(shiftedmillis);
       LOG(F("Duration for stage: "));
       LOG(tempo/60000);
       LOGLN(F(" minutes"));

       if (PCF8575.digitalRead(bomba1Pin)==HIGH)
       {
       LOGLN(F("Pump 1: ON"));
       }
       else
       {
       LOGLN(F("Pump 1: OFF"));
       }
       if (PCF8575.digitalRead(bomba2Pin)==HIGH)
       {
       LOGLN(F("Pump 2: ON"));
       }
       else
       {
       LOGLN(F("Pump 2: OFF"));
       }
       if (PCF8575.digitalRead(bomba3Pin)==HIGH)
       {
       LOGLN(F("Pump 3: ON"));
       }
       else
       {
       LOGLN(F("Pump 3: OFF"));
       }


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

Post Number:#5 Post Thu Oct 03, 2019 8:32 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Have you solved the problem?

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

Post Number:#6 Post Sun Oct 04, 2020 8:14 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Any news here?

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

cron