blackizzz
New member
Hi everyone!
I'm currently working on my DIY fixture.
It's based on a custom driver (utilizes (7) CAT4101) and a custom controller (utilizes a PIC18 series microchip)
I'm absolutely terrible at writing C codes, I've tried multiple times, and haven't managed to get anything but the most simple things (helloworld, lmao) to work.
I have the "base code", which was written by the guy who designed the PCB's, which allows me to control the 4 channels (3x2 + 1x1 CAT's)
Manual dimming
Timer dimming
Fixture settings
etc.
A problem I currently have with the main code is that the date/time code doesn't seem to work properly. The controller always shows "sunday" as day.
But I'd love to get a bit more out of the fixture, and I've written a kind of "specification list" to what I want it to do in the end.
Any thoughts on this?
How would I best code this?
Anyone willing to help me with any of these points?
I'm not sure if I'm allowed to post the "main" code here (the programmer might not like it), but anyone who would like to take a look at it, could receive a PM with it.
I'd love ANY feedback, help or ideas
:reading:
I'm currently working on my DIY fixture.
It's based on a custom driver (utilizes (7) CAT4101) and a custom controller (utilizes a PIC18 series microchip)
I'm absolutely terrible at writing C codes, I've tried multiple times, and haven't managed to get anything but the most simple things (helloworld, lmao) to work.
I have the "base code", which was written by the guy who designed the PCB's, which allows me to control the 4 channels (3x2 + 1x1 CAT's)
Manual dimming
Timer dimming
Fixture settings
etc.
A problem I currently have with the main code is that the date/time code doesn't seem to work properly. The controller always shows "sunday" as day.
But I'd love to get a bit more out of the fixture, and I've written a kind of "specification list" to what I want it to do in the end.
Enter Cloud Menu:
Clouds On/Off
Chance of clouds: Random/0-100%
Different chance on different weekdays
Clouds/Day: Random/Fixed
Max/Min Clouds/Day on random: 1-99
Duration of clouds: Random/fixed
Max/Min duration of clouds on random: 10s-600s
Cloudiness %: Random/Fixed
Max/Min cloudiness % on random: 1-100
Min Cloudiness during night: 90%
Cloud Dimming % of cloud duration: Random/Fixed 1-49%
Enter Lightning Menu:
Lightning when Cloudy: On/Off
Different chance on different weekdays
Lightning only when Cloud = above %: 1-100%
Chance of lighting when cloudy: Random/0-100%
Max/Min Lightnings/Day: 0-99
Lightning mode: Random/Fixed (Bolt, Burst, Mixer, Dark)
Lightning intensity: Random/Fixed
Lightning intensity on random: 100-10%
Lightning duration % of cloud: Random/Fixed 10-100%
Max/Min Duration % of cloud on random: 10-100%
Storm during night: On/Off
Chance of storm during night : Random/fixed 0-100%
Max/Min Chance of storm during night on random: 1-100%
BOLT: Short burst of lightning < 1s
BURST: Long burst of lightning: several bolts between 1-5s Burst duration Random/Fixed.
Mixer: Random mixed pick of lightnings
Dark: Random amount of time without lightning in middle of burst.
Seasons Settings:
Date xx/xx - xx/xx Spring
Spring
Light Max/Min output: 1-100%
Max/Min Chance of clouds: 1-100%
Max/Min Clouds/Day: 1-99
Max/Min Chance of lightning: 1-100%
Sunset/Sunrise:
Date xx/xx - xx/xx Summer
Summer
Light Max/Min output: 1-100%
Max/Min Chance of clouds: 1-100%
Max/Min Clouds/Day: 1-99
Max/Min Chance of lightning: 1-100%
Sunset/Sunrise:
Date xx/xx - xx/xx Fall
Fall
Light Max/Min output: 1-100%
Max/Min Chance of clouds: 1-100%
Max/Min Clouds/Day: 1-99
Max/Min Chance of lightning: 1-100%
Sunset/Sunrise:
Date xx/xx - xx/xx Winter
Winter
Light Max/Min output: 1-100%
Max/Min Chance of clouds: 1-100%
Max/Min Clouds/Day: 1-99
Max/Min Chance of lightning: 1-100%
Sunset/Sunrise:
Weather Presets: (seasons, cloud amount, lightning amount, rain periods, etc)
Bali
Florida
French Pyrenees
Great Barrier Reef
Hawaii
Maldives
Philippines
Red Sea
Moon Settings:
Moon intensity: 1-15%
Moon duration: 1-360 min
Moon Cycle based on date
Any thoughts on this?
How would I best code this?
Anyone willing to help me with any of these points?
I'm not sure if I'm allowed to post the "main" code here (the programmer might not like it), but anyone who would like to take a look at it, could receive a PM with it.
I'd love ANY feedback, help or ideas