Page 1 of 1
Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:26 pm
by MDN
Hello,
Just received my RA and was able to get everything setup and working out of the box.
I am using a MAC so after tracking down where all the folders were suppost to be I was able to get the Wizard running as well.
Ran through the Wizard and everything went great - uploaded the code, all went well. Wizard said "Success", all good right.
Wrong -
My LCD is blank, I can see the backlight is on but cannot read anything on the screen. I think the RA is working because if I press the joystick I can hear a relay click. I am assuming this is "Lights On" the first menu option.
I tried loading the Preloaded code back on, it loaded but same LCD problem.
Anyone have any thoughts ?
Thanks in advance,
Mike
Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:36 pm
by DrewPalmer04
Your library version? Try naming the current library folder to libraries.old and downloading the Mac installer off reefangel.com in the download section. Install. Upload again and see what happens.
Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:40 pm
by MDN
Thanks for the quick reply.
Libs are 1.0.2 and I just downloaded and installed everything tonight - but I can try again.
Mike
Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:44 pm
by DrewPalmer04
Oh never mind then. Just a thought. Roberto will help you when he can. He always knows the answer

Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:49 pm
by DrewPalmer04
A good place to start is to share the code you'd like to upload and maybe he can spot the reason
Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 8:52 pm
by MDN
No worries, I was just grabbing the code as you were typing. Thanks
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.AddStandardMenu(); // Add Standard Menu
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 820 );
// Ports that are always on
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,10,30,21,30 );
ReefAngel.StandardHeater( Port2,751,761 );
ReefAngel.Relay.Set( Port3, !ReefAngel.Relay.Status( Port1 ) );
ReefAngel.StandardFan( Port6,771,781 );
ReefAngel.PWM.SetDaylight( PWMParabola(11,0,20,30,0,80,0) );
ReefAngel.PWM.SetActinic( PWMParabola(10,30,21,0,0,100,0) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: Newbe - LCD Blank
Posted: Wed Jan 09, 2013 9:02 pm
by DrewPalmer04
Remove
ReefAngel.AddStandardMenu(); // Add Standard Menu
Upload then see If you get the simple menu to display.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 5:40 am
by MDN
Removed:
ReefAngel.AddStandardMenu(); // Add Standard Menu
Again, uploaded fine, RA reboots - no display. Just the backlight on.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 6:15 am
by DrewPalmer04
Ok sorry it didn't work. Roberto will know...
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 11:11 am
by rimai
Try this:
Locate the file ReefAngel.cpp. It's located in Documents\Arduino\libraries\ReefAngel folder.
Open it in notepad or your preferred text editor.
Delete this line:
Save the file.
Upload your code again.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 11:49 am
by MDN
Rob,
I do not have that line in my ReefAngel.cpp file. I have looked and done a search for it.
Thanks
Mike
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 11:56 am
by rimai
Ooops... My bad...
Wrong file.
Documents\Arduino\libraries\RA_NokiaLCD\RA_Nokia.cpp
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 12:12 pm
by MDN
Eureka !!!! Perfect, LCD back online. You are the man.
So, does this mean the Lib's need updated and until then make this change if I reinstalled the software ?
Thanks
Mike
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 12:15 pm
by rimai
Yes, I'll work on libs update tonight.
Thanks for reminding me about this issue.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 5:25 pm
by mrrw60
I received my RA today and saved my configuration from the wizard and now my LCD is blank. I tried the fix suggested by Rimai and no luck restoring the LCD. Can anyone assist?
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 7:47 pm
by rimai
Libraries updates were pushed already.
Your Arduino IDE should detect and update itself automatically. It may take until tomorrow to auto-detect.
The auto-detect only works once a day to avoid nagging prompts.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 8:16 pm
by MDN
You updated this file:Documents\Arduino\libraries\RA_NokiaLCD\RA_Nokia.cpp - correct ?
Once I removed the line, I closed the Arduino app and reopened it. Opened the code that the wizard created for me, verified it and then uploaded it.
I left the line :ReefAngel.AddStandardMenu(); // Add Standard Menu in the code, I did not remove it as suggested in an earlier post.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 8:28 pm
by MDN
Roberto,
Did you update the MAC lib's as well ? I see the windows installer is 1.0.2a but the MAC is still 1.0.2
Thanks
Mike
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 8:33 pm
by rimai
The libraries will auto-update by itself when you open Arduino.
If Arduino was already opened today, you will only see the auto-update check tomorrow.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 8:36 pm
by rimai
If you wish to force the check, you need to hack the preferences.txt file:
http://arduino.cc/en/Hacking/Preferences
And change the update.last to:
update.last=1000
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 8:47 pm
by MDN
Thank you Sir.
Re: Newbe - LCD Blank
Posted: Thu Jan 10, 2013 11:40 pm
by mrrw60
Instead of waiting for the auto update from my Mac I installed the software on my PC and was able to push the new code to the controller and issue resolved. Thanks for fixing this issue!