Arduino

Employer
[no-member:pro]Sergey[/no-member:pro]Sergey
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentwithout prepayment
Payment methodsCash, Bank transfer, Electronic money
Acceptance of requestsclosed
Project description
There are arduino mega 2560, 2 pc tlc5940 for expanding the number of PWM pins, 20 light channels on DLL-700 drivers (8 channels white, 3 RGB), 2 ventilators, 1 real-time timer.
I need a sketch on the arduin.
Algorithm:
Morning begins on command (log.1) with a timer: smoothly light the first channel of white, then the second, then the third, and so on until the eighth.
The evening begins on command (log.0) with a timer: the first white channel is smoothly extinguished, then the second, etc., when quenching the 5th channel, a certain percentage of red is added. When the 7.8 channels are quenched, the "moonlight" is added.
Time "ignition" and "quenching" channels want to regulate.
The maximum brightness of each channel must be adjusted.
To understand the essence: the lighting of a large aquarium is being built, the maximum imitation of nature is planned: dawn, sunset, moon. (Creative proposals accepted)
I need a sketch on the arduin.
Algorithm:
Morning begins on command (log.1) with a timer: smoothly light the first channel of white, then the second, then the third, and so on until the eighth.
The evening begins on command (log.0) with a timer: the first white channel is smoothly extinguished, then the second, etc., when quenching the 5th channel, a certain percentage of red is added. When the 7.8 channels are quenched, the "moonlight" is added.
Time "ignition" and "quenching" channels want to regulate.
The maximum brightness of each channel must be adjusted.
To understand the essence: the lighting of a large aquarium is being built, the maximum imitation of nature is planned: dawn, sunset, moon. (Creative proposals accepted)