Weather Simulation for Dimming expansion module

Share you PDE file with our community

Posts: 11974
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Feb 20, 2014 9:10 am
If it is just the lightning you are trying to achieve, you can use this:
viewtopic.php?f=14&t=288
Roberto.
User avatar
Posts: 2653
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Thu Feb 20, 2014 12:29 pm
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.

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. :-)


Sent from my iPad mini
User avatar
Posts: 1830
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Thu Feb 20, 2014 12:32 pm
Ok. Thanks

Sent from my HTC One VX using Tapatalk
User avatar
Posts: 1830
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Thu Feb 20, 2014 12:37 pm
rimai wrote:If it is just the lightning you are trying to achieve, you can use this:
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.
User avatar
Posts: 5337
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Thu Feb 20, 2014 1:46 pm
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.
User avatar
Posts: 1830
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Thu Feb 20, 2014 1:47 pm
Ok. Cool.

Sent from my HTC One VX using Tapatalk
User avatar
Posts: 52
Joined: Wed Aug 14, 2013 5:25 am
PostPosted: Sun Mar 02, 2014 1:49 pm
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.
User avatar
Posts: 5337
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Mar 02, 2014 3:42 pm
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
User avatar
Posts: 52
Joined: Wed Aug 14, 2013 5:25 am
PostPosted: Sun Mar 02, 2014 4:12 pm
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.
User avatar
Posts: 5337
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Mar 02, 2014 5:30 pm
Easier to add a feature at a time and take it slow :) Same as reefing to me.. No good code happens quickly.
PreviousNext

Return to My PDE/INO file

Who is online

Users browsing this forum: No registered users and 1 guest