0% found this document useful (0 votes)
22 views14 pages

Iot Summarized Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views14 pages

Iot Summarized Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

LECTURE ONE

Key IoT Concepts

 Things: Devices with sensors/actuators that interact with the environment.

 Connectivity: Technologies like Wi-Fi, Bluetooth, ZigBee, 5G, LoRaWAN.

 Data: Collected, processed, and used for decision-making.

 Cloud & Edge Computing: Where data is stored and processed—centrally (cloud) or
locally (edge).

IoT Device Characteristics

 Connectivity: Wired/wireless communication.

 Autonomy: Can act independently.

 Efficiency: Often low-power.

 Remote Access: Monitor and control from afar.

IoT Ecosystem & Architecture

 Devices: Sensors, actuators.

 Edge: Local processing (e.g., microcontrollers).

 Gateways: Bridge devices and networks.

 Cloud: Central platform for data storage and analysis.

 Layers:

o Perception (physical),

o Network,

o Edge (processing),

o Application (user interface).

Applications of IoT

 Healthcare: Wearables, smart hospitals, remote monitoring.

 Agriculture: Smart irrigation, livestock tracking, soil sensors.

 Smart Cities: Traffic, lighting, waste management.


 Manufacturing (Industry 4.0): Predictive maintenance, robotics, supply chain
optimization.

Connectivity Technology Comparison

 Bluetooth: Short range, low power.

 Wi-Fi: High speed, higher power.

 ZigBee: Low power, mesh networking.

 LoRaWAN: Long range, low power, ideal for remote sensors.

 5G: Ultra-fast, high capacity, real-time responsiveness.

Key Takeaways

 IoT connects devices for automation, data collection, and smart decision-making.

 Connectivity is essential; the right technology depends on use case.

 The IoT stack includes everything from physical sensors to cloud analytics.

 IoT is widely applicable and revolutionizing multiple industries.

LECTURE TWO

What is IoT Hardware?

IoT hardware consists of the physical components that make up an IoT system:

 Sensors: Collect data from the environment.

 Actuators: Perform actions based on processed data.

 Microcontrollers: Process data and control sensors/actuators.

These elements work together to collect, process, and respond to information from the
physical world.

Sensors in IoT

➤ What Are Sensors?

Devices that detect physical or environmental changes and convert them into electrical signals.
➤ Types of Sensors & Applications:

Sensor Type Use Case Examples

Temperature HVAC, weather stations (e.g., LM35, DHT11)

Humidity Agriculture, greenhouses (e.g., DHT22)

Pressure Altimeters, forecasting (e.g., BMP180)

Motion (PIR) Security, lighting

Gas (MQ series) Air quality, safety

Light (LDR) Smart lighting, cameras

Proximity Parking systems, robotics

Accelerometer/Gyroscope Wearables, drones (e.g., MPU6050)

➤ Sensor Characteristics:

 Sensitivity: Detects small changes.

 Accuracy: Closeness to real value.

 Range: Measurement limits.

➤ Sensor Interfacing & Calibration:

 Use GPIO, ADC, or protocols like I2C/SPI.

 Calibration ensures reliable data by adjusting output to match reference values.

➤ Applications:

 Smart Homes: Climate and lighting control.

 Industry: Vibration/pressure monitoring.

 Healthcare: Vital signs tracking.

 Agriculture: Soil/water monitoring.

 Transport: Motion and position tracking.

Actuators in IoT

➤ What Are Actuators?

Devices that convert electrical signals into physical actions (e.g., movement, rotation, sound).
➤ Types of Actuators:

Type Function

Electric (Motors) Motion control in robotics, appliances

Hydraulic High-force movement in machinery

Pneumatic Compressed air systems

Mechanical Gears, levers, jacks

Piezoelectric Tiny, precise motion (e.g., printers)

➤ Control Techniques:

 PWM, analog/digital signals

 Controlled by microcontrollers and driver circuits

➤ Challenges:

 Power needs, precision control, durability, cost

Motors as Actuators

➤ Motor Types & Applications:

Motor Type Use Cases

DC Motors Fans, small robots

Servo Motors Camera angles, smart locks

Stepper Motors CNC machines, 3D printers

Brushless DC (BLDC) Drones, electric vehicles

➤ Interfacing Motors:

 Connect through motor drivers (e.g., L298N)

 Controlled using microcontrollers and IoT platforms (e.g., MQTT)

➤ Challenges:

 Power, heat, vibration, complexity in control

Valves as Actuators
➤ What Are Valves?

Devices that control fluid (gas/liquid) flow.

➤ Types:

Valve Type Applications

Solenoid Irrigation, dispensing

Motorized HVAC, industrial systems

Pneumatic Manufacturing

Hydraulic Heavy machinery

Check/Ball Valves Water/gas control

➤ Working & Control:

 Operated via electrical signals.

 Can be on/off or proportional.

 Interfaced with microcontrollers and IoT platforms (MQTT, CoAP).

Relays in IoT

➤ What is a Relay?

An electrically operated switch allowing low-power controllers to manage high-power devices.

➤ Types of Relays:

 Electromechanical (common, audible click)

 Solid-State Relays (SSR) (silent, fast)

 Reed Relays, Time Delay, Latching

➤ Applications:

 Home: Lights, fans

 Industry: Machines

 Energy: Power control

 Agri: Irrigation pumps


➤ Challenges:

 Power use, heat, mechanical wear, noise

Microcontrollers in IoT

➤ What Are They?

Compact computing units that collect sensor data, process it, and control actuators.

➤ Common IoT Microcontrollers:

Board Key Features

Arduino Easy to learn, many libraries (Uno, Nano)

ESP32 Built-in Wi-Fi/Bluetooth, powerful for IoT

Raspberry Pi Full single-board computer (Raspberry Pi Pico too)

STM32 Industrial-grade performance

PIC Cost-effective and flexible

➤ Microcontroller Features:

 CPU, Flash memory, RAM

 GPIO, ADC, DAC, Timers

 Communication Interfaces: I2C, SPI, UART, Wi-Fi, BLE

➤ Interfacing Example:

 Connect DHT11 sensor + LED to Arduino.

 Write code to read data and control outputs.

 Use IoT platforms for remote access and automation.

Future Trends in IoT Hardware

 Energy-efficient components for longer battery life.

 Smart sensors/motors with built-in processing.

 Miniaturization for wearables.

 AI Integration for advanced data analysis and control.


LECTURE THREE

What is IoT Software?

Software that enables devices to communicate, process data, and interact with platforms.

Key Components:

 Programming for devices

 IoT platforms

 Data collection & storage

 Visualization & analytics

Programming IoT Devices

Why it's essential:

 To control sensors and actuators

 To implement logic and send/receive data

Common Languages:

 C/C++ – Used in Arduino and low-level hardware

 Python – Easy and great for processing & automation (used with Raspberry Pi, Arduino)

 JavaScript – Useful in web-based IoT

 MicroPython – Lightweight Python for microcontrollers

Arduino Programming

What is Arduino?

 An open-source hardware and software platform

 Used for building IoT prototypes, automation, and robotics

Arduino Boards:

 Arduino Uno, Nano, Mega

 ESP32 (with built-in Wi-Fi and Bluetooth)

Arduino IDE:

 A simple tool to write and upload code to Arduino boards


 Has a Serial Monitor for debugging

Program Structure:

 setup() – Runs once to initialize hardware

 loop() – Runs continuously with main logic

Basic Functions:

 Set pin modes (input/output)

 Read from digital or analog pins

 Write to pins

 Pause program with delays

Serial Communication (Arduino ↔ PC)

Purpose:

 Debugging

 Sending sensor data

 Receiving commands

Main Functions:

 Begin communication

 Send data to Serial Monitor

 Read incoming data from computer

Python + Arduino Integration

Why Use Python?

 Beginner-friendly

 Ideal for data visualization, storage, automation

 Works well with IoT protocols (e.g., MQTT)

Setup Requirements:

 Arduino IDE installed

 Python installed (version 3+)


 PySerial library to handle communication

Python-Arduino Serial Communication

Concept:

 Python reads from or writes to the Arduino via USB/serial port

 Useful for monitoring sensor data or sending control signals

Firmata + pyFirmata (Advanced Python Control)

What is Firmata?

 A protocol to control Arduino from another device (e.g., Python on a laptop)

Tools:

 Upload Firmata to Arduino

 Use pyFirmata in Python for easier control

Capabilities:

 Turn pins on/off

 Read sensor values

 Automate actions directly from Python

IoT Platforms

What are IoT Platforms?

Middleware that connects devices, manages data, and enables visualization, automation, and
analytics.

Popular Platforms:

Platform Best For Features

Node-RED Prototyping Drag-and-drop flows, MQTT/HTTP support

ThingsBoard Open-source deployments Device management, dashboards

AWS IoT Enterprise-scale systems Cloud storage, security, scalability

Data Collection & Storage


Data Collection:

 Devices send sensor data using protocols like MQTT, HTTP, CoAP

Storage Options:

 Time-series DBs: InfluxDB, TimescaleDB (for continuous data)

 NoSQL DBs: MongoDB, Cassandra

 Cloud storage: AWS S3, Google Cloud Storage

Data Visualization & Dashboards

Why it’s important:

 Real-time monitoring

 Detect trends, errors, or anomalies

Visualization Tools:

 Grafana – Interactive dashboards for time-series data

 Things Board – Built-in real-time dashboards

 AWS Quick Sight – Business intelligence for cloud data

IoT Analytics Overview

Purpose: Extract useful insights from sensor data

Types:

 Descriptive – What happened (e.g., avg. temp)

 Predictive – What could happen (e.g., failure risk)

 Prescriptive – What to do (e.g., optimize usage)

Tools:

 Python libraries: pandas, NumPy, scikit-learn

 Cloud services: AWS IoT Analytics, Google IoT Core

Smart Home Case Study

Devices Used:
 Smart thermostat, motion sensors, lighting system

Data Flow:

 Sensors → Node-RED → Things Board → Grafana

Outcome:

 Real-time control

 Energy usage optimization

 Insights from visual dashboards

Challenges in IoT Software Development

 Security: Devices can be hacked, data may leak

 Scalability: Needs to handle thousands of devices

 Interoperability: Devices and platforms must work together smoothly

Future Trends in IoT Software

 Edge Computing: Local processing instead of cloud dependency

 AI & Machine Learning: Smarter data analysis, automation

 5G Connectivity: High-speed, low-latency data transmission

LECTURE FOUR

IoT Protocols & Networking Summary

IoT Protocols (Application Layer)

MQTT (Message Queueing Telemetry Transport):

 Lightweight publish/subscribe messaging protocol

 Ideal for low bandwidth and high-latency environments

 Common in telemetry and real-time messaging in IoT

CoAP (Constrained Application Protocol):

 RESTful protocol for constrained devices

 Operates over UDP (faster, lightweight)


 Great for resource-limited environments like sensors and embedded systems

HTTP/HTTPS:

 Standard web communication protocols

 HTTPS provides security via SSL/TLS

 Good for integrating IoT with web-based applications and APIs

Communication Technologies in IoT

Wi-Fi:

 High-speed connectivity

 Suitable for devices with consistent power supply (e.g., home IoT, cameras)

BLE (Bluetooth Low Energy):

 Low-power, short-range

 Perfect for wearables, fitness trackers, medical devices

ZigBee:

 Mesh networking with low power usage

 Used in home automation, industrial control, and smart lighting

LoRa (Long Range):

 Long-distance, low-power communication

 Best for remote monitoring, agriculture, and smart cities

IoT Network Architectures

Client-Server Model:

 Devices (clients) request data or services from a central server

 Centralized control, easier to manage

 Common in cloud-based or traditional IoT systems

Publish-Subscribe Model:

 Devices publish messages to a broker/topic

 Subscribers receive relevant data without direct connection to publishers


 More scalable and asynchronous

Comparison:

 Client-server: Simpler, but less scalable

 Pub-sub: More flexible and scalable, used in real-time systems like MQTT

Securing IoT Networks

Authentication:

 Validates identity of users/devices

 Techniques: Passwords, certificates, tokens, or multi-factor authentication

Encryption:

 Protects data in transit using protocols like TLS/SSL

 End-to-end encryption prevents interception

Data Integrity:

 Ensures data hasn’t been altered

 Methods: Hashing, checksums, and digital signatures

Best Practices:

 Regular firmware updates

 Network segmentation to isolate critical systems

 Continuous monitoring and alert systems

Troubleshooting IoT Networks

Common Challenges:

 Connectivity drops, latency, packet loss

 Interference (e.g., from other wireless devices), congestion

Diagnostic Tools:

 Wireshark, network sniffers

 Log analysers, ping/traceroute utilities

 Built-in device diagnostics


Best Practices:

 Troubleshoot from physical layer (hardware) up to application

 Use redundancy and fallback protocols to avoid total failure

 Document systems and maintain configuration backups

Case Studies/Examples:

 Real-world network outages resolved by identifying interference or misconfigured


devices

 Using packet tracing to detect faulty sensors or data loss

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy