my reef angel hates me.....please help fix our relationship

Basic / Standard Reef Angel hardware
Post Reply
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

my reef angel hates me.....please help fix our relationship

Post by cheezischrist »

i have an older model i had bought used like 6 to 8 months ago. it was working fine, and was running my tank beautifully. i took it down to update it since i never did in my initial excitement. and i wanted to get the feed setup adjusted. after updating from version 08.05.14 or something similar, i now have the "no internal memory found" screen, and the only code i can send to the unit is the memory code from the sketchbook successfully.any codes from the wizard are apparently "too large". even better, is resetting it to the original settings codes.....you guessed it, "too large". im really new to all of this, but im pulling my hair out here. its been 3 days of me searching forums, jumping between 3 computers, moving the RA everywhere, trying everything, and absolutely ZERO results except i could finally send that one code today.....wich did nothing
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

Do you also have the wifi attachment?
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

no, its kinda bare bones. relay box, head, temp probe and ph probe. and it literally worked perfect untill i upgraded the software. now it hates my guts lol but i think my relay box was a replacement if i remember right, but the base it self may be old enough that its original relay box didnt have the led dimmers.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

You code should fit then.
Can you post?
Maybe you are enabling WiFi and you don't know.

Sent from my SM-G900P using Tapatalk
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

post the code from the wizard, or reset? they both do it.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

i got it to accept the preloaded code, and now its says no internal memory still. it allso accepted the innitialinternalmemory example sketch. still says no internal memory found. if i use the wizard however, it gives me an error message about synch.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

What happens if you load this code?

Code: Select all

#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 <ReefAngel.h>

void setup()
{
  InternalMemory.IMCheck_write(0xCF06A31E);
  ReefAngel.Init(); // Initialize Controller
  ReefAngel.AddStandardMenu();
  ReefAngel.AddDateTimeMenu();  
  ReefAngel.FeedingModePorts = Port5Bit | Port6Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
  ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 5, 6, 7 and 8 when Water Change Mode is activated
  ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
  ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
  ReefAngel.OverheatProbe = T1_PROBE; // Use Temperature probe 1 to check for overheat
  ReefAngel.Relay.On(Port8); // Always on
}

void loop()
{
  ReefAngel.StandardATO(Port1); // Standard ATO
  ReefAngel.MoonLights(Port2); // Moonlights or Refugium
  ReefAngel.StandardLights(Port3,30); // Actinic Lights
  ReefAngel.StandardLights(Port4,0); // Daylight Lights
  ReefAngel.Wavemaker1(Port5); // Wavemaker 1
  ReefAngel.Wavemaker2(Port6); // Wavemaker 2
  ReefAngel.StandardHeater(Port7); // Heater
  ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
  ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
  ReefAngel.ShowInterface(); // Display everything on the LCD screen
}
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

he following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Date/Time Setup Menu
Standard Menu
Binary sketch size: 31,860 bytes (of a 32,256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM4 -b115200 -D -V -Uflash:w:C:\Users\dell.lat\AppData\Local\Temp\build6429155674987529102.tmp\sketch_may28a.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x64

avrdude done. Thank you.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

error again. above is the status details with synch message
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

That's communication problem.
Make sure that the cable is connected correctly and try again.
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

ok. still not working. i can send the initial internalnmemory code with no problem though. i also just tried your code with ra board selected and it says the code is too big again. i dont actually know which board i have
while its actually uploading the red light flashes very quickly and screen resets
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

Ahh. you probably have the very old RA.
Try choosing Reef Angel and not Reef Angel w/ optiboot and upload this code:

Code: Select all

#include <Salinity.h>
#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 <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>

void setup()
{
  ReefAngel.Init();  
}

void loop()
{
  ReefAngel.ShowInterface();
}
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

ok, that went through succsessfully, but i still have the "no internal memory found" screen. im guessing i do have a very old one.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

Ok try this:

Code: Select all

#include <Salinity.h>
#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 <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>

void setup()
{
  InternalMemory.IMCheck_write(0xCF06A31E);
  ReefAngel.Init();  
}

void loop()
{
  ReefAngel.ShowInterface();
}
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

thank you for your help and patience by the way. i really did love this thing till i decided to try to update it and set it up how i wanted, not how the previous owner had it set up. once i get ahead of my bills i will be upgrading to the plus and getting the wifi, salinity, and probably the dimming units. ha if i ever catch up.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

thank you, that got me out of the no memory thing.i lost alot of controls/menu options i had though previously(led controls, light controlls,) am i safe to use the wizard now? or do i have to learn this coding faster than i expected now to get this to where i wanted it? lol, thanks again though
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: my reef angel hates me.....please help fix our relations

Post by rimai »

Cool.
Yes, try the wizard and keep us posted.
Roberto.
cheezischrist
Posts: 12
Joined: Tue May 27, 2014 3:16 pm

Re: my reef angel hates me.....please help fix our relations

Post by cheezischrist »

awesome, works again, wizard works again, and i'm back in buisness. cant thank you enough. still gonna be upgrading everything though, but i'm sticking with RA.
Post Reply