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

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.

主站蜘蛛池模板: 泾川县| 当雄县| 阿勒泰市| 博野县| 小金县| 浏阳市| 永康市| 上虞市| 井陉县| 曲水县| 石城县| 南投县| 太康县| 隆化县| 叙永县| 信阳市| 手游| 波密县| 石楼县| 司法| 云和县| 泗阳县| 丰台区| 武冈市| 旬邑县| 云霄县| 黄龙县| 西贡区| 华坪县| 正阳县| 衡水市| 怀安县| 秭归县| 满洲里市| 永年县| 乐都县| 霞浦县| 科技| 揭阳市| 连江县| 北辰区|