Search found 21 matches

by discocarp
Tue Apr 19, 2016 11:05 am
Forum: How do I code ...
Topic: Timer with 2 ON periods per day
Replies: 7
Views: 6682

Re: Timer with 2 ON periods per day

Thanks!
by discocarp
Tue Apr 19, 2016 10:08 am
Forum: How do I code ...
Topic: Timer with 2 ON periods per day
Replies: 7
Views: 6682

Timer with 2 ON periods per day

I'm using T5s over my softie tank. It is a 6 bulb ATI, but I never want to run more than 4 lights at a time. I have the light set up with 4 bulbs as daylight, and 2 bulbs as actinic (separately switched). What I want is a schedule like this: 10am-12pm: 2 bulb actinic only 12pm-8pm: 4 bulb daylight o...
by discocarp
Tue Jan 15, 2013 11:11 am
Forum: Standard
Topic: LED COntrollers
Replies: 5
Views: 3701

Re: LED COntrollers

Ecotech's site says the Pro is still 6 channels even though it has 8 different color LEDs, but I only have a gen1 right now so I'm not 100% sure.
by discocarp
Tue Jan 15, 2013 6:55 am
Forum: Standard
Topic: LED COntrollers
Replies: 5
Views: 3701

Re: LED COntrollers

How about the radion pro? (with the RF of course)
by discocarp
Wed Jan 09, 2013 6:12 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

I wouldn't consider this final code. I'd like to clean it up and test it a little more, but it seems to be working fine. If you have wifi, search for ping_Serial and uncomment it out. I don't have my wifi set up yet. That's next on the list. #include <ReefAngel_Features.h> #include <Globals.h> #incl...
by discocarp
Wed Jan 09, 2013 5:21 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

Thanks for all your help getting started. I got the custom menu added, lots of constant arrays into the PROGMEM, added 3 more dosing pumps that dose by a daily amount and a pump rate, both those variables into internal memory for all 3 pumps, and a configurable variable editor into the menu. Whew. :)
by discocarp
Tue Jan 08, 2013 4:36 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

I have the RA+. So then there is much more memory space with PROGMEM, but the stuff needs to stay constant. Perfect for what I need. I learned about the watchdog the hard way. :) I'm still confused about pingSerial. I am inside a loop waiting for joystick input, where I had to add the wdt_reset. I d...
by discocarp
Tue Jan 08, 2013 8:59 am
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

I have a few questions: What is PROGMEM when declaring variables? When should I be using it? How much internal memory do I have, and what addresses are safe to use? what is wdt_reset? Do I need this in my menu input loops? Do I need to call pingSerial in my menu input loops? Is there anything else I...
by discocarp
Mon Jan 07, 2013 6:11 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

So I got a custom int in InternalMemory set up, and created a custom menu that can edit it. Woohoo. The next step is to write something to pick which variable I'm editing. Thanks for all the help. I'm statrting to get a good feel for things.
by discocarp
Mon Jan 07, 2013 4:43 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

It seems like it is just autodetecting the number of menu entries in my INO and changing the ReefAngelFeatures.h to match, even if they're inside disabled #ifdef's. Easy enough to work around that.
by discocarp
Mon Jan 07, 2013 4:28 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

So I got the sample custom menu put in. No problem. But now I can't get it out. I put the menu code in a #ifdef to disable it. Then I deleted the 2 lines in ReefAngelFeatures but when I go to upload it changes them back automatically and then tells me it can't find my menu functions. Any ideas? I'd ...
by discocarp
Mon Jan 07, 2013 1:46 pm
Forum: Standard
Topic: Tunze Control
Replies: 15
Views: 16840

Re: Tunze Control

The Reef Angel officially earned its cabinet space, as I pulled out the tunze 7095 controller. :)
by discocarp
Mon Jan 07, 2013 1:25 pm
Forum: Standard
Topic: Tunze Control
Replies: 15
Views: 16840

Tunze Control

I have a pair of Tunze Stream 6105's. I will likely do something more complex later, but this is what I put together for now. I found rimai's tunze pulsing functions but I wanted a little more, so I wrote a quick sine wave function to control them. Basically it does this: http://farm9.staticflickr.c...
by discocarp
Mon Jan 07, 2013 1:15 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

Thanks, that looks very helpful. I got a little distracted by my tunzes, but this is next on the list.
by discocarp
Sun Jan 06, 2013 6:06 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

Thanks. Looks like the next step for me is to figure out how to replace the menu.
by discocarp
Sun Jan 06, 2013 5:48 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

I have the wifi (but haven't played with it yet), but would really like everything to also be controllable with the joystick too unless it is an absolute nightmare. I was peeking around the code and found ReefAngelClass::SetupOption, which I think edits a parameter when called from a menu event. I'm...
by discocarp
Sun Jan 06, 2013 4:52 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Re: Dosing pump and "in the internal memory"

So I can't set up menus to control it with the joystick?
by discocarp
Sun Jan 06, 2013 12:47 pm
Forum: Standard
Topic: Dosing pump and "in the internal memory"
Replies: 20
Views: 13214

Dosing pump and "in the internal memory"

I'm (finally) getting going with my Reef Angel. I'm mostly playing around and learning right now. Step 1 was to get my kalk dosing pump running. Using the wizard I got this all worked out with the "in the code" memory setting. No problem. So now I wanted to try "in the internal memory...
by discocarp
Wed Oct 10, 2012 9:49 am
Forum: Standard
Topic: Tunze control
Replies: 4
Views: 3222

Re: Tunze control

Thanks! Going to purchase the basics today and look forward to expanding it in the near future!
by discocarp
Wed Oct 10, 2012 8:40 am
Forum: Standard
Topic: Tunze control
Replies: 4
Views: 3222

Re: Tunze control

And 2 cables, 1 for each Tunze? Have I got everything I need with the RA+ analog and the 2 cables? All I care about at the moment (I'll get more complicated later) is ATO (I have a BRS 50mL/min pump already) and controlling the 2 tunzes. Just trying to sort out the bare minimum I need to order right...
by discocarp
Wed Oct 10, 2012 4:41 am
Forum: Standard
Topic: Tunze control
Replies: 4
Views: 3222

Tunze control

I've decided to pick up the RA+. In addition to the standard features, I want to control 2 tunze pumps (independently). So, I think I need 2 tunze cables and the analog RA+. Correct?