Internet of Things (Iot)
Internet of Things (Iot)
Abdullah Wasi
IoT Masterclass Assignment 1
TASK 01:Conduct a Market Survey: Your task here is to identify components commonly used
in IoT devices. This will involve researching and gathering datasheets for these components to
understand their specifications and capabilities.
IoT devices are composed of various components that work together to collect, process, and transmit
data. Here is how IoT work and some of the main components of Internet of Things (IoT) are:
Sensors are devices that detect and respond to some type of input from the physical environment. A
sensor converts a physical phenomenon into a measurable analog voltage (or sometimes a digital
signal) converted into a human-readable display or transmitted for reading or further processing. The
five types of sensors commonly used in control systems are temperature sensors, pressure sensors,
level sensors, flow sensors, and proximity sensors.
Example:
- Ultrasonic sensor
- Touch Sensor
-
Actuators are mechanical or electromechanical devices that convert energy into motion in the
Internet of Things (IoT).They can be separated into four main categories based on their construction
pattern and the role they play in a specific IoT environment:
● Linear actuators – these are used to enable motion of objects or elements in a straight line.
● Motors – they enable precise rotational movements of device components or whole objects.
● Relays – this category includes electromagnet-based actuators to operate power switches in
lamps, heaters or even smart vehicles.
● Solenoids – most widely used in home appliances as part of locking or triggering
mechanisms, they also act as controllers in IoT-based gas and water leak monitoring systems.
2. Connectivity:
IoT connectivity is the means by which an IoT device, which can be anything from a simple sensor
in a factory to a self-driving vehicle and encompasses applications from streetlights to robots,
connects to the cloud, other devices and integration points such as IoT gateways.The type of
connection used depends on the device's needs, such as range, power consumption, and bandwidth.
Here are some common IoT connectivity technologies:
Wi-Fi: A popular choice that accounts for 31% of all IoT connections
Bluetooth: A short-range wireless technology that accounts for 27% of all IoT connections
Cellular networks: Includes LTE, 2G, GSM, and GPRS
Zigbee: A wireless communication standard
LoRaWAN: A Low-Power Wide Area Network that's good for long-range with low battery drain
LTE-M: A 4G cellular protocol that's designed to be battery-friendly
LoRa: A long-range connectivity technology that's cost-effective for most IoT projects
3.IoT Cloud:
An IoT cloud is a massive network that supports IoT devices and applications. This includes the
underlying infrastructure, servers and storage, needed for real-time operations and processing. An IoT
cloud also includes the services and standards necessary for connecting, managing, and securing
different IoT devices and applications.For example, an IoT device system like Google Nest or Alexa
can collect data on the energy usage of the house. Then, this system uses cloud computing to analyse
the gathered data and make recommendations to the homeowner on how to reduce energy
consumption.
4. IoT Gateway:
An Internet of Things (IoT) gateway is a physical device or virtual platform that connects IoT
devices, sensors, and smart devices to the cloud. IoT gateways perform many functions, including:
Data collection: IoT gateways gather data from connected devices and sensors.
Data processing: IoT gateways pre-process data and filter out unnecessary information.
Secure communication: IoT gateways use security measures like data encryption and device
authentication to send data to and from the cloud.
Device management: IoT gateways can manage the lifecycle of IoT devices, including firmware
updates, provisioning, and health monitoring.
Microcontrollers The "brain" of the IoT device, responsible for Arduino, Raspberry Pi, ESP32,
executing instructions and controlling other ESP8266
components.
Sensors Collect data from the physical environment Temperature sensors, light
sensors, motion sensors,
Actuators Control physical devices or systems based on Motors, relays, LEDs, servos
sensor data or other inputs.
Wireless Enable wireless communication with other Wi-Fi modules, Bluetooth
Communication devices or networks. modules, cellular modules,
Modules Zigbee modules
TASK 02: Develop Ideas for IoT Devices: Once you have identified components, it's time to get
creative! Brainstorm ideas for IoT devices using the components you've researched. Think
about how these components can be combined to create innovative solutions to real-world
problems.
1.Robotic Arm
Overview: A robotic arm controlled remotely through an IoT device, enabling precise and versatile
automation tasks. It can revolutionise various industries by automating tasks, improving precision,
and enhancing safety.
Components:
Functionality:
● Remote Control: Users can control the arm's movements using a smartphone app or web
interface.
● Pre-programmed Movements: Store and execute specific movement sequences.
● Sensor Integration: Incorporate sensors like cameras or distance sensors for object detection
and manipulation.
● Voice Control: Enable voice commands to control the arm's actions.
Overview: Considering we have cases of gas cylinder explosion in Pakistan, we can implement
the idea of a gas leakage detector to avoid such incidents. A gas leakage detector that monitors the air
quality for hazardous gas levels and alerts users in case of a leak.
Components:
● Microcontroller: Arduino or Raspberry Pi
● Gas Sensor: MQ-2 or similar gas sensor
● Wireless Module: Wi-Fi or Bluetooth
● Buzzer or Siren: To provide audible alerts
● LED Indicator: To visually indicate gas leakage
● Power Source: Battery or external power supply
●
Functionality:
● Continuous Monitoring: The sensor continuously monitors the air for gas concentration.
● Alert System: When the gas concentration exceeds a predefined threshold, the device triggers
an alarm.
● Remote Monitoring: Users can receive alerts on their smartphones or other devices via a
mobile app or SMS.
● Data Logging: The device can log data on gas concentration and time, which can be analysed
to identify patterns and trends.
Overview:
A comprehensive security system that utilises IoT technology
to monitor and protect homes and businesses.
Components:
Functionality:
● Real-time Monitoring: Monitor your property remotely through a smartphone app or web
interface.
● Motion Detection: Trigger alerts when motion is detected in specific areas.
● Environmental Monitoring: Monitor temperature, humidity, and smoke levels to prevent
damage and accidents.
● Video Surveillance: Record and store video footage of incidents.
● Smart Home Integration: Integrate with other smart home devices to create a unified security
system.
TASK 03:Study IoT Applications and Case Studies: Research various IoT applications and
summarise case studies to gain insights into real-world implementations. This will help you
understand the practical use cases of IoT technology across different industries.
The Internet of Things (IoT) has transformed various industries by enabling devices to communicate
and share data. Below is a summary of key IoT applications along with case studies that illustrate their
real-world implementations.
1. Smart Agriculture
Application: IoT in agriculture involves the use of sensors and devices to monitor soil moisture,
weather conditions, and crop health.
Case Study: Precision Agriculture by John Deere
● Overview: John Deere uses IoT technology to enhance farming efficiency. Their equipment is
equipped with sensors that collect data on soil conditions and crop health.
● Outcome: Farmers can optimise irrigation and fertilisation, leading to increased crop yields
and reduced waste. The data-driven approach has resulted in a 10% increase in productivity
for many farmers.
2. Smart Cities
Application: IoT applications in smart cities include traffic management, waste management, and
energy efficiency.
● Overview: Barcelona implemented IoT solutions to manage urban services effectively. Smart
sensors monitor traffic flow, and waste bins are equipped with sensors that signal when they
need to be emptied.
● Outcome: The initiative reduced traffic congestion by 20% and improved waste collection
efficiency, resulting in cost savings and enhanced quality of life for residents.
3. Healthcare
Application: IoT devices in healthcare monitor patients' vital signs and manage chronic diseases.
● Overview: Philips developed a remote patient monitoring system that allows healthcare
providers to track patients' health metrics in real-time using wearable devices.
● Outcome: This system improved patient engagement and reduced hospital readmission rates
by 30%, allowing for proactive healthcare management.
5. Smart Home
Application: Smart home devices include smart thermostats, security systems, and appliances that
enhance convenience and energy efficiency.
● Overview: Nest's smart thermostat learns users' habits and adjusts heating and cooling
accordingly, optimising energy usage.
● Outcome: Users report an average energy savings of 10-12% on heating and 15% on cooling,
leading to significant cost savings on utility bills.
● Overview: Maersk uses IoT sensors in shipping containers to monitor temperature, humidity,
and location in real-time.
● Outcome: This technology has reduced spoilage of perishable goods and improved delivery
times, enhancing overall supply chain efficiency.
7. Energy Management
Application: IoT devices help monitor and manage energy consumption in buildings and industrial
facilities.
● Overview: Schneider Electric developed the EcoStruxure platform, which uses IoT to
optimise energy use in buildings.
● Outcome: Implementations have led to energy savings of up to 30%, demonstrating the
effectiveness of IoT in energy management.
8. Automotive
Application: IoT in the automotive industry includes connected vehicles that provide real-time data
to improve safety and navigation.
Case Study: Tesla’s Autopilot
● Overview: Tesla vehicles are equipped with IoT sensors that enable features like adaptive
cruise control and lane-keeping assistance.
● Outcome: This technology has improved driving safety and efficiency, paving the way for
advancements in autonomous driving.
TASK 04:Investigate IoT Protocols: Explore different communication protocols used in IoT
systems and compare their features, advantages, and disadvantages. Understanding IoT
protocols is crucial for designing efficient and reliable IoT solutions.
Poor vulnerability testing: Many IoT devices are developed with a focus on functionality instead of
security. So vulnerability testing—critical for identifying weaknesses before deployment—is often
neglected or poorly executed.
Unpatched vulnerabilities: Too many IoT devices run unpatched vulnerabilities due to a lack of
available updates or the complexity of applying patches. IoT devices often remain used for extended
periods, with no updates being applied or available.
Default passwords and weak authentication: Like the example above, a standard (yet dangerous)
practice is for IoT devices to ship with default passwords, which users frequently neglect to change.
Even if passwords are updated, they are often weak and easily compromised..
Legacy assets: Many industries rely on legacy IoT devices designed and deployed years ago. These
older devices often lack the security features of more modern technology, and organisations are
reluctant to move on from them due to the cost and complexity of upgrading or replacing them.
Data privacy concerns: The sheer volume of data generated by IoT devices raises significant privacy
issues: without proper safeguards, sensitive data can be exposed, leading to breaches and misuse.
Complex Environments: IoT ecosystems often operate within complex environments where multiple
devices, platforms, and protocols interact, creating complexity that can open security gaps if not
adequately managed.
Overwhelming data volume: The massive amount of data generated by IoT devices can overwhelm
traditional data management systems, making it difficult to ensure data integrity and security.
APIs as entry points for attacks: APIs used in IoT environments are often targeted for attacks such
as SQL injection, distributed denial of service (DDoS), and MITM attacks.
Data Encryption:
Encrypt data both at rest and in transit. Use secure communication protocols (e.g., TLS) to protect
data exchanged between devices and servers.
Network Segmentation:
Segment IoT devices from the main network to limit the potential impact of a breach. Use firewalls
and Virtual Local Area Networks (VLANs) to control traffic between segments.
Security by Design:
Integrate security into the design and development phases of IoT devices. Conduct threat modelling
and risk assessments to identify potential vulnerabilities early.
TASK 06: Explore IoT Engineer Roles: Research the roles and responsibilities of IoT engineers,
and list tasks such as data analysis, system integration, and device management. This will give
you insights into the diverse skill set required to work in the field of IoT.
The Internet of Things (IoT) is a rapidly evolving field that combines hardware, software,
networking, and data analytics. As a result, IoT engineers play a crucial role in developing,
deploying, and maintaining IoT systems.
● Technical Skills:
● Proficiency in programming languages (e.g., Python, C/C++, Java).
● Knowledge of IoT protocols (e.g., MQTT, CoAP, HTTP).
● Familiarity with cloud platforms (e.g., AWS, Azure, Google Cloud) and data storage
solutions (e.g., databases, data lakes).
● Understanding of hardware components and embedded systems.
● Networking Skills:
● Knowledge of networking concepts and technologies, including TCP/IP, LAN/WAN,
and wireless communication protocols (e.g., Zigbee, LoRaWAN, Bluetooth).
● Data Analysis Skills:
● Proficiency in data analysis tools and techniques, including statistical analysis and
machine learning.
● Experience with data visualisation tools (e.g., Tableau, Power BI) and programming
libraries (e.g., Pandas, NumPy).