Dimmable Lunar Hub
Re: Dimmable Lunar Hub
The relay expansion dimming ports are non functional. You'll need to use the dimming module.
Re: Dimmable Lunar Hub
Thanks Lee .. guess its time to break out the soldering iron to make neat cable ends ..
Sent from my GT-N7100 using Tapatalk 4
Sent from my GT-N7100 using Tapatalk 4
Re: Dimmable Lunar Hub
Can these be run from the Power Control Expansion or does it pull to much amps?
Re: Dimmable Lunar Hub
I noticed that the PS that came with mine was 2A and I know the Power Control Expansion has a limit of 500ma.
Re: Dimmable Lunar Hub
Oversized PS for when you want to connect a lot of moonlights to the module.
As long as you don't use too many moonlights connected to the hub, you are fine. I'd not go past 4 moonlights using the power control module.
As long as you don't use too many moonlights connected to the hub, you are fine. I'd not go past 4 moonlights using the power control module.
Roberto.
Re: Dimmable Lunar Hub
Guys,
Is there any additional code for the moonhub needed over this?
ReefAngel.PWM.SetChannel( 5, MoonPhase() );
My lights are constantly on .. They never seem to change strength? Would it make any difference if I'm using the first generation dimming module?
Is there any additional code for the moonhub needed over this?
ReefAngel.PWM.SetChannel( 5, MoonPhase() );
My lights are constantly on .. They never seem to change strength? Would it make any difference if I'm using the first generation dimming module?
Re: Dimmable Lunar Hub
Roberto had posted some code for that, but I can't remember where I saw it.
I'm going to need it too.
I'm going to need it too.
Re: Dimmable Lunar Hub
It changes at midnight to follow the moon phase of the day.
If you want to turn them off at specific times, you need to tell the controller to turn it off.
If you want to turn them off at specific times, you need to tell the controller to turn it off.
Code: Select all
if ( hour()>=8 && hour()<20 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, MoonPhase() );
Roberto.
Re: Dimmable Lunar Hub
Got my lights hooked up and at 58% (today's moon phase) they are still brighter then my regular moonlights.
Also 2 lights work fine off of the 12 v Power Control Expansion.
Also 2 lights work fine off of the 12 v Power Control Expansion.
Re: Dimmable Lunar Hub
Yeah, those are pretty bright
It's too bright for my taste too.
You simply need to divide the value by a factor.
Something like this:
This will cut down the intensity by 2. Personally, I divide by a factor of 10.
It's too bright for my taste too.
You simply need to divide the value by a factor.
Something like this:
Code: Select all
ReefAngel.PWM.SetChannel( 5, MoonPhase()/2 );
Roberto.
Re: Dimmable Lunar Hub
10 wow that's a lot.
Sent from my HTC One VX using Tapatalk
Sent from my HTC One VX using Tapatalk
Re: Dimmable Lunar Hub
I actually like the way it looks. These light are more even then the other LED moonlights I had.
Before the light just kind of high lighted the tops of the rock work.
Before the light just kind of high lighted the tops of the rock work.
Re: Dimmable Lunar Hub
Can I use the PWN slope woth the MoonPhase?
Would the code be like this...
if ( hour()>=12 && hour()<22 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,11,0,0,100,60,0) MoonPhase() );
Would the code be like this...
if ( hour()>=12 && hour()<22 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,11,0,0,100,60,0) MoonPhase() );
Re: Dimmable Lunar Hub
Yes, but you are missing the *, which means times and also the /100
Code: Select all
if ( hour()>=12 && hour()<22 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,11,0,0,100,60,0) * MoonPhase() / 100);
Roberto.
Re: Dimmable Lunar Hub
Or you could also do this, which is basically the same thing:L
Code: Select all
if ( hour()>=12 && hour()<22 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,11,0,0,MoonPhase() ,60,0) );
Roberto.
Re: Dimmable Lunar Hub
Thanks Roberto.
Sent from my HTC One VX using Tapatalk
Sent from my HTC One VX using Tapatalk
Re: Dimmable Lunar Hub
Just got my new lunar modules. They are much better than the old ones. Not as bright but more more spread and a cooler blue.