Search found 16 matches

by b_s_c1
Fri Apr 15, 2011 12:05 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

Thanks for your help and sorry for the trouble. I think I just found the problem. I was changing a LED that was burned out and noticed it was shorted to the heat sink. When I disconnected that string the other strings went to the correct value. I then went through the hole array of lights to check f...
by b_s_c1
Thu Apr 14, 2011 8:42 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

Maybe you are seeing something that I'm not. ReefAngel.PWM.SetActinic(PWMSlope(12,0,22,0,15,100,60,ReefAngel.PWM.GetActinicValue())); Again, the slopes are from start to end. The above line tells me that blue slope starts at noon with 15% and go up to 100% at 1pm and then from 100% at 9pm down to 1...
by b_s_c1
Wed Apr 13, 2011 6:51 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

But your whites are set to 1pm to 9pm, which means at 9pm, it is supposed to be at 15%. You are correct on the 100% between the slopes up and down. This is correct, and I am sorry for the confussion. At 10:30 the whites were and should have been at 15%. The questions was about the actinics. At 10:3...
by b_s_c1
Tue Apr 12, 2011 9:52 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

The power to the 4 drivers are plugged into a power strip which is plugged into the relay box. The relay box plug is set to come on at 11 am and off at 11pm and the PWM, through RAGen, is set for 15%. You may want to rethink the way this is setup. http://groups.google.com/group/reefangel/browse_thr...
by b_s_c1
Tue Apr 12, 2011 9:25 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

Sorry for the confusion. The times in the function are start and end of slope. Actinic slope starts at 12pm and ends at 10pm, so it goes from 15% to 100% between 12pm and 1pm and from 100% to 15% from 9pm to 10pm. This is how I expected it to work but for the whites on there slope down between 10pm...
by b_s_c1
Tue Apr 12, 2011 8:43 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

At 10:30pm both actinic and white PWM % on the RA head unit read 15%. With the code below I believe the white should be at 15 and the actinic should be close to 42%. Is my thinking correct? If so why did they step down the same? I have not taken any other PWM readings but during the step down it app...
by b_s_c1
Mon Apr 11, 2011 9:58 am
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

It seems there's been a confusion on where to place the function. The PWMSLope function has to be placed inside the loop() and not setup() If you can attach the entire code, I can correct it for you. I should not have a problem moving it. I will give it a shot when I get home and watch the function...
by b_s_c1
Sun Apr 10, 2011 9:36 am
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

I just modified the code a bit to change the time. Just thought I would post it so you are looking at the correct code. void setup() { ReefAngel.Init(); //Initialize controller // Have PWM on from 12pm to 12am, with gradual 60 minute ramp up and down starting at the given times // From 12pm to 1pm, ...
by b_s_c1
Sun Apr 10, 2011 9:31 am
Forum: Standard
Topic: ATO problems
Replies: 3
Views: 5691

Re: ATO problems

Can you attach your code and maybe a drawing of your ATO setup? Not really sure what code you need so I will just post it all. As far as the ATO setup I have the two float switches wired in series with one mounted 1/2'' hire than the other. The floats are positioned with the wires up. Memory #inclu...
by b_s_c1
Sun Apr 10, 2011 9:22 am
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

I am still having a little problem with the ramp up and down. I changed the code so the blue lights will come on at 12am and ramp to 100% in an hour. Then the white will start the ramp at 1pm and ramp to 100% in an hour. I also found to get a true ramp the PWM must be set at 0% through RAGen. This w...
by b_s_c1
Fri Apr 08, 2011 8:50 am
Forum: Standard
Topic: ATO problems
Replies: 3
Views: 5691

ATO problems

I am tring to set up my ATO and am having problems. I am toping off straight from my RO and have the RA unit using the two float switches to activate a solenoid. The switches are ran in series one mounted a little higher than the other. From the solenoid valve the tubing then goes to a float valve f...
by b_s_c1
Mon Mar 28, 2011 7:52 am
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

The code works good. I just need to adjust the code a bit more to get a better look for the sunrise and set. Also I get a flashing effect when the LEDs come on and when they are almost off.

I think if I could start and stop the lights at 20% this would do away with the flashing.
by b_s_c1
Sat Mar 26, 2011 1:30 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

Thanks for the step by step. I have it uploaded but will not beable to verify it works until 10 pm. This is when the lights should start the ramp off. I will keep you informed.
by b_s_c1
Sat Mar 26, 2011 9:48 am
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

Re: PWM ramp up and down

Thanks Curt. I have one more question. Which pde file does the code get placed in and were does it need to be placed? I just want to make sure I do this correct. I would just copy and paste the top code you listed and modify the time and that is it? I am a complete idiot when it comes to programming...
by b_s_c1
Fri Mar 25, 2011 7:12 pm
Forum: How do I code ...
Topic: PWM ramp up and down
Replies: 60
Views: 47573

PWM ramp up and down

I have a DYI LED fixture that uses four 48P drivers, 2 for actinic, and two for white. I currently have them set to come on at 100% at 1pm and off at 11pm using relay #3. I would like to set up a ramp up and ramp down between that time, simulating sun up and sun down. Is anyone willing to code this ...
by b_s_c1
Fri Mar 25, 2011 7:05 pm
Forum: How do I code ...
Topic: How do I code delayed start from feed mode, i.e. for skimmer
Replies: 25
Views: 19935

Re: How do I code delayed start from feed mode, i.e. for ski

Has there been any development on this matter. I have the same problem as the original poster. For now I do not plan on using feed mode so I really just need a delay for starting up the skimmer after power is restored to the controller.