LCD screen hardware change

Basic / Standard Reef Angel hardware

Posts: 12201
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Nov 25, 2013 9:38 pm
I upgraded your account. Try now.
Roberto.

Posts: 14
Joined: Mon May 26, 2014 9:07 am
Location: Calhoun, GA
PostPosted: Sat Jun 07, 2014 7:27 pm
Please excuse my noobish inexperience, but i recently purchased an upgrade board for my RA. I am having the same issues where my screen is acting screwy. It works fine with the old RA board, but when i hook it up to the RA+ it has a single horizontal line that scrolls vertically. I found this post and it mentions that I need to insert a particular code.

"InternalMemory.LCDID_write(255);"

I am not certain where that should go in my RA Wizard program. Below is the code I am using.



#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 <Humidity.h>
#include <DCPump.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.Use2014Screen(); // Let's use 2014 Screen
    // Ports toggled in Feeding Mode
    ReefAngel.FeedingModePorts = Port1Bit;
    ReefAngel.FeedingModePortsE[0] = 0;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port1Bit | Port2Bit;
    ReefAngel.WaterChangePortsE[0] = 0;
    // Ports toggled when Lights On / Off menu entry selected
    ReefAngel.LightsOnPorts = 0;
    ReefAngel.LightsOnPortsE[0] = 0;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = 0;
    ReefAngel.OverheatShutoffPortsE[0] = 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( 790 );


    // Ports that are always on
    ReefAngel.Relay.On( Port1 );
    ReefAngel.Relay.On( Port2 );
    ReefAngel.Relay.On( Port4 );
    ReefAngel.Relay.On( Port5 );
    ReefAngel.Relay.On( Port6 );
    ReefAngel.Relay.On( Port8 );
    ReefAngel.Relay.On( Box1_Port1 );
    ReefAngel.Relay.On( Box1_Port2 );
    ReefAngel.Relay.On( Box1_Port3 );
    ReefAngel.Relay.On( Box1_Port4 );
    ReefAngel.Relay.On( Box1_Port5 );
    ReefAngel.Relay.On( Box1_Port6 );
    ReefAngel.Relay.On( Box1_Port7 );
    ReefAngel.Relay.On( Box1_Port8 );

    ////// Place additional initialization code below here
    

    ////// Place additional initialization code above here
}

void loop()
{
    ReefAngel.StandardHeater( Port3,760,770 );
    ReefAngel.SingleATO( true,Port7,60,0 );
    ////// Place your custom code below here
    

    ////// Place your custom code above here

    // This should always be the last line
    ReefAngel.Portal( "JDW" );
    ReefAngel.ShowInterface();
}


Image

Posts: 12201
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Jun 07, 2014 8:10 pm
Place it right above ReefAngel.Init();
Roberto.

Posts: 14
Joined: Mon May 26, 2014 9:07 am
Location: Calhoun, GA
PostPosted: Sat Jun 07, 2014 8:24 pm
Thank you Roberto, fixed it right up
Image
User avatar
Posts: 105
Joined: Sun Mar 20, 2011 12:38 am
Location: France
PostPosted: Fri Jul 31, 2015 11:22 pm
Hi Roberto !

Thanks a lot !
It works but I had to delete one line also :
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
Fresh Water Aquarium 180*60*80
Salt Water Aquarium 60*60*60
Click Here to see the Video of my Fresh Water Aquarium
Image

Posts: 1
Joined: Sun Nov 08, 2015 1:43 am
Location: New Zealand
PostPosted: Mon Nov 09, 2015 7:59 am
thanks for giving me the necessary information
Previous

Return to Standard

Who is online

Users browsing this forum: No registered users and 4 guests

cron