- Intelligent IoT Projects in 7 Days
- Agus Kurniawan
- 156字
- 2021-07-02 18:25:52
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!
- 深入淺出Prometheus:原理、應(yīng)用、源碼與拓展詳解
- UML+OOPC嵌入式C語言開發(fā)精講
- C語言從入門到精通(第4版)
- Java程序設(shè)計(jì):原理與范例
- Java高并發(fā)核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- Beginning C++ Game Programming
- Raspberry Pi Robotic Blueprints
- Mockito Essentials
- Arduino電子設(shè)計(jì)實(shí)戰(zhàn)指南:零基礎(chǔ)篇
- Instant Automapper
- 從零開始學(xué)算法:基于Python
- Learning Redux
- Visual C++程序開發(fā)范例寶典
- Spring Microservices
- C語言從入門到精通(第4版)