官术网_书友最值得收藏!

Building a smart gardening system

In this section, we will develop a smart gardening system. We will use a PID controller to manage all inputs from our sensors, which will be used in decision system. We'll measure soil moisture, temperature, and humidity as parameters for our system. To keep it simple for now, we'll only use one parameter, soil moisture level.

A high-level architecture can be seen in the following figure:

You can replace the MCU board and computer with a mini computer such as a Raspberry Pi. If you use a Raspberry Pi, you should remember that it does not have an analog input pin so you need an additional chip ADC, for instance the MCP3008, to work with analog input.

Assuming the watering system is connected via a relay, if we want to water the garden or farm, we just send digital value 1 to a relay. Some designs use a motor.

Let's build!

主站蜘蛛池模板: 钟祥市| 锡林浩特市| 富裕县| 泾川县| 水富县| 曲沃县| 梅州市| 绩溪县| 灵璧县| 奇台县| 阿拉善右旗| 凉山| 邓州市| 五莲县| 庐江县| 固原市| 平原县| 隆子县| 井陉县| 临颍县| 阿克苏市| 太谷县| 登封市| 马公市| 松滋市| 天水市| 二连浩特市| 临安市| 周口市| 安化县| 柳江县| 海丰县| 福清市| 长春市| 长丰县| 屏南县| 新营市| 旬阳县| 巴南区| 泸溪县| 安远县|