Physical design of IoT refers to Things in IoT and IoT Protocols. Things are node device which have unique identities and can perform remote Sensing, activation and monitoring capabilities. Iot protocols helps communication established between things and cloud based server over the internet.

1. Things in IoT

Things in IoT refers to IoT devices which have unique identities that can perform sensing, activation and monitoring capabilities. IoT can be various type, sensing devices, smart electronic appliances, wearable sensors, and industrial machines.

ioT

Above picture shows a generic block diagram of IoT device. An IoT device Mein consist of several interfaces for connections to other devices, wired and wireless.

How does it work?

For example, if a relay switch connected to an IoT device can turn ON/OFF an appliance on the commands sent to the IoT device over the internet.

2. IoT Protocols

IoT Protocols help to establish communication between IoT device (node device) and cloud based server over the internet. An image is given below buy this image you can understand which protocols used.

IoT Protocols

i. Link Layer

Link layer protocols determine how data is sent over the network's physical layer or medium (wired or wireless). Link layer determines how the packets are coded and signalled by a hardware device over the medium to which the host is attached.

ii. Network/ Internet Layer

This layer responsible for sending IP datagram from source to destination network. It performs the host addressing and packet routing. It's host identification is done using hierarchical IP addressing scheme such as IPv4 or IPv6.

Difference Between IPv6 and IPv4

IPv6 vs IPv4

6LoWPAN

It stands for IPv6 over low-power wireless personal area network. It is a very popular standard for wireless communication. It was really the first wireless connectivity standard that was created for the IoT. 6LoWPAN gives IoT connectivity to very small, low-power devices to directly communicate with any other IP-based (Ethernet or Wi-fi) device on the internet. The main name of the protocol is to enable the smallest device to use the Internet Protocol. This takes into consideration the low power working condition and the low bandwidth of the devices. Thus, developing a protocol that acts as a bridge between the bigger and smaller devices was very hard. It operates in 2.4Ghz and data rates of 250 kb /s.

Advantage of 6LoWPAN

Disadvantages of 6LoWPAN

iii. Transport layer

This layer provides and to end message transfer capability independence of the underlying network. It provides function such as error control, segmentation, flowchart and congestion control.

TCP (transmission control protocol)

This protocol is a connection-oriented protocol. TCP is a standard that defines how to establish and maintain a network conversation through which application programs can exchange data. TCP works with the Internet Protocol ( IP), which defines how computers send packets of data to each other. Together, TCP and IP are the basic protocols defining the Internet. The Internet Engineering Task Force ( IETF) defines TCP in the Request For Comment (RFC) standard document number 793.

Advantages of TCP

Disadvantages of TCP

UDP (user datagram protocol)

This protocol is a connectionless protocol. It does not ensure reliable transmission. It does not provide proper ordering of messages. And it is transaction-oriented and stateless. UDP is a transport layer protocol. UDP is a part of the Internet Protocol suite. Refers to UDP/IP suite. Unlike TCP, it is unreliable and does not use acknowledgement packets to confirm successful packet delivery.

Advantages of UDP

Disadvantages of UDP

Difference Between TCP and UDP

TCP vs UDP

iv. Application layer

HTTP, CoAP, Websockets, MQTT, XMPP, DDS, AMQP - Their works, Advantages, and Disadvantages we will cover in the next part of this article.

Conclusion

In this article, we have learned about Physical design of IoT, covering its two components that are Things in IoT and IoT Protocols. Readers learn about IoT devices (that can perform sensing, acuating and monitoring capabilities) and differerent types of IoT Protocols in four different layers that is the Link Layer (Ethernet, WiFi, WiMAX, LR-WPAN, and Cellular networks), the Network Layer (IPv4, IPv6, and 6LoWPAN), the Transport Layer (TCP and UDP) .

Fourth layer that is Application layer ( includes HTTP, CoAP, Websockets, MQTT, XMPP, DDS, AMQP, with their work, advantages, and disadvantages), we will cover in the next part of this article. So Stay Tuned and keep Learning!

Thank you for reading this Article!