I'm very happy with the results.
This moonlight module is capable of being plugged in into any boosted PWM channel without any other additional hardware necessary.
I just placed in the tank I just filled with water and here are the results:
![Image](http://i761.photobucket.com/albums/xx258/reefangel_photos/2011-05-24205258.jpg)
![Image](http://i761.photobucket.com/albums/xx258/reefangel_photos/2011-05-24213237.jpg)
![Image](http://i761.photobucket.com/albums/xx258/reefangel_photos/2011-05-24205200.jpg)
Interesting thanks for the info. What other current or future use would PWM channels bring ? I don't intend to go with dimmable ballasts anytime soon so besides the moonlights, anything else they could drive ?rimai wrote:The last batch of relay boxes have "easy to install" PWM booster.
You could just buy the booster alone and install it yourself.
The alternative way is to get a PWM expansion module, which gives you 6 boosted PWM channels.
That sounds interesting. I am looking for a solution to control my AquaMedic NanoProp 5000 or OceanProp 15000 .rimai wrote: The alternative way is to get a PWM expansion module, which gives you 6 boosted PWM channels.
A couple of questions regarding the code.rimai wrote:Yes, 3 LEDs.
It will vary the intensity according to the phases of the moon, but you need to put it in your code, in order to do that.
Yes, they are 2 independently controlled ports.jemw wrote: One of the other posts I read indicate that the standard relay box can support two of the moonlight add ons by using the LED ports. I would be looking at placing the moonlights apart to simulate moon rise and moon set. Are the two ports individually controlled, or are they ganged?
I'm not sure about this yet. There was discussions about it earlier but I don't recall what the outcome was of it.Waiting for delivery of my order, so I can't experiment yet with coding and how it works. Is there a way to add longitude and latitude information into the moonrise/set coding?
The moon phase does not change. But moonrise and moonset times are different depending on you location.rimai wrote:Does the moon phase change around the world?
I didn't think of that when I created the code, but in my mind, it should be the same.
When the moon rises and sets during the lights on time, there would be no effect, but at night, when some corals and fish are programmed by nature to spawn given the state of the moon, it would provide a great benefit to the aquarium.rimai wrote:There is no moonrise or moonset in the code. The code simply calculates the % of the full moon for a particular day.
Are you talking about a ramp up and down of the moonlights?
In my experience, the moonlights emit so little light compared to your main lights that if you did want to create the rise effect of the moonlight, it wouldn't be noticeable.
How did you envision it working. Maybe we can come to a solution.
Roberto - here is a link to a program written in Basic which:rimai wrote:Can you provide the algorythm to calculate the rise/set of both moon and sun?
Are you suggesting that we hard code the times into the controller? If so, how would the times change with the date?rimai wrote:Ok, so I started converting this function and midway into the convertion I realized that this is too intensive for our little processor.
It uses too many floating point computatinal calculations and I'm pretty sure it will exceed the 1K RAM we have.
I think our best option would be get the times for sunset/sunrise and moonset/moonrise from the Client or the reefangel.com website.
What do you think?
rimai wrote:No, I'm suggesting having the code that calculates the times be moved to the Client Suite that Dave has developed or to the reefangel.com website.
All the controller would have to do is query one of the two everyday at midnight and ask for the the 4 parameters for that particular day (sunset/sunrise/moonset/moonrise).
With the 4 times on hand, it could act accordingly.
The only issue with this solution is that it would require wifi attachment or the Client running (assuming that Dave implements this too... lol)