Page 1 of 1
my reef angel hates me.....please help fix our relationship
Posted: Tue May 27, 2014 3:46 pm
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
Re: my reef angel hates me.....please help fix our relations
Posted: Tue May 27, 2014 3:50 pm
by rimai
Do you also have the wifi attachment?
Re: my reef angel hates me.....please help fix our relations
Posted: Tue May 27, 2014 4:02 pm
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.
Re: my reef angel hates me.....please help fix our relations
Posted: Tue May 27, 2014 4:40 pm
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
Re: my reef angel hates me.....please help fix our relations
Posted: Tue May 27, 2014 6:28 pm
by cheezischrist
post the code from the wizard, or reset? they both do it.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 3:03 pm
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.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 3:18 pm
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
}
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 3:36 pm
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.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 3:40 pm
by cheezischrist
error again. above is the status details with synch message
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 4:40 pm
by rimai
That's communication problem.
Make sure that the cable is connected correctly and try again.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 4:58 pm
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
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:23 pm
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();
}
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:33 pm
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.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:36 pm
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();
}
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:37 pm
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.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:46 pm
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
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 5:53 pm
by rimai
Cool.
Yes, try the wizard and keep us posted.
Re: my reef angel hates me.....please help fix our relations
Posted: Wed May 28, 2014 6:25 pm
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.