Search found 26 matches

by sceia
Sat Sep 08, 2012 11:45 am
Forum: Standard
Topic: Tripping fuse on relay box...
Replies: 1
Views: 2173

Tripping fuse on relay box...

Ok, so I'm thinking I'm at the max of the relay box and it's time to think of changing this somehow. I've got 3 pumps, 3 250w mh's, dosing pumps, etc... hooked up to the 8 port relay box. I think I need to break off the 250w mh's on it's own circuit and use one port on the RA relay box to turn that ...
by sceia
Fri Aug 10, 2012 7:19 pm
Forum: How do I code ...
Topic: Can't calibrate ph or reset ato timeout
Replies: 3
Views: 2128

Re: Can't calibrate ph or reset ato timeout

rimai wrote:It works for me.

I'm not sure what's up then?? All it does is go back to the main screen.... The Feed fish menu works though....

Scott.
by sceia
Wed Aug 08, 2012 6:03 pm
Forum: How do I code ...
Topic: Can't calibrate ph or reset ato timeout
Replies: 3
Views: 2128

Can't calibrate ph or reset ato timeout

Everytime I try to press either menu item, it just returns to the main screen... Hints? Scott. #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...
by sceia
Sun Mar 18, 2012 9:00 pm
Forum: How do I code ...
Topic: How Dim does 0% or 20% supposed to go... ?
Replies: 4
Views: 3060

Re: How Dim does 0% or 20% supposed to go... ?

rimai wrote:Is the red and royal blue working all right?
I can get the red to dim to flicker....but I think it's backwards... I have to use 100% in the memory for red to get it to Dim. I'm still testing the actinics (RB)...I can't get them to dim with different values yet...
by sceia
Sun Mar 18, 2012 8:50 pm
Forum: How do I code ...
Topic: How Dim does 0% or 20% supposed to go... ?
Replies: 4
Views: 3060

Re: How Dim does 0% or 20% supposed to go... ?

Interesting.... Do you think I need to use the pwm to analogue on the pwm expansion?
by sceia
Sun Mar 18, 2012 7:25 pm
Forum: How do I code ...
Topic: How Dim does 0% or 20% supposed to go... ?
Replies: 4
Views: 3060

How Dim does 0% or 20% supposed to go... ?

Ok, here's the completed setup... PWM expansion with 6 channels (3 natural whites, 1 green, violet, blue). Royal blue and red are on the pwm on the base controller. I'm running inventronics drivers (EUC-75SxxxDT and EUC-040SxxxDS). I have the analogue cables on the ones going to the controller, and ...
by sceia
Thu Mar 15, 2012 2:37 pm
Forum: How do I code ...
Topic: Need help in cleanup and a couple cloud question...
Replies: 8
Views: 4480

Re: Need help in cleanup and a couple cloud question...

So like this? #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_Temp...
by sceia
Thu Mar 15, 2012 1:13 pm
Forum: How do I code ...
Topic: Need help in cleanup and a couple cloud question...
Replies: 8
Views: 4480

Re: Need help in cleanup and a couple cloud question...

I think this is the only place I would need to set the actinic values from the onboard pwm... // let's go through all channels to pick which ones will be dimmed for (int a=0;a<6;a++) { if (bitRead(Actinic_Channels,a)==0) { // this will slope down the channel from the current PWM to 0 within 3minutes...
by sceia
Thu Mar 15, 2012 11:08 am
Forum: How do I code ...
Topic: Need help in cleanup and a couple cloud question...
Replies: 8
Views: 4480

Re: Need help in cleanup and a couple cloud question...

Ok, so I cleaned up a bit... I'm not sure if the changed feed fish and feed corals will work. Can you check them? I removed the drawdate from the custom screen...seems like it was taking up some memory there. I'm unsure of how I should merge the 2 cloud functions...can you assist? #include <ReefAnge...
by sceia
Thu Mar 15, 2012 9:51 am
Forum: How do I code ...
Topic: Need help in cleanup and a couple cloud question...
Replies: 8
Views: 4480

Re: Need help in cleanup and a couple cloud question...

Yea, it's pretty amazing but pretty large...lol. I am trying to get dosing pumps, random and forced clouds and storm, ph cal, feeding (fish and coral).... ... ... 32k is killing me...lol. I'll see if I can merge the 2 clouds together but I'm already limited by size... Any thoughts?!?!

Scott.
by sceia
Thu Mar 15, 2012 9:17 am
Forum: How do I code ...
Topic: Need help in cleanup and a couple cloud question...
Replies: 8
Views: 4480

Need help in cleanup and a couple cloud question...

I have a few functions commented out in the feed coral, ph cal, and custom display functions to get it to compile... I need help getting it smaller. Here's my code... #include <ReefAngel_Features.h> #include <Globals.h> #include <RA_Wifi.h> #include <Wire.h> #include <OneWire.h> #include <Time.h> #i...
by sceia
Tue Mar 13, 2012 7:59 pm
Forum: How do I code ...
Topic: Button overide for the pwm parabola
Replies: 8
Views: 5991

Re: Button overide for the pwm parabola

Refuge lights are on 2.... This is what I was thinking... static bool fOverride = false; static bool rOverride = false; . . . prog_char menu1_label[] PROGMEM = "Feed Fish"; prog_char menu2_label[] PROGMEM = "Feed Coral"; prog_char menu3_label[] PROGMEM = "Water Change";...
by sceia
Tue Mar 13, 2012 2:10 pm
Forum: How do I code ...
Topic: Button overide for the pwm parabola
Replies: 8
Views: 5991

Re: Button overide for the pwm parabola

It would work too but you have the logic flipped. Also, there could be a momentary switch / change in the PWM values as you toggle it. And you would have to choose the selection again to ... Right, I got that. But without the ability of doing submenus, I'd have to use one menu for a reset. I would ...
by sceia
Tue Mar 13, 2012 2:03 pm
Forum: How do I code ...
Topic: Button overide for the pwm parabola
Replies: 8
Views: 5991

Re: Button overide for the pwm parabola

To cut down code, I could function that out...

Code: Select all

void ToggleFlag()
{
  if(fOverride)
         fOverride = true;
  else
         fOverride = false;
}
Then make a call to it in the menu functions...

Code: Select all

void MenuEntry6() //"Actinic LEDs"
{
  ToggleFlag();
    // ... set the channels on
}
by sceia
Tue Mar 13, 2012 1:58 pm
Forum: How do I code ...
Topic: Button overide for the pwm parabola
Replies: 8
Views: 5991

Re: Button overide for the pwm parabola

I wonder if this would be a better solution to make a toggle: static bool fOverride = false; // ... menu entries void MenuEntry6() { if(fOverride) fOverride = true; else fOverride = false; // ... set the channels on } // void setup() void loop() { // ... other code here if ( ! fOverride ) { // ... r...
by sceia
Tue Mar 13, 2012 1:23 pm
Forum: How do I code ...
Topic: Button overide for the pwm parabola
Replies: 8
Views: 5991

Button overide for the pwm parabola

Ok, so here's the situation... Got my pwm's running in the following setup: //Light Schedule ReefAngel.PWM.SetChannel(NW1,PWMParabola(14,0,19,0,15,80,15)); ReefAngel.PWM.SetChannel(NW2,PWMParabola(14,30,19,30,15,90,15)); ReefAngel.PWM.SetChannel(NW3,PWMParabola(15,0,20,0,15,80,15)); ReefAngel.PWM.Se...
by sceia
Mon Mar 12, 2012 11:53 am
Forum: How do I code ...
Topic: Errors after upgrade...
Replies: 7
Views: 4739

Re: Errors after upgrade...

Yea, I guess that's what happens when you wake up at 3am cause you can't sleep and want to program...lol... It did fix most errors... But I still have one...

Code: Select all

ledsetup.cpp: In function 'void setup()':
ledsetup:135: error: 'class ReefAngelClass' has no member named 'InitMenu'
by sceia
Mon Mar 12, 2012 10:42 am
Forum: How do I code ...
Topic: Errors after upgrade...
Replies: 7
Views: 4739

Re: Errors after upgrade...

Some changes were made to the libraries and if you are using an older code, you will need to slightly restructure. http://forum.reefangel.com/viewtopic.php?f=7&t=725 If you paste your entire code, I can help you with that. Here ya go... I'm about to start tackling the pwm stuff... Buttoning up ...
by sceia
Mon Mar 12, 2012 4:44 am
Forum: How do I code ...
Topic: Errors after upgrade...
Replies: 7
Views: 4739

Errors after upgrade...

Ok so I upgraded to the new reefangel 0.9.2 software and updated the libraries as well as getting the new RAGen... I'm getting ready to install the pwnexpansion and dosers. When I try to compile my original file, tons of errors are being thrown... I tried uninstalling and reupdating. I know it's som...
by sceia
Sat Nov 19, 2011 6:39 am
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

Ports were backwards lol....but it works great!! All I got to do now it fine tune what I want the other menus to do and actually mount my ATO. Thanks!
by sceia
Fri Nov 18, 2011 8:36 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

Ok, got rid of date/time. I loaded it up and it's not too big. However, when clicking feed coral.... it goes to the feed coral screen and seems to reboot. It comes completely out of the phase... Hmmm....I just loaded the code and it's doing it for me. Lemme test things out and see what I can come u...
by sceia
Fri Nov 18, 2011 8:22 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

I know you have a menu entry set for Date & Time, but I'd highly recommend you remove the DateTimeSetup section. Since you have wifi enabled, setting the Date & Time is super easy via the wifi interface and can save you about 2000 bytes of code. Also, remove the DisplayImages will save some...
by sceia
Fri Nov 18, 2011 8:12 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

Check out the other topic we were posting in for help. One thing you will need to make sure is that the CUSTOM_MENU defines are in ReefAngel_Features.h otherwise you can have problems. What does your features file consist of? curt Features file: // AutoGenerated file by RAGen (v1.1.0.126), (11/18/2...
by sceia
Fri Nov 18, 2011 7:58 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

I get a sketch too big error when I put that in the code.... ??? #include <ReefAngel_Features.h> #include <ReefAngel_Globals.h> #include <ReefAngel_Wifi.h> #include <Wire.h> #include <OneWire.h> #include <Time.h> #include <DS1307RTC.h> #include <ReefAngel_EEPROM.h> #include <ReefAngel_NokiaLCD.h> #i...
by sceia
Fri Nov 18, 2011 5:46 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Re: Feeding coral

I'm thinking something like this...

Code: Select all

void MenuEntry2() //"Feed Coral"
{
  ReefAngel.DisplayMenuEntry("Feeding Coral");
  ReefAngel.FeedingModePorts = B00010000;
  ReefAngel.FeedingModeStart();
  ReefAngel.FeedingModePorts = B10010000;
  ReefAngel.FeedingModeStart();
}
by sceia
Fri Nov 18, 2011 5:40 pm
Forum: How do I code ...
Topic: Feeding coral
Replies: 12
Views: 11223

Feeding coral

When I feed my coral, I have turn off my return(waves still on), add food, wait 5 minutes, turn off my waves, wait 5 minutes then turn waves and return back on. It's a bit different than the feeding mode. How can I program this? I was thinking I could modify the feedingmodeports, delay, then modify ...