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

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!

主站蜘蛛池模板: 东台市| 高台县| 建水县| 岳阳市| 阳山县| 永康市| 永清县| 漠河县| 华坪县| 淮阳县| 柘城县| 沧州市| 贵阳市| 大庆市| 若羌县| 阳朔县| 收藏| 安岳县| 五常市| 龙山县| 昭平县| 正镶白旗| 丁青县| 江山市| 金乡县| 银川市| 青浦区| 云浮市| 黄龙县| 常熟市| 大庆市| 肇源县| 莆田市| 新密市| 邵东县| 外汇| 诏安县| 广昌县| 微山县| 大安市| 灌云县|