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

Devices

Devices are located at the edge of the IoT solution. In fact, these devices are what we call Things in the context of IoT. They are usually capable of sending and receiving data events.

As an example, a device with an embedded soil moisture probe can detect that the monitored soil has 43% moisture. It can then report this informative event to the platform it's connected to. The platform can then send an action event to the device, triggering a water valve to open and restore the soil moisture. This interaction depends on other aspects related to the device, which will be covered in upcoming sections. For now, let's focus on the device.

In order to handle these types of interactions, you may think of a device as a computing unit that has analog or digital (or both) processing capabilities. This means that it is able to read and write analog and digital signals to their probes and actuators.

An analog signal is a signal that can vary in a range of values. Let's take an Arduino Uno board, for example. Arduino Uno has a 10-bit resolution analog-to-digital converter (ADC), which means that it can read voltages from 0V to 5V and map them into integer values between 0 and 1,023 (210 = 1,024). Analog signals are generally used to read data from analog sensors.

A digital signal is a binary signal, which means that it has only two possible values: 0 or 1, high or low. This kind of signal is mostly used to identify or change on and off states, for example, turning an LED bulb on or off.

主站蜘蛛池模板: 河曲县| 三明市| 高要市| 堆龙德庆县| 梁山县| 界首市| 哈巴河县| 佛学| 福海县| 潮州市| 衡南县| 金溪县| 呼和浩特市| 尼木县| 凤庆县| 东乌| 陵川县| 瓦房店市| 金沙县| 宁都县| 仙居县| 新乐市| 梅州市| 乐平市| 峨山| 广州市| 宁德市| 武强县| 文昌市| 隆昌县| 樟树市| 大邑县| 长宁县| 民勤县| 邓州市| 洛宁县| 定陶县| 益阳市| 闽清县| 商丘市| 科技|