Download Real-World Applications and Architectures of IoT: A Comprehensive Overview and more Exams Internet and Information Access in PDF only on Docsity!
ASSIGNMENT 1 FRONT SHEET
Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 43: Internet of Things Submission date 11/10/ Date Received 1st submission
Re-submission Date Date Received 2nd submission Student Name Lê Bá Chiến Student ID GCH Class GCH1106 Assessor name Lê Anh Ngọc Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P1 P2 P3 P4 M1 M2 M3 M4 D1 D
❒ Summative Feedback: ❒ Resubmission Feedback: Grade: Assessor Signature: Date:
Nộ i dung
- I. Exploring Diverse IoT Functions and Applications(P1)......................................................................................................................................
- Defining the Internet of Things(IoT)
- How Does IoT Technology Work?
- IoT Applications Across Various Sectors
- IoT characteristics
- Some examples for real world application of IoT
- II. Overview of Standard Architectures, Frameworks, Tools, Hardware, and APIs for IoT Development(P2)
- a. Architectures
- b. Frameworks
- c. Tools
- d. Hardware
- e. API
- III. Identify an Issue and Its IoT-Based Resolution(P3-P4)
- Specific problems need to be solved with IoT.
- How can IoT applications offer a solution to this issue?
- IV. Conclusion
- V. REFERENCES
- Figure 1 Sensors and Devices
- Figure 2 Connectivity Mediums
- Figure 3 Data Processing
- Figure 4 User Interface
- Figure 5 Arduino......................................................................................................................................................................................................
- Figure 6 Electric lock
- Figure 7 A low-level trigger relay
- Figure 8 Esp32 cam
- Figure 9 Electrical cables
- Figure 10 Micro - usb cable
- Figure 11 NodeMCU Base v1.0...............................................................................................................................................................................
- Figure 12 ESP8266
- Figure 13 Loading dock esp32 cam
- Figure 14 Power source 12V 3A-5A........................................................................................................................................................................
b. Connectivity Mediums: Linking Sensors to the Cloud Infrastructure The data collected by sensors is relayed to cloud storage, necessitating a means of transmission. Connectivity mediums serve this purpose, including cellular networks, WiFi, Bluetooth, satellite networks, and others. Each medium comes with its own set of advantages and trade- offs, making it crucial to select the appropriate one based on specific needs and constraints. Figure 2 Connectivity Mediums
c. Data Processing: Analyzing Collected Data in the Cloud Once the data arrives in the cloud, it undergoes analysis, which can range from straightforward to highly complex depending on the nature of the data collected. This process involves tasks such as checking if temperature readings fall within acceptable ranges or, in more intricate cases, recognizing objects in video footage. d. User Interface: Interacting with IoT Data for Informed Decision-Making The final component is the user interface, which serves as the bridge between the processed data and end-users. Typically, this interface is accessible via a web browser or as a mobile application. It presents the collected data, along with options for users to make informed decisions or adjustments based on the insights provided. For instance, if the interface detects that the AC temperature is too high, users can use the app to set a more comfortable temperature. Figure 3 Data Processing Figure 4 User Interface
IoT applications in retail revolutionize the shopping experience. IoT apps streamline the checkout process by reading product tags and deducting payment amounts directly from customers' mobile payment apps, reducing the need for long queues. i. Smart Supply Chain: Smart supply chain solutions automate shipping and delivery processes while providing real-time status and network details, enhancing efficiency and transparency. j. Smart Farming: IoT technology empowers farmers to reduce waste and improve productivity by monitoring crop fields through sensors, enabling remote field condition monitoring from anywhere.
- IoT characteristics a. Connectivity: One of IoT's foundational characteristics is its requirement for continuous connectivity. IoT devices must remain connected to the IoT infrastructure, ensuring that users can access them anytime and anywhere. This includes connections between internet-enabled devices like sensors and routers and connections between individuals through devices like smartphones. b. Interoperable Communication Protocols: Seamless and interoperable communication is a critical feature of IoT. As IoT devices become more interconnected, communication between them needs to be efficient and smooth. This characteristic ensures that devices can communicate effectively, often leveraging cloud services for seamless data exchange. c. Identity of Things: Each IoT device possesses a unique identity, much like how smartphones have IMEI numbers. This unique identification facilitates the recognition of both devices and individuals in the IoT ecosystem, making it a crucial characteristic of IoT. d. Scalability:
Scalability is vital in IoT system design. It refers to a system's ability to expand without compromising its performance. This feature allows businesses to harness IoT's power by tailoring it to their needs, such as tracking room usage in hotels or sending targeted messages in SMEs. e. Dynamic or Self-Adapting: IoT devices must be dynamic and self-adapting to accommodate modifications and upgrades. For instance, cameras have evolved beyond taking pictures to include features like adjusting settings based on lighting conditions, exemplifying this adaptive characteristic. f. Architecture: Architecture plays a pivotal role in IoT and is characterized by its capacity to accommodate diverse devices, protocols, and technologies. It ensures devices cooperate and communicate effectively while preventing cross- interference. g. Safety: IoT's importance is underscored by its safety considerations. As all user devices are interconnected, safeguarding confidential information becomes paramount. Data security and equipment safety are vital components of this characteristic. h. Intelligence: IoT devices possess intelligence, which is augmented by basic interactions at the object level. Data acquired from various sources must be transformed into information that devices can utilize. Continuous data gathering enhances and sustains this intelligence. i. Embedded Sensors and Actuators: A unique characteristic of IoT is its reliance on embedded sensors and actuators to detect and quantify environmental changes. These sensors generate data to report on environmental conditions and enable interactions with the physical world. j. Data: IoT's data-centric nature is a valuable feature for future predictions and optimization. It allows for the collection and analysis of data from various devices, enhancing our understanding of daily activities and enabling improvements in various aspects of life.
- Some examples for real world application of IoT
II. Overview of Standard Architectures, Frameworks, Tools, Hardware, and APIs for IoT Development(P2) a. Architectures ➢ IoT technology finds applications across various domains, and its rapid growth is evident. Although there isn't a universally standardized architecture for IoT, its structure depends on its intended functionality and implementation in different sectors. Nevertheless, there exists a fundamental process flow upon which IoT is built, consisting of four distinct layers:
- Sensing Layer: The initial layer of IoT architecture is the sensing layer, responsible for gathering data from diverse sources. This layer comprises sensors and actuators strategically placed in the environment to collect information on parameters like temperature, humidity, light, sound, and more. These devices establish connections with the network layer using wired or wireless communication protocols.
- Network Layer: The network layer serves as the communication backbone of the IoT ecosystem, facilitating connectivity between devices. It encompasses various protocols and technologies that enable seamless device-to-device and device-to-internet communication. Commonly used network technologies in IoT include WiFi, Bluetooth, Zigbee, and cellular networks like 4G and 5G. Additionally, the network layer may incorporate gateways, routers, and security features like encryption and authentication to safeguard against unauthorized access.
- Data Processing Layer: Within IoT architecture, the data processing layer plays a pivotal role in handling data from IoT devices. It encompasses both software and hardware components responsible for collecting, analyzing, and interpreting raw data. This layer receives data from devices, processes it, and makes it available for further analysis or action. Technologies within the data processing layer include data management systems, analytics platforms, and machine learning algorithms, which extract valuable insights from the data and support data-driven decision-making. One notable example is a data lake, serving as a centralized repository for storing raw IoT data.
- Application Layer: The topmost layer in IoT architecture, the application layer, directly interfaces with end- users. It offers user-friendly interfaces and functionalities, enabling users to access and control IoT devices effortlessly. This layer includes diverse software and applications like mobile apps, web portals, and user interfaces designed for interaction with the underlying IoT infrastructure. Middleware services facilitate seamless communication and data sharing among different IoT devices and systems. Furthermore, the application layer encompasses analytics and processing capabilities, allowing data to be analyzed and
transformed into actionable insights. This may involve the use of machine learning algorithms, data visualization tools, and advanced analytics capabilities. b. Frameworks
- The Internet of Things (IoT) is a network of connected devices that transfer and sense data over the internet with minimal human intervention. To enable this, various IoT frameworks provide the necessary capabilities, including cloud support, to satisfy IoT technology requirements. Some common IoT frameworks include KAA IoT, Cisco IoT Cloud Connect, ZETTA IoT, SAP IoT, IBM Watson, and Hewlett Packard Enterprise.
- IoT is a crucial component within a broader IoT ecosystem that interconnects and integrates all its elements. This ecosystem encompasses device management, software and hardware communication protocols, data collection and analysis, and the enhancement of information flow and intelligent application functionality.
- Let's provide a brief overview of the mentioned IoT frameworks:
- Cisco IoT Cloud Connect: Cisco's IoT Cloud Connect offers robust, automated, and highly secure connectivity solutions for enterprises. The Cisco Kinetic IoT platform effectively manages IoT data, including extraction, transfer, and computation. Cisco's reputation for security services ensures that IoT deployments are protected against threats through a secure IoT architecture.
- ZETTA IoT: Zetta IoT is a server-oriented platform built on REST, Node.js, and the Siren hypermedia- API-strip flow-based reactive programming philosophy. It abstracts functionalities into REST APIs, connecting them with cloud services. Zetta IoT supports machine analytics visualization and integrates with tools like Splunk. It creates a geographically distributed network, connecting systems such as Heroku to endpoints like Arduino and Linux hackers.
- IBM Watson – IoT Framework: IBM Watson is a well-known player in the IoT field. The Bluemix hybrid cloud-supported Watson IoT platform is popular among IoT developers. It simplifies IoT application development, manages secure communication, handles data storage, and supports real- time data exchange, making it a preferred choice for IoT platform development. c. Tools
- IoT Tools, short for Internet of Things Tools, refers to a network or system that connects devices, vehicles, equipment, and even household appliances and buildings through embedded electronics. This network facilitates the collection and exchange of various types of data, enabling users to remotely control these connected devices over a network.
- Energy Modules: Energy modules are responsible for powering the sensor. This can involve batteries, energy harvesting techniques, or other power sources.
- Power Management Modules: These modules regulate and manage the power supply to ensure efficient sensor operation while conserving energy.
- RF Modules: RF modules are critical for wireless communication within the IoT network. They handle signal processing and support various communication protocols such as WiFi, ZigBee, Bluetooth, and others.
- Sensing Modules: Sensing modules are responsible for capturing data from the environment. They include various types of sensors like temperature sensors, motion detectors, humidity sensors, and more. e. API
- API, which stands for Application Programming Interface, serves as a fundamental tool for software developers. It facilitates the collection and transmission of data between different applications or computer systems. In simpler terms, APIs empower developers to interact programmatically with software components, both those within their own code and those external to it.
- In the context of IoT (Internet of Things), APIs play a pivotal role in gathering and transmitting data between connected devices and applications or computers. They also enable developers to send instructions to connected devices, directing them to perform specific actions. Given that connected devices in IoT can be extensively across the globe, APIs serve as the bridge that allows remote access to these devices and transforms their data into meaningful and actionable information. III. Identify an Issue and Its IoT-Based Resolution(P3-P4)
- Specific problems need to be solved with IoT.
- The use of smart locks to alert homeowners about unauthorized entries is a popular and convenient trend for protecting one's property. This modern approach offers a high level of convenience and security for homeowners, allowing them to monitor and control access to their homes remotely.
- Our team is considering a facial recognition-based solution to enhance this security further. This system will be capable of identifying individuals attempting to enter a home, and in the case of unfamiliar faces, it will notify the homeowner. Furthermore, the system can automatically unlock the door for homeowners when they return, combining security and convenience in one intelligent package.
- How can IoT applications offer a solution to this issue? a. Architecture Arduino board: We use the ESP8266 or ESP32 board (optional) as the heart of the system. This is a Wi-Fi integrated board, allowing connection to networks and other IoT devices. Arduino IDE: We use the Arduino IDE programming environment to write code. The code is written in the C++ programming language and uses a specific Arduino library. Camera and Face Detection: On the ESP32-CAM board, we use the built-in camera to capture images. The code processes the image and uses a facial recognition algorithm to identify the face. Email Notification: We use the onboard Wi-Fi module to connect to the network and send notification emails. The ESP_Mail_Client library is used to implement email sending functionality. Relay Module: When a valid face is detected, we use the relay module to control another device (e.g. automatic door). b. Tool ➢ Arduino
- The Arduino Integrated Development Environment (IDE) is a versatile text editor that serves as the cornerstone for creating Arduino programs. It provides a robust platform for coding and uploading your sketches to Arduino
Figure 5 Arduino
b. Hardware
- Electric lock We utilize an electric lock integrated with a relay and a facial recognition system. The lock will disengage when it identifies a recognized face, and remain locked if it does not recognize the face. Figure 6 Electric lock