Page 1 of 1

pH and temp reading is 0.

Posted: Wed Aug 31, 2011 4:24 pm
by javisaman
Hi, I've had my reef angel for a few months now. For whatever reason I'm getting 0 for T1 and 0 for pH. I'm using SIMPLE_MENU with the development libraries.

Re: pH and temp reading is 0.

Posted: Wed Aug 31, 2011 4:27 pm
by rimai
Did the readings ever work with SIMPLE_MENU before?
Or you are just added it now?
What happens if you reboot the controller?

Re: pH and temp reading is 0.

Posted: Thu Sep 01, 2011 10:33 am
by javisaman
They did work before. When I reboot, nothing changes. I hope by reboot you mean unplug the controller wait a few and then plug it in again.

Re: pH and temp reading is 0.

Posted: Thu Sep 01, 2011 2:17 pm
by rimai
Upload this code and let me know what shows on the screen

Code: Select all

#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>


void setup()
{
    ReefAngel.Init();  //Initialize controller
}

void loop()
{
  ReefAngel.LCD.DrawText(0,255,5,5,analogRead(PHPin));
  for (int a=0;a<6;a++)
  {
    ReefAngel.LCD.DrawText(0,255,(a*25)+5,15,ReefAngel.TempSensor.addrT1[a]);
  }
  delay(500);
}

Re: pH and temp reading is 0.

Posted: Sat Sep 03, 2011 3:35 pm
by javisaman
637
0 0 0 0 0

I tried another temp probe as well. Same issue.

Re: pH and temp reading is 0.

Posted: Sat Sep 03, 2011 7:08 pm
by rimai
That means the controller is not seeing the probes.
It could be one of the probes is bad.
If you remove all the probes, you should get pH readings.
Now, plug just one probe and reboot the controller.
Do you get any temperature reading?
Do this for each probe you've got. Only one temperature probe at a time though.

Re: pH and temp reading is 0.

Posted: Sat Sep 03, 2011 7:15 pm
by javisaman
When I remove all temp probes and reset, the pH is still at 0.0 . Is there a proper way of rebooting? I unplug the controller from the relay, wait a few seconds, and plug it back in.

Re: pH and temp reading is 0.

Posted: Sat Sep 03, 2011 7:20 pm
by rimai
Can you load this code and tell me what you see on screen?

Code: Select all

#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>


void setup()
{
    ReefAngel.Init();  //Initialize controller
}

void loop()
{
  ReefAngel.LCD.DrawText(0,255,5,5,analogRead(PHPin));
  ReefAngel.LCD.DrawText(0,255,5,15,ReefAngel.PHMin);
  ReefAngel.LCD.DrawText(0,255,5,25,ReefAngel.PHMax);
  delay(500);
}

Re: pH and temp reading is 0.

Posted: Sun Sep 04, 2011 8:14 pm
by javisaman
636 (changing)
633
640

it's strange that it's getting an analog signal but not displaying the pH properly.

Re: pH and temp reading is 0.

Posted: Sun Sep 04, 2011 8:17 pm
by rimai
Yeah. I think your board may have gonne bad.
You can send it in for repair.