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

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!

主站蜘蛛池模板: 宜兰县| 嘉义市| 拜泉县| 阳信县| 仁怀市| 弥勒县| 革吉县| 子长县| 河东区| 江孜县| 滁州市| 区。| 高密市| 利津县| 抚远县| 观塘区| 内乡县| 湄潭县| 余江县| 泽库县| 金塔县| 鹿邑县| 剑河县| 信丰县| 信丰县| 台前县| 开远市| 托里县| 浦江县| 信丰县| 彭山县| 嘉峪关市| 山西省| 苏尼特左旗| 繁峙县| 临西县| 临漳县| 崇明县| 巨鹿县| 延安市| 甘孜|