Weather Simulation for Dimming expansion module
Re: Weather Simulation for Dimming expansion module
I got the PM. I will be reading through it over the next few days and start coming up with some ideas as to what all needs to be done.
Sent from my Nexus 7
Sent from my Nexus 7
-
- Posts: 74
- Joined: Mon Aug 05, 2013 3:16 am
Re: Weather Simulation for Dimming expansion module
Consider me a guinea pig! I only have one PWM expansion now, but down the road I will need more channels and will approach this at that time. Thanks!
-
- Posts: 188
- Joined: Fri Dec 30, 2011 6:57 am
Re: Weather Simulation for Dimming expansion module
I would be happy to be a guinea pig for this project too.
Not sure if this makes a difference or not, but I have an analog version of the dimming module so it works for my Apollo Reef LED's. I currently just run it with the parabola function for my 4 channels... although I'm able to change any parameters (start/end % and/or times) via the android app on the fly, so I think this weather sim code will work for me too.
While I'm not an expert when it comes to coding, I do have a custom code running that's a bit more complicated than most are running and I feel that I could help track down any errors.
Not sure if this makes a difference or not, but I have an analog version of the dimming module so it works for my Apollo Reef LED's. I currently just run it with the parabola function for my 4 channels... although I'm able to change any parameters (start/end % and/or times) via the android app on the fly, so I think this weather sim code will work for me too.
While I'm not an expert when it comes to coding, I do have a custom code running that's a bit more complicated than most are running and I feel that I could help track down any errors.
Re: Weather Simulation for Dimming expansion module
That sounds great- I am currently the weak link in the chain moving forward. I have been to busy lately to take even a few hours and ensure that what Kurt gets is exactly what we want to see as a library code. I have revised the code that protects against photo bleaching during long summer days and ensures a user specified minimum light on period on winter days where rise and set may be too short to ensure adequate light over the tank. I want to make this optional so that those who want the rise and set times to exactly match compited can do so, and suffer the consequences if they end up bleaching or browning, or have it so that you simply instruct it what you minimum light cycle must be give. your max intensity settings are so that in the winter it adds time to get that light period. During the summer I am using a scaling routine where the percent of day lenght beyond the desired light period is used to subtly scale back max intensities so that you get correlation with rise and set to their exact calculated values, but the tank does not bleach. I have been testing this for a year now and want to adjust one thing- check the rest of the code and send it on to Kurt.
Sorry for being the weak link... it will happen soon
Sorry for being the weak link... it will happen soon
-
- Posts: 188
- Joined: Fri Dec 30, 2011 6:57 am
Re: Weather Simulation for Dimming expansion module
Trust me, being the President of the reefing club I'm in (NJ Reefers) I know what it's like to juggle time between your home life and volunteering on a community project.
This project may not even be this far along if you hadn't already done the groundwork you've done so far. A little more time won't kill us, heh.
This project may not even be this far along if you hadn't already done the groundwork you've done so far. A little more time won't kill us, heh.
Re: Weather Simulation for Dimming expansion module
no worries here. my schedule is hectic as well. that's just the "fun" with things.
Re: Weather Simulation for Dimming expansion module
Hi all,
I'm actually using this code with my arduino uno with great success. I was wondering if it's possible to add coding for coral acclimation for x days with the max say 65% gradually ramping up to 100% again across the x days. The acclimation part would be initialized by a push button. Thanks.
I'm actually using this code with my arduino uno with great success. I was wondering if it's possible to add coding for coral acclimation for x days with the max say 65% gradually ramping up to 100% again across the x days. The acclimation part would be initialized by a push button. Thanks.
Re: Weather Simulation for Dimming expansion module
Hello, I'm new here. I tried out the sketch, I'm using a arduino uno but when I go to the serial monitor it don't show anything? Anyone else experience this?
And also is there a way to turn off the storm function - and still have the cloud function?
And also is there a way to turn off the storm function - and still have the cloud function?
Re: Weather Simulation for Dimming expansion module
89delta wrote:Hi all,
I'm actually using this code with my arduino uno with great success. I was wondering if it's possible to add coding for coral acclimation for x days with the max say 65% gradually ramping up to 100% again across the x days. The acclimation part would be initialized by a push button. Thanks.
I have created Dimming Acclimation code.
The first post in this thread will walk you through it.
http://forum.reefangel.com/viewtopic.php?f=12&t=4193
I have not created any menu options to begin acclimation. It is started by setting the AcclDay to the same value you have chosen for your AcclDuration(Total days in accl cycle).
Re: Weather Simulation for Dimming expansion module
Did this ever get ported to the head unit with any luck?
I'm working on getting my LED's running and would love to have a storm mode set up, but I have no idea how to dow this.
I'm working on getting my LED's running and would love to have a storm mode set up, but I have no idea how to dow this.
Re: Weather Simulation for Dimming expansion module
If it is just the lightning you are trying to achieve, you can use this:
http://forum.reefangel.com/viewtopic.php?f=14&t=288
http://forum.reefangel.com/viewtopic.php?f=14&t=288
Roberto.
Re: Weather Simulation for Dimming expansion module
i havent gotten a response back with the base code to try to turn into a library because i was told there were changes made from what was originally posted. so theres not been any progress that im aware but thats not saying much anymore.Sacohen wrote:Did this ever get ported to the head unit with any luck?
I'm working on getting my LED's running and would love to have a storm mode set up, but I have no idea how to dow this.
Sent from my iPad mini
Re: Weather Simulation for Dimming expansion module
Ok. Thanks
Sent from my HTC One VX using Tapatalk
Sent from my HTC One VX using Tapatalk
Re: Weather Simulation for Dimming expansion module
rimai wrote:If it is just the lightning you are trying to achieve, you can use this:
http://forum.reefangel.com/viewtopic.php?f=14&t=288
What I would like to do is the following...
1) Sunrise/sunset (not necessarily accurate to the actual sunrise sunset)
2) Random Lightning
3) Random Cloud cover
Possibly Moonlight cycle later. That I would want tied to the actual Moon Phase.
Re: Weather Simulation for Dimming expansion module
Steve,
The Sunrise/Sunet you could get from my SunLocaltion class that binder helped to isolate. The Moon cycle, you could also get from my Moon class. This would give you daily rise/set moontime or you could use your own schedule and use MoonPhase() as the parameter.
Random lightning and random cloud cover could then just be done with the standalone weather effects that Roberto linked to.
The Sunrise/Sunet you could get from my SunLocaltion class that binder helped to isolate. The Moon cycle, you could also get from my Moon class. This would give you daily rise/set moontime or you could use your own schedule and use MoonPhase() as the parameter.
Random lightning and random cloud cover could then just be done with the standalone weather effects that Roberto linked to.
Re: Weather Simulation for Dimming expansion module
Ok. Cool.
Sent from my HTC One VX using Tapatalk
Sent from my HTC One VX using Tapatalk
- heatdissipation
- Posts: 52
- Joined: Wed Aug 14, 2013 5:25 am
Re: Weather Simulation for Dimming expansion module
Will this program work with sixteen channels, Roberto is making me a custom 16 channel expansion and this is exactly what I would like to do. How difficult would it be to use sixteen channels.
Re: Weather Simulation for Dimming expansion module
The code was meant to live on the old dimming modules. However the code does nothing special that couldnt be done with 16 channels, but the code will take a bit of tweaking.
I have a standalone class that determines sun rise/set and roberto has a weather effect somewhere thats a lot simpler
I have a standalone class that determines sun rise/set and roberto has a weather effect somewhere thats a lot simpler
- heatdissipation
- Posts: 52
- Joined: Wed Aug 14, 2013 5:25 am
Re: Weather Simulation for Dimming expansion module
Ya. I just got done reading all nine pages and came to that conclusion also. I'm reading both of those codes you just mentioned now. Just trying to find the time with my work schedule to compile the different codes I need is a task in and of itself.
Re: Weather Simulation for Dimming expansion module
Easier to add a feature at a time and take it slow Same as reefing to me.. No good code happens quickly.
Re: Weather Simulation for Dimming expansion module
Lee;
So your Moon class will simulate the actual moon cycles, where the MoonPhase() will just do a moon rise and set according to the time I set, correct?
So your Moon class will simulate the actual moon cycles, where the MoonPhase() will just do a moon rise and set according to the time I set, correct?
Re: Weather Simulation for Dimming expansion module
Correct the Moon class gives you rise and set times based on the gos coordinate. I dont think it lines up right because we dont adjust for timezone and RA thinks it is GMT. But otherwise provides a very nice rhythm of moon rise and set.
Re: Weather Simulation for Dimming expansion module
I just wanted to confirm this simulation will not work on the newer version of the dimming expansion and has not yet been coded for the head unit? Thanks!
Re: Weather Simulation for Dimming expansion module
Correct.
It should not be that much work to port it to the head unit. I don't have a dimming setup where I could try though.
It should not be that much work to port it to the head unit. I don't have a dimming setup where I could try though.
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: Weather Simulation for Dimming expansion module
Hey all
I have just got a retro kit from Steve's LEDs for my Red Sea Max 650.
I have installed the kit and now want to add the dimmer expansion module to control sunrise sunset ( in Australia )
I already have the module and have been following this thread. The issue I am having is when i plug the module in to the PC to upload the code, it comes up with either faulty or unknown USB Device.
I run an IT company so this sort of thing is second nature but still having issues with it.
Am i meant to be plugging into the mini usb port or opening up the controller and plugging in there as there no instructions on this.
Thanks all
Joel
I have just got a retro kit from Steve's LEDs for my Red Sea Max 650.
I have installed the kit and now want to add the dimmer expansion module to control sunrise sunset ( in Australia )
I already have the module and have been following this thread. The issue I am having is when i plug the module in to the PC to upload the code, it comes up with either faulty or unknown USB Device.
I run an IT company so this sort of thing is second nature but still having issues with it.
Am i meant to be plugging into the mini usb port or opening up the controller and plugging in there as there no instructions on this.
Thanks all
Joel
Re: Weather Simulation for Dimming expansion module
What are you trying to load the code to, the dimming module of the RA head unit?
Code only get uploaded to the RA head unit all other devices receive their commands from the head unit.
Instructions for all the devices can be found on the RA website.
Choose Downloads and then manuals.
(http://www.reefangel.com/download.aspx)
Code only get uploaded to the RA head unit all other devices receive their commands from the head unit.
Instructions for all the devices can be found on the RA website.
Choose Downloads and then manuals.
(http://www.reefangel.com/download.aspx)
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: Weather Simulation for Dimming expansion module
Sorry I was reading about how some load the sunrise sunset direct to dimmer module. Have had RA for few years so know the basic, just first time working with dimmer side. I have it working using the PWN function with parabola but for some weird reason say 100 will turn LEDs off but -100 will make bring and -150 brighter so seems to be in reverse. Wires are in correct place too.
Re: Weather Simulation for Dimming expansion module
Oh, this code / library no longer works? Not sure what the newer version of the dimming expansion is though. I just installed one about a month back but not tried the weather module. Was looking at it this morning when I came across this note so figured I'd ask.morn623 wrote:I just wanted to confirm this simulation will not work on the newer version of the dimming expansion and has not yet been coded for the head unit? Thanks!
Re: Weather Simulation for Dimming expansion module
This has pretty much been replaced by the SunLocation class plus the Cloud and Lightning effects. I just realized if we add the seasonal temperature code, we'd be in a really cool position. Plus I just thought of something awesome... I have to look at the temp one to see if it makes sense. I think we can make that one much easier to implement and customize.
- Rodasphoto
- Posts: 187
- Joined: Wed Apr 10, 2013 2:48 pm
- Location: Athens, Ga
- Contact:
Re: Weather Simulation for Dimming expansion module
So how would one code for cloud, lightening, etc. ?lnevo wrote:This has pretty much been replaced by the SunLocation class plus the Cloud and Lightning effects. I just realized if we add the seasonal temperature code, we'd be in a really cool position. Plus I just thought of something awesome... I have to look at the temp one to see if it makes sense. I think we can make that one much easier to implement and customize.