Different Dimming Speeds

Expansion modules and attachments
Post Reply
Lionfan
Posts: 166
Joined: Wed Nov 26, 2014 8:53 am

Different Dimming Speeds

Post by Lionfan »

I have a 6 channel dimming expansion.
I have 3 channels used by my lights.
With the other 3 channels, I would like to control my DC skimmer, return pump, and Jebao RW 15.
I tried working around the wizard, but I am confused at how to code it.
Basically, I want my DC skimmer (Channel 3) to be at 75%
I want my return pump to be at 25%
And i want my RW-15 to be at wave mode at 20%.
And i want control over all 3 with my phone, which I am sure is just as easy as adjusting the dimming percent on the U-App.
Can I get a hand here?
Thanks
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Different Dimming Speeds

Post by Sacohen »

The Skimmer and return pump will be setup as Constant.
The problem is going to be the different speeds

The DCPump is setup for the same speed for each pump running.
There maybe away to do it by using the offset the lnevo implemented.

It's a little beyond my coding capabilities.

Also I know that the Jebao WP pumps have a lower limit on them or else they shut off.
For example the WP-40 doesn't like to go below 25% or else it shuts off and you have to unplug it to get it going again.
I don't know if the DC pumps have a lower limit on them or what it is, but I'm guessing it does.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Different Dimming Speeds

Post by cosmith71 »

Lionfan wrote:I have a 6 channel dimming expansion.
I have 3 channels used by my lights.
With the other 3 channels, I would like to control my DC skimmer, return pump, and Jebao RW 15.
I tried working around the wizard, but I am confused at how to code it.
Basically, I want my DC skimmer (Channel 3) to be at 75%
I want my return pump to be at 25%
And i want my RW-15 to be at wave mode at 20%.
And i want control over all 3 with my phone, which I am sure is just as easy as adjusting the dimming percent on the U-App.
Can I get a hand here?
Thanks
Easy. Use the wizard to set up the RW-15. Like Steve said, it may not run at 20%. You may have to go up a little.

Use this for the DC skimmer on channel 3.

Code: Select all

ReefAngel.PWM.SetChannel(3,75);
Use this for the return pump on channel 4 (I assume). If it doesn't run at 25%, you may have to up the speed a little.

Code: Select all

ReefAngel.PWM.SetChannel(4,25);
--Colin
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Different Dimming Speeds

Post by Sacohen »

I was thinking along those lines, but couldn't remember the way to code it.
Lionfan
Posts: 166
Joined: Wed Nov 26, 2014 8:53 am

Re: Different Dimming Speeds

Post by Lionfan »

cosmith71 wrote:
Lionfan wrote:I have a 6 channel dimming expansion.
I have 3 channels used by my lights.
With the other 3 channels, I would like to control my DC skimmer, return pump, and Jebao RW 15.
I tried working around the wizard, but I am confused at how to code it.
Basically, I want my DC skimmer (Channel 3) to be at 75%
I want my return pump to be at 25%
And i want my RW-15 to be at wave mode at 20%.
And i want control over all 3 with my phone, which I am sure is just as easy as adjusting the dimming percent on the U-App.
Can I get a hand here?
Thanks
Easy. Use the wizard to set up the RW-15. Like Steve said, it may not run at 20%. You may have to go up a little.

Use this for the DC skimmer on channel 3.

Code: Select all

ReefAngel.PWM.SetChannel(3,75);
Use this for the return pump on channel 4 (I assume). If it doesn't run at 25%, you may have to up the speed a little.

Code: Select all

ReefAngel.PWM.SetChannel(4,25);
--Colin

Awesome
This is exactly what I was looking for.
Been awhile since I've touched the controller, but all a sudden, I got this hankering to start improving everything.
Image
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Different Dimming Speeds

Post by cosmith71 »

I know the feeling. :D
Post Reply