LCD screen hardware change

Basic / Standard Reef Angel hardware
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LCD screen hardware change

Post by rimai »

I upgraded your account. Try now.
Roberto.
JDW
Posts: 14
Joined: Mon May 26, 2014 9:07 am
Location: Calhoun, GA

Re: LCD screen hardware change

Post by JDW »

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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LCD screen hardware change

Post by rimai »

Place it right above ReefAngel.Init();
Roberto.
JDW
Posts: 14
Joined: Mon May 26, 2014 9:07 am
Location: Calhoun, GA

Re: LCD screen hardware change

Post by JDW »

Thank you Roberto, fixed it right up
Image
User avatar
Xender
Posts: 105
Joined: Sun Mar 20, 2011 12:38 am
Location: France

Re: LCD screen hardware change

Post by Xender »

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
Matthewgype
Posts: 1
Joined: Sun Nov 08, 2015 1:43 am
Location: New Zealand
Contact:

Re: LCD screen hardware change

Post by Matthewgype »

thanks for giving me the necessary information
JclaasSA
Posts: 25
Joined: Fri Aug 18, 2017 10:11 am

Re: LCD screen hardware change

Post by JclaasSA »

Hi

The screen on my standard Reef Angel unit fades/distorts after a while.

I fitted my Reef Angel Plus screen to it and then the backlight comes on, but displays nothing (even after entering the code "InternalMemory.LCDID_write(255);").

I also tried to upload all the different screen generation codes to the standard Reef Angel without any luck.

The fading/distorting screen displays something on the Reef Angel Plus without changing it's code.

The reason I want the standard Reef Angel sorted out is because the Reef Angel Plus pcb is corroded by the joystick which has since stopped scrolling up/down and I am not sure if removing the joystick from the standard Reef Angel and fitting it to the pcb of the Reef Angel Plus would help.

Can someone please advise?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LCD screen hardware change

Post by rimai »

It seems the screen has some issues too. You may need to replace it.
Roberto.
Post Reply