Programming Sunrise and Sunset Ramps on Aquarium LEDs
Program a 30–60 minute sunrise ramp (0% to peak intensity) and a 30–60 minute sunset ramp (peak intensity to 0%), keeping the total illuminated window—ramps included—between 6 and 8 hours per day for planted freshwater tanks (or 8–10 hours at low intensity for fish-only viewing). Sunrise and sunset ramps do not count as "free" viewing time: on a 7-hour planted schedule, a 45-minute sunrise, 5.5-hour peak plateau, and 45-minute sunset deliver the equivalent daily light of 6.25 hours at peak power. Ending the sunset ramp at a true 0% blackout—with no overnight blue moonlight—prevents algae blooms and lets fish rest.
How Sunrise and Sunset Ramps Count Toward Your Photoperiod
A linear sunrise or sunset ramp delivers half of the light energy of a full-intensity plateau over the same duration. Because photosynthetic plants and algae respond to total daily light energy (Daily Light Integral, or DLI) rather than peak intensity alone, you must include ramp time when calculating your total photoperiod.
Use this formula to convert a ramped schedule into effective peak hours:
Effective Peak Hours = Peak Plateau Hours + (0.5 × Sunrise Hours) + (0.5 × Sunset Hours)
For example, a 7-hour total lit window using a 45-minute (0.75 hr) sunrise, a 5.5-hour peak plateau, and a 45-minute (0.75 hr) sunset equals:
5.5 + (0.5 × 0.75) + (0.5 × 0.75) = 6.25 Effective Peak Hours
| Tank Setup | Sunrise Ramp | Peak Plateau | Sunset Ramp | Total Lit Window | Effective Peak Hours |
|---|---|---|---|---|---|
| Low-Tech Planted (15–30 PAR) | 30 min | 6.0–7.0 hr | 30 min | 7.0–8.0 hr | 6.5–7.5 hr |
| Medium-Tech Planted (30–50 PAR) | 45 min | 5.5–6.5 hr | 45 min | 7.0–8.0 hr | 6.25–7.25 hr |
| High-Tech CO2 Planted (50–100+ PAR) | 30–45 min | 5.0–6.5 hr | 30–45 min | 6.0–8.0 hr | 5.5–7.25 hr |
| Fish-Only / Hardscape (No live plants) | 30–60 min | 6.0–8.0 hr | 30–60 min | 7.0–10.0 hr | 6.5–9.0 hr |
If you want longer evening viewing without exceeding your planted tank's light budget, extend the ramp duration to 60 minutes and trim the peak plateau rather than adding extra hours to the end of the schedule.
Target Peak Intensity and Ramp Curves by Tank Depth
Set your peak plateau percentage according to your plant tier and tank depth, because water depth rapidly reduces light reaching the substrate. Shallow tanks at 12 in (30 cm) or less—such as 10G (38 L) or 20L (76 L) aquariums—require far lower peak dimmer percentages than deep tanks at 21–24+ in (53–61+ cm) like 55G (208 L), 75G (284 L), or 120G (454 L) aquariums.
- Low light (15–30 PAR at substrate, 6–8 hr/day): Suitable for Java fern, Anubias, mosses, and Cryptocoryne. In shallow tanks (≤12 in / 30 cm), peak intensity often sits at 25–45% on a medium-output LED; in deep tanks (21–24+ in / 53–61+ cm), it may require 50–70%.
- Medium light (30–50 PAR at substrate, 7–8 hr/day): Suitable for stem plants, swords, and hardy midground species without pressurized CO2. Shallow tanks typically peak at 45–65%, medium tanks (16–18 in / 41–46 cm, such as 20H, 29G, or 40B) at 60–80%, and deep tanks at 75–95%.
- High light (50–100+ PAR at substrate, 6–8 hr/day, pressurized CO2 required): Suitable for carpeting plants and high-demand red stems. Most fixtures run at 75–100% peak depending on mounting height and tank depth.
Linear vs. Multi-Step (S-Curve) Ramps
Human eyes and fish perceive brightness logarithmically, meaning a jump from 0% to 10% brightness looks much more dramatic than a jump from 80% to 90%. Many basic inline dimmers use 8-bit pulse-width modulation (PWM), which causes a noticeable "snap on" flash at the 1% step.
If your controller supports multi-point programming, build a two-stage ramp instead of a straight line:
- First 15 minutes: Ramp slowly from 0% to 10–15% so shy species—such as bettas in 5G–20L (19–76 L) tanks or ornamental shrimp in 5G–40B (19–151 L) tanks—adjust without darting into glass or hardscape.
- Remaining 15–45 minutes: Ramp from 10–15% up to your target peak %.
Step-by-Step Programming: Setting Channels, Color Temperature, and Points
Program 6 keyframe points across the day on multichannel (RGB+W or WRGB) controllers, shifting color temperature from warm amber (2,700K–3,500K) during sunrise and sunset to balanced daylight (6,500K–7,500K) during the peak plateau.
- Anchor the schedule to your viewing hours: Set the total 6–8 hour window for when you are home (for example, 1:00 PM to 8:30 PM) rather than matching outdoor sunrise. Keep blinds closed or block direct window sunlight so morning sun does not extend the real photoperiod.
- Set Point 1 — Dawn Start (0:00 elapsed): Set all channels (Red, Green, Blue, White) to 0%.
- Set Point 2 — Warm Sunrise Step (15 minutes after Dawn Start): Bring Red (or Warm White) up to 15–25% and Green to 5–10%, while keeping Cool White and Blue at 0–5%. Leading with red/warm wavelengths eliminates the harsh blue-white flash that startles fish.
- Set Point 3 — Peak Plateau Start (30–60 minutes after Dawn Start): Bring all channels to your target peak settings for a 6,500K–7,500K spectrum. On RGB+W fixtures, keep the Blue channel 10–20% lower than Red and White if you struggle with green spot or hair algae.
- Set Point 4 — Peak Plateau End (30–60 minutes before Blackout): Enter the exact same channel percentages as Point 3. Every controller requires two identical points to hold a flat plateau instead of immediately ramping down.
- Set Point 5 — Warm Sunset Step (15 minutes before Blackout): Drop Cool White and Blue to 0–5%, holding Red/Warm White at 15–25% for a warm dusk glow.
- Set Point 6 — Total Blackout (End of Window): Set all channels to 0%.
Example 7.5-Hour Multichannel Program (Medium-Tech Planted Tank, 65% Peak)
| Keyframe Point | Time | Red / Warm White | Green | Blue | Cool White | Purpose |
|---|---|---|---|---|---|---|
| 1. Dawn Start | 1:00 PM | 0% | 0% | 0% | 0% | True blackout |
| 2. Warm Sunrise | 1:15 PM | 20% | 5% | 0% | 5% | Gentle, non-startling wake-up |
| 3. Peak Start | 1:45 PM | 65% | 60% | 50% | 65% | Full 6,500K–7,000K photosynthesis |
| 4. Peak End | 7:45 PM | 65% | 60% | 50% | 65% | Holds 6-hr flat peak plateau |
| 5. Warm Sunset | 8:15 PM | 20% | 5% | 0% | 5% | Dusk transition |
| 6. Blackout | 8:30 PM | 0% | 0% | 0% | 0% | True dark-phase rest |
Note for single-channel inline dimmers: If your fixture only has one brightness channel, use the exact same 6-point timing structure, setting Point 2 and Point 5 to 10–15% and Points 3–4 to your depth-appropriate peak %.
Syncing Sunrise and Sunset Ramps with Pressurized CO2
On high-tech planted tanks running pressurized CO2, turn your CO2 solenoid ON 1–2 hours before the sunrise ramp reaches peak intensity (or 1–2 hours before lights turn on) and OFF 1 hour before total blackout.
- Why pre-charging matters during sunrise: Submerged plants begin active photosynthesis as soon as light passes roughly 10–15 PAR midway through a sunrise ramp. If the CO2 solenoid opens at the same minute the lights turn on, dissolved CO2 lags behind plant demand during the first 1–2 hours of peak light—a primary trigger for staghorn and black beard algae.
- Example synced schedule (7-hour total lit window):
- 11:30 AM: CO2 solenoid turns ON (90 minutes before Dawn Start).
- 1:00 PM: Sunrise ramp begins (0% to peak over 45 minutes).
- 1:45 PM: Peak plateau begins; 4 dKH drop checker should already read lime green (~25–30 ppm).
- 7:00 PM: CO2 solenoid turns OFF (1 hour before total blackout, 15 minutes before the sunset ramp starts).
- 7:15 PM – 8:00 PM: Sunset ramp runs while plants consume the remaining dissolved CO2, preventing wasted gas and minimizing overnight pH drops.
Common Ramp Programming Pitfalls and How to Fix Them
Most ramp-related algae outbreaks and fish stress stem from treating ramps as bonus hours, leaving blue LEDs running overnight, or overlooking dimmer hardware limits.
- Treating 2-hour ramps as "extra" viewing time: Adding a 2-hour sunrise and 2-hour sunset onto an 8-hour peak creates a 12-hour lit window (10 effective peak hours), causing green dust algae and hair algae. Fix: Cap the entire lit window, including both ramps, at 6–8 hours for planted tanks.
- Leaving blue "moonlight" on all night: Running blue channels at 5–15% overnight keeps plant chlorophyll partially active, prevents dark-phase respiration, and disrupts fish sleep cycles. Fix: Program Point 6 to 0% on every channel. If you want moonlight viewing, limit a 2–5% dim blue phase to 30–60 minutes after sunset, then drop to 0%.
- The 1% startup flash on budget dimmers: Some inline ramp controllers jump abruptly from 0% to 5–10% actual output on their lowest setting, startling surface fish or bottom-dwellers. Fix: Raise the fixture 2–4 in (5–10 cm) higher above the water surface, or use floating plants to diffuse the initial light step.
- Unintentional overlap with room or window light: If morning sunlight hits the aquarium at 7:00 AM and your programmed LED sunset ends at 9:00 PM, your tank receives 14 hours of light. Fix: Shift your LED schedule earlier to match ambient room light, or block direct window light with blinds or an opaque tank background.
- Clock drift after power flickers: Inline timers without internal battery backup often reset to 12:00 AM after a brief power outage, causing your sunrise ramp to fire in the middle of the night. Fix: Verify the controller clock once a month and use a controller with non-volatile memory or battery backup.