Page 2 of 2

Re: 2nd Dimming Expansion Module

Posted: Sat Mar 03, 2018 12:09 pm
by Loose
:lol:
Yes, it absolutely is an awesome device!! First huh? That's kinda cool... Hey, if you want to test code in an operational setting, just let me know.

For my setup, it makes it a clean(er) look with my family room show piece.
If I could build a hobby-business around installing and maintaining reef tanks, this device would be a key feature to the (RA based) setup. ;)

I did take the millis() check out (the parabola/slope waveforms don't change that much over a few hours) but will put it back in and experiment with working it under the full second... I'd like to work the connected channels into lightening code and I think 1 sec response is a bit too long.

Couple questions from the picture below, what are these ports and are they active?

Re: 2nd Dimming Expansion Module

Posted: Sat Mar 03, 2018 8:36 pm
by rimai
The broadcast of data through the cloud server is not going to be fast enough for lightning.
If you want to implement that, you will have to program the cloud wifi hub code itself and implement the lightning code in there and just send a trigger signal to start and stop the lightning code.
If you want to do that, you will need to use the Arduino IDE with the latest dev branch of the libraries.
The header is for two temp probe and two input channels. They are enabled and are currently T4 and T5 and channel 6 and channel 7 of the I/O expansion.

Re: 2nd Dimming Expansion Module

Posted: Wed Mar 07, 2018 7:56 pm
by Loose
Ahhh... data throughput limit is with the cloud server and not with the module.

Header for two temp probes, two I/O ports, and can accept code independently of the RA*, this module looks better and better.

Re: 2nd Dimming Expansion Module

Posted: Mon Aug 13, 2018 5:53 pm
by tngo
Hey Roberto,

Has the 2nd dimming expansion module been implemented into the libraries? I wanted to connect and test a new light fixture using a second dimming module.

Thanks,
Tim

rimai wrote:Actually,I just remember that you also have to change the ID of the 2nd expansion module.
Open the module and place a jumper on ID1.
That way both your modules will have distinct addresses.
The first one is I2CPWM_PCA9685 and the second one is I2CPWM_16CH_PCA9685.
Also, I just looked at the libraries and since both these addresses are distinct and already in the libraries, all you need to do is place this line on the setup() section:

Code: Select all

ReefAngel.Add16ChPWM();
Then you can control the channels of the second module as if it were a 16ch.

Code: Select all

ReefAngel.PWM.SetChannel(0,4096); // Sets channel 0 of 1st dimming module to 4096
ReefAngel.PWM.Set16Channel(0,4096); // Sets channel 0 of 2nd dimming module to 4096
Channels for both modules start at 0.

Re: 2nd Dimming Expansion Module

Posted: Mon Aug 13, 2018 9:42 pm
by rimai
It's been in the libraries for a long time, but none of the apps will allow you to override the %.

Re: 2nd Dimming Expansion Module

Posted: Wed Aug 15, 2018 10:08 am
by tngo
Okay, cool thanks.

Tim

Re: 2nd Dimming Expansion Module

Posted: Sun Aug 19, 2018 5:52 am
by binder
rimai wrote:It's been in the libraries for a long time, but none of the apps will allow you to override the %.
if you are referring to the 16ch dimming module, my android app supports it and allows for overriding the %.
if you are talking about something else, then you are probably right.

Sent from my XT1585 using Tapatalk

Re: 2nd Dimming Expansion Module

Posted: Sun Aug 19, 2018 10:10 am
by rimai
Oh. I thought I didnt.
Good to know :)