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

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.

主站蜘蛛池模板: 博乐市| 甘孜| 库伦旗| 兴安县| 阳新县| 曲周县| 凤山县| 韶山市| 望谟县| 宝山区| 鱼台县| 乌苏市| 垣曲县| 荆门市| 什邡市| 建德市| 潼南县| 留坝县| 义乌市| 金溪县| 怀集县| 教育| 海兴县| 道孚县| 九龙城区| 乌兰浩特市| 新建县| 江阴市| 建平县| 高阳县| 襄垣县| 原平市| 股票| 营口市| 乌恰县| 庄浪县| 奉新县| 通州区| 酒泉市| 汾西县| 雅安市|