Programming an Inline LED Dimmer and Ramp Timer
To program an inline DC LED dimmer and ramp timer for a freshwater aquarium, set the internal 24-hour clock first, program a 15–30 minute sunrise and sunset ramp, cap peak intensity by tank depth to hit 15–30 PAR (low-tech), 30–50 PAR (medium), or 50–100+ PAR (high-tech with pressurized CO2), and keep the total effective photoperiod at 6–8 hours per day with 0% overnight output. Keep the power supply plugged into an unswitched wall outlet so the inline controller never loses power and resets its schedule.
Electrical Compatibility and Inline Wiring Limits
An inline ramp timer only works on constant-voltage DC LED fixtures (most commonly 12V DC or 24V DC) whose power supply voltage, barrel plug polarity, and continuous wattage stay within the controller's rated limits.
Inline controllers sit between the AC-to-DC power brick and the LED light bar using a standard coaxial DC barrel connector—typically 5.5 × 2.1 mm or 5.5 × 2.5 mm, center-positive. They regulate brightness using pulse-width modulation (PWM), switching the DC circuit on and off thousands of times per second.
- Voltage match: Confirm the power supply output label matches the inline dimmer's input range (for example,
12V–24V DC). Never wire an inline DC dimmer onto an AC-powered fixture or a constant-current LED driver. - 80% continuous load rule: Keep the LED fixture's rated wattage at or below 80% of the inline dimmer's maximum capacity to prevent heat buildup and voltage drop.
Max Safe Fixture Wattage (W) = Supply Voltage (V) × Dimmer Max Current (A) × 0.80- Example: A
24V DCinline timer rated for3 Asafely handles up to24 × 3 × 0.80 = 57.6 W.
- Single controller per circuit: Remove or bypass any built-in manual dial or push-button dimmer on the fixture cord, or set a non-memory inline switch to 100%. Stacking two PWM dimmers in series causes flicker, strobing, or failed startups.
- Unswitched wall power: Plug the power brick directly into a continuous wall outlet or surge protector. Putting an inline ramp timer behind a mechanical outlet timer or smart plug cuts DC power daily, causing clock drift or wiping volatile schedule memory.
Choosing Peak Brightness by Tank Depth and Plant Tier
Set your inline dimmer's peak percentage to match your tank depth tier and target substrate PAR rather than defaulting to 100%, because excess light without matching CO2 and nutrients is the primary driver of freshwater algae.
Water depth and surface agitation scatter light rapidly. A fixture that delivers 50–60 PAR at the substrate of a 12 in (30 cm) shallow tank may deliver only 20–30 PAR at the substrate of a 21–24 in (53–61 cm) deep tank at the same dimmer percentage.
| Tank Depth Tier | Standard US Tank Examples | Low-Tech / Betta & Shrimp (15–30 PAR, 6–8 hr/day) | Medium Planted (30–50 PAR, 7–8 hr/day) | High-Tech CO2 Planted (50–100+ PAR, 6–8 hr/day) |
|---|---|---|---|---|
| Shallow ≤12 in (≤30 cm) | 5G, 5.5G, 10G, 15G, 20L, 33L | 25%–45% peak | 50%–70% peak | 75%–90% peak |
| Medium 16–18 in (41–46 cm) | 20H, 29G, 30G, 40B, 40L | 40%–60% peak | 65%–85% peak | 85%–100% peak |
| Deep 21–24+ in (53–61+ cm) | 37G, 45G, 55G, 65G, 75G, 90G, 120G, 125G, 150G, 180G | 55%–75% peak | 75%–95% peak | 95%–100% peak (high-output fixture required) |
Note: Peak percentages assume a full-spectrum freshwater LED bar sized to the tank's length. If algae appears on slow-growing leaves or hardscape within 2 weeks, drop peak intensity by 10%–15% or trim peak duration by 30–60 minutes.
- Fish-only, betta, and ornamental shrimp tanks: Target 15–30 PAR (6–8 hr/day). In shallow 5G–20L (19–76 L) tanks, keeping peak intensity at 25%–45% reduces glare, keeps surface-dwelling fish calm, and prevents green spot and hair algae.
- Goldfish and African cichlid tanks: Target 15–30 PAR (6–7 hr/day) for fish viewing without excessive algae growth on rockwork in 29G–125G (110–473 L) setups.
Step-by-Step Ramp Programming: Single-Point vs. Multi-Point Timers
Program the local 24-hour clock first, then lock in four anchor points—sunrise start (0%), peak start, peak end, and sunset end (0%)—so your total effective photoperiod stays between 6 and 8 hours per day.
Inline ramp timers use one of two programming logics:
- Fixed-Ramp Preset Timers: You set one
ONtime, oneOFFtime, onePeak %, and select a fixed ramp duration (usually15,30, or60minutes). Some models run the ramp inside theON–OFFwindow; others start ramping afterONand finish ramping afterOFF. - 24-Hour Multi-Point (Keyframe) Timers: You program 4 to 8 time-and-brightness pairs (
T1throughT4orL1–L8). The controller smoothly interpolates brightness in a straight line between consecutive timestamps.
Calculating Effective Photoperiod
Long sunrise and sunset ramps still count toward daily light energy. Use this formula to verify your schedule does not exceed 8 effective hours:
Effective Photoperiod (hr) = Peak Duration (hr) + (0.5 × Sunrise Ramp (hr)) + (0.5 × Sunset Ramp (hr))
- Example: A
6.5 hrpeak with a0.5 hr(30-minute) sunrise and0.5 hr(30-minute) sunset equals6.5 + 0.25 + 0.25 = 7.0 hrof effective full-intensity photoperiod. - Keep ramps to 15–30 minutes: Ramps of 60–120 minutes add 1–2 hours of low-angle, algae-favoring light without improving plant growth or fish comfort.
Ready-to-Use Keyframe Schedules
Use these four-to-six-point templates on any multi-point inline timer (adjust clock times to match your household viewing hours):
| Schedule Profile | Target Setup | T1 (Zero Anchor) |
T2 (Peak Start) |
T3 (Peak End) |
T4 (Sunset End) |
Effective Photoperiod |
|---|---|---|---|---|---|---|
| Low-Tech / Fish & Shrimp | 15–30 PAR, no CO2 | 11:00 → 0% |
11:30 → 40% |
18:00 → 40% |
18:30 → 0% |
7.0 hr (6.5 hr peak + two 30-min ramps) |
| Medium Planted | 30–50 PAR, low/no CO2 | 10:00 → 0% |
10:30 → 65% |
17:30 → 65% |
18:00 → 0% |
7.5 hr (7.0 hr peak + two 30-min ramps) |
| High-Tech CO2 Planted | 50–100+ PAR, pressurized CO2 | 10:00 → 0% |
10:30 → 90% |
17:00 → 90% |
17:30 → 0% |
7.0 hr (6.5 hr peak + two 30-min ramps) |
| Split / Siesta Photoperiod | Morning + evening viewing | 08:00 → 0%; 08:15 → 50% |
11:45 → 50%; 12:00 → 0% |
15:30 → 0%; 15:45 → 50% |
19:15 → 50%; 19:30 → 0% |
7.5 hr total (two 3.5-hr peaks, 3.5-hr midday dark) |
Dual-Channel (White + RGB/Blue) Inline Timers
If your inline controller has two independent DC outputs (typically Channel A for white/daylight LEDs and Channel B for blue or RGB accent LEDs), program both channels on the same sunrise and sunset window, with Channel B capped 10%–20% lower than Channel A if you want a warmer, natural freshwater look, or matched for crisp color rendering.
Syncing Ramp Timers With Pressurized CO2 and Night Viewing
On high-tech planted tanks, set the pressurized CO2 solenoid ON 1–2 hours before the peak phase begins and OFF 1 hour before sunset ends, while keeping overnight output at 0%.
- CO2 lead time with a ramp: Because photosynthesis stays minimal during the first 15–20 minutes of a dim sunrise, syncing your CO2 solenoid to turn ON 60–90 minutes before
T2(Peak Start)—roughly 30–60 minutes beforeT1(Zero Anchor)—allows dissolved CO2 to reach ~25–30 ppm (lime green on a 4 dKH drop checker) right as full-intensity light begins. - CO2 shutoff: Turn the CO2 solenoid OFF 60 minutes before
T4(Sunset End) so plants consume remaining dissolved CO2 during the final hour of light instead of wasting gas overnight. - Skip overnight "moonlight": Leaving Channel A or Channel B at 1%–5% overnight eliminates true dark respiration, extends the effective photoperiod to 24 hours, and fuels green dust, hair, and staghorn algae. Always end the day at 0%.
Common Inline Dimmer Programming Pitfalls and Fixes
Most inline dimmer failures stem from missing 0% anchor points, low-end PWM flicker, clock resets from upstream switches, or uncounted ramp hours.
| Symptom | Root Cause | Concrete Fix |
|---|---|---|
| Light glows dimly all night and slowly brightens until morning | Missing 0% anchor points before sunrise and after sunset cause the timer to interpolate across the overnight gap (for example, 18:00 = 0% to 10:00 = 50% ramps up all night). |
Set T1 (10:00) to 0%, T2 (10:30) to Peak %, T3 (17:00) to Peak %, and T4 (17:30) to 0%. |
| Light jumps straight from 0% to ~10% at sunrise, or flickers below 10% | Many constant-voltage LED drivers cannot sustain stable PWM output below 5%–10% brightness. | Set your first lit step (T1 + 5 min) to 8%–10% instead of 1%, or accept a small initial step-on at dawn. |
Schedule drifts or resets to 00:00 / factory defaults |
An upstream smart plug, wall switch, or brief power outage cut DC power to a timer without a coin-cell backup battery. | Plug the power brick into an unswitched outlet or battery-backed UPS, and verify the 24-hour clock after any outage. |
| Dimmer housing gets hot, whines audibly, or shuts off at high % | Fixture wattage exceeds the dimmer's continuous rating (over 80% of max amps) or the power supply voltage/current is undersized. | Check V × A × 0.80 against fixture watts; upgrade to a higher-amperage inline controller or lower peak brightness. |
| Algae blooms even though "peak" is only 6 hours | Long 60–120 minute ramps add 1–2 hours of effective photoperiod, pushing total exposure past 8 hours. | Shorten sunrise and sunset ramps to 15–30 minutes and re-calculate effective photoperiod. |