Skip to content

Lesson 27: Smart greenhouse

A greenhouse that looks after itself

  • This is the last project: one Arduino controls a whole greenhouse.
  • It reads two sensors (temperature and light) and drives three actuators (a window servo, a grow light and a heater).
  • You put each sensor reading into its own function, so loop reads like a list of rules.

Words for this lesson

Word Meaning
greenhouse a glass house where plants grow
grow light a lamp that gives plants light at night
heater a machine that makes the air warmer
return send a value back from a function
bool a value that is true or false

Log in or create account

IGCSE, A-Level & AP