Four ready-to-flash sketches that run a small greenhouse on one Uno: a replacement commercial controller starts around 180 USD and still needs its own sensors.
arduino:avr:uno
Water only when the probe reads dry, with a hard daily cap so a stuck probe cannot flood the bed.
Reads a resistive or capacitive probe on A0 and drives a relay on D7. The daily cap is the safety device most tutorials leave out.
| Pin | Mode | Connect to |
|---|---|---|
A0 | INPUT | Soil moisture probe signal |
7 | OUTPUT | Relay IN for the pump |
| Name | Value | Unit |
|---|---|---|
DRY_THRESHOLD | 620 | raw ADC |
PUMP_SECONDS | 20 | s |
MAX_RUNS_PER_DAY | 6 | runs |
Ramp a 12 V fan with PWM from a 10k NTC thermistor instead of switching it fully on and off.
Uses the Steinhart-Hart approximation on a voltage divider at A1 and writes PWM to D9. Hysteresis keeps the fan from chattering at the setpoint.
| Pin | Mode | Connect to |
|---|---|---|
A1 | INPUT | 10k NTC divider midpoint |
9 | OUTPUT | MOSFET gate for the fan |
| Name | Value | Unit |
|---|---|---|
TARGET_C | 26 | C |
FULL_SPEED_C | 33 | C |
Open and close a linear actuator on a daily schedule using millis, with an end-stop timeout so the motor never stalls.
Drives an H-bridge on D4 and D5. The timeout is what protects a cheap actuator when a limit switch fails.
| Pin | Mode | Connect to |
|---|---|---|
4 | OUTPUT | H-bridge IN1 (open) |
5 | OUTPUT | H-bridge IN2 (close) |
| Name | Value | Unit |
|---|---|---|
OPEN_AFTER_MIN | 480 | min from power-on |
TRAVEL_SECONDS | 18 | s |
Latch an alarm when the tank float opens, so a night-time dry run is still visible in the morning.
Float switch on D2 with INPUT_PULLUP and a buzzer on D8. The latch is the point: a momentary alarm you slept through tells you nothing.
| Pin | Mode | Connect to |
|---|---|---|
2 | INPUT_PULLUP | Tank float switch |
8 | OUTPUT | Buzzer or lamp |
| Name | Value | Unit |
|---|---|---|
DEBOUNCE_MS | 400 | ms |
Four ready-to-flash sketches that run a small greenhouse on one Uno: a replacement commercial controller starts around 180 USD and still needs its own sensors.
This page is the free working part. The full version is sent to your inbox.
A packaged greenhouse controller with the same four functions sells for 180-320 USD, sensors excluded.
Send it to meNeed more than this one? ReadyStack Pass opens all 679 files and 561 full versions — $29/month or $199/year. See the Pass →
Four ready-to-flash sketches that run a small greenhouse on one Uno: a replacement commercial controller starts around 180 USD and still needs its own
The preview on this page is free.
1. Read below what is included. 2. Open the parts you need directly on this page. 3. A question? Use the question box at the bottom of the page.
One question, answered by the person who built it. Your email only if you want the answer sent.
For a team or company: for an invoice with your company details, a quote or several licences, write to [email protected].
Page and text translator browser extension cost check: own API key vs subscriptionPrice your own Google or Azure translation API key against your translator extension subscription. Azure F0 is free to 2,000,000…FreeFull version $21PCI Payment Page Script Audit: requirement 6.4.3 and 11.6.1 on your checkout markupPCI DSS 4.0.1 requirements 6.4.3 and 11.6.1 have been mandatory since 2025-03-31, and the PCI SSC revised FAQ 1331 on 2026-08-04 so a QSA…FreeFull version $29
Invoice Number Sequence — PHP Composer Package for Gapless, Audit-Proof Invoice NumberingWhat you get: This page is the working piece. Full version · $6 →FreeFull version $6
Docker Desktop winget — find desktop installs in setup filesThis browser tool finds Docker Desktop installs in package manifests and laptop setup scripts and shows a Podman Desktop line for each.FreeFull version $29
Protobuf Wire compatibility Check — check proto changes before rolloutThis free browser tool flags wire-incompatible .proto edits, including reused or unreserved field numbers, enum zero drift, and JSON name…FreeFull version $29
PySide6 PyQt Migration — check your code for freeThis free tool flags PyQt imports and PyQt-only APIs that need changes for LGPL PySide6, with a fix for each line.FreeFull version $29ReadyStack
Calculators, templates and deadlines for the rules that change every year — free in your browser.