Session 3: Communication Technologies Flashcards
What are the Internet Connectivity Options available on Arduino?
1-LAN: connect it with a cable using its Ethernet shield or the Wi-Fi shield
2-New Ship: Add a Wi-Fi chip mounted on a breakout board, and then connect this shield to Arduino
3-Using a Connected Board: buy an Arduino that already has built-in Wi-Fi support
What does serial.begin(9600) mean?
it works as the starting point for serial communication. The value 9600 is called the ‘baud rate’. This is how fast the data will be sent
What are the 2 main types of IoT protocols?
1-Network Protocols
2-Data Ptotocols
What is the job of Network Ptotocols?
-connect devices over the network
-end-to-end data communication only allowed within the scope of the network
-HTTP (HyperText Transfer Protocol)
-LoRaWan (Loni Ranie Wide Area Network)
What is the meaning of LoRaWan protocol?
Long-range low power protocol
connects battery-operated devices wirelessly to the Internet in either private or global networks
What is the job of Data Ptotocols?
-Used to connect low-power IoT devices
-Allows point-to-point communication with the hardware at the user side without any
Internet connection
-Messaie Queue Telemetry Transport (MQTT)
-Constrained Application Protocol (CoAP)
What is the meaning of CoAP protocol? Why do we use it?
Constrained Application Protocol
is a specialized web transfer protocol for use with constrained nodes and networks in IoT. CoAP is designed to enable simple and constrained devices to join the IoT even through constrained and low-power, lossy networks. It is generally used for machine-to-machine (M2M) applications such as smart energy and building automation
The HTTP protocol is known as the most common controller of? and when do we use it in terms of IoT?
it controls the data communication over the web. We often use it when there are a lot of data to be published
The 2 main methodas that supported by HTTP are?
1-GET requests are read only, they are used to read the data, retrieve it, and
return that to the client
2-POST requests are used to create or add a new item to the requested URL
In terms of IoT what is the different between GET and POST?
GET has a limit on how much data it can transmit. While POST has no such limitations and is also safer
What is the model of CoPA?
Request/Response Model
Which basically asks the user for request and then send it to the server to finally make a response
What is MQTT and what is it for?
MQTT is a messaging standard making publisher-to-subscriber machine-to-machine (M2M) communication possible. With MQTT, end-users devices and programs don’t communicate with the server straightforwardly. Instead, they have to subscribe for broker-published content assistance.
What is the model of MQTT?
-Publisher: publishes data to a broker notifying all subscribers using topics
-Subscribers: receive the data
Note: publishers and subscribers could be sensors, machines, and mobile apps