←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Diagrams

Diagrams

Visual representations for Unit 4

Physical World Interaction Pipeline

Physical World Interaction Pipeline
Physical Stimulus
Heat, Light, Force, Sound
→
Sensor (Input)
Converts physical change to electrical signal
→
Microcontroller / Cloud
Processes logic & makes decisions
→
Actuator (Output)
Converts electrical signal into physical action
Explanation
  • Sensors convert physical conditions into signals the controller can process.
  • Actuators convert a control decision back into a physical change.
Detailed Notes →Quick Revision →

Common Actuators in IoT Applications

Common Actuators in IoT Applications
1. Electromagnetic Relays
Electrically controlled switches that let a low-power 5V microcontroller safely turn ON/OFF heavy 230V AC home appliances (geysers, lights, fans).
2. DC Motors & Steppers
Continuous rotation motors used in smart robot vacuum cleaners, automatic conveyor belts, and motorized curtains.
3. Servo Motors (SG90)
Provide precise angular rotation (from 0° to 180°) for smart door locks, robot arms, and camera pan-tilt heads.
4. Solenoid Valves
Electromagnetic water valves that open or shut pipes instantly in automated farm drip irrigation systems.
Explanation
  • A motor produces movement and a valve changes the flow of a liquid or gas.
  • A relay lets a small control signal switch another electrical circuit.
Detailed Notes →Quick Revision →

Automated Sensor-to-Actuator Irrigation Loop

Automated Sensor-to-Actuator Irrigation Loop
01
Soil Probe
Measures physical soil moisture level drops below threshold
➔
02
Moisture Sensor
Converts resistance to analog voltage signal on Pin A0
➔
03
ESP32 MCU
Processes logic: triggers digital GPIO pin HIGH when moisture < 30%
➔
04
5V Relay Actuator
Closes the high-voltage 230V AC electrical contact
➔
05
Water Pump
Pumps irrigation water automatically to revive crop
Explanation
  • A moisture reading reaches the controller, which applies the watering rule.
  • The valve changes water flow and later readings reveal the effect.
Detailed Notes →Quick Revision →

UART Point-to-Point Wiring

UART Point-to-Point Wiring
Microcontroller (Device A)
TX (Transmit Pin) ───────▶
RX (Receive Pin) ◀───────
⇄
Sensor / Module (Device B)
◀─────── RX (Receive Pin)
───────▶ TX (Transmit Pin)
Explanation
  • Connect one device's transmit line to the other's receive line and share a reference ground.
  • Both ends must agree on the serial settings because there is no shared clock.
Detailed Notes →Quick Revision →

I2C Multi-Device Bus Architecture

I2C Multi-Device Bus Architecture
SDA (Serial Data Line)
Two-way data wire carried through pull-up resistors to power (3.3V or 5V).
SCL (Serial Clock Line)
Clock pulse wire driven by the master microcontroller to keep timing synchronized.
Explanation
  • Several addressed devices can share the clock and data wires.
  • The controller begins a transaction with the address of the intended device.
Detailed Notes →Quick Revision →

I2C Two-Wire Bus Architecture (Master and Slaves)

I2C Two-Wire Bus Architecture (Master and Slaves)
Master Controller (ESP32) Generates SCL clock pulses and initiates address arbitration.
Slave 1: Temp Sensor (0x48) Listens on SDA and returns temperature readings when addressed.
Slave 2: OLED Screen (0x3C) Receives pixel render buffers over shared SDA line.
Pull-Up Resistors (4.7 kΩ) Keep SDA & SCL lines tied to HIGH (+3.3V) in open-drain state.
Explanation
  • SCL carries timing and SDA carries addresses and data.
  • Acknowledgements let the sender check whether the receiver accepted a byte.
Detailed Notes →Quick Revision →

SPI 4-Wire Master-Slave Configuration

SPI 4-Wire Master-Slave Configuration
MOSI (Master Out Slave In)
Sends data from the Microcontroller to the Sensor / Display.
MISO (Master In Slave Out)
Sends data from the Sensor back to the Microcontroller.
SCK (Serial Clock)
Clock pulse line driven by the Master to time bit transfers.
SS / CS (Slave Select / Chip Select)
Dedicated pin pulled LOW by Master to wake up that specific device.
Explanation
  • SPI uses clock and data lines plus a select signal for the intended peripheral.
  • Separate input and output lines allow data to move in both directions.
Detailed Notes →Quick Revision →

Data Collection Paradigms

Data Collection Paradigms
Participatory Sensing (Active)
The user consciously decides to take action: opening an app, taking a photo of a pothole, and clicking 'Submit'.
Opportunistic Sensing (Passive)
The smartphone automatically collects sensor data in the background (e.g. step counting, GPS transit speed) without the user doing anything.
Explanation
  • Participatory sensing asks a person to choose or submit an observation.
  • Opportunistic sensing collects suitable readings with less direct involvement.
Detailed Notes →Quick Revision →

Mobile Crowdsensing Data Ingestion Pipeline

Mobile Crowdsensing Data Ingestion Pipeline
01
Citizen Devices
Smartphones gather GPS, accelerometer, noise & camera data
➔
02
Ingestion Gateway
Secure 4G/5G/Wi-Fi telemetry ingestion endpoints
➔
03
Cloud Analytics
Data scrubbing, duplicate elimination & privacy anonymization
➔
04
Public Action
Live congestion maps, air quality indices & pothole repairs
Explanation
  • Phones capture observations and attach time or location where needed.
  • A service checks, combines and analyses submissions from many contributors.
Detailed Notes →Quick Revision →

Pillars of Industry 4.0 (Smart Manufacturing)

Pillars of Industry 4.0 (Smart Manufacturing)
Predictive Maintenance
Vibration and heat sensors detect motor wear weeks before a machine breaks down, preventing sudden factory halts.
Digital Twins
A live, real-time 3D computer simulation of the entire factory floor fed by thousands of live sensor readings.
Automated Quality Inspection
High-speed smart cameras scan items moving along fast conveyor belts to catch defective pieces instantly.
Supply Chain Tracking
Tracks raw materials and finished products from warehouses to retail stores using RFID and GPS.
Explanation
  • Sensors and connected machines provide live manufacturing data.
  • Analysis and control systems use it to monitor equipment and adapt production.
Detailed Notes →Quick Revision →

CAN Bus Architecture in Automobiles

CAN Bus Architecture in Automobiles
Engine ECU
RPM, Oil temperature
⇄
CAN Bus Line (CAN_H & CAN_L)
Twisted pair wires with 120 Ω terminal resistors
⇄
ABS / Brakes ECU
Wheel speed, brake control
Explanation
  • Electronic control units share a bus and listen for relevant CAN messages.
  • Arbitration resolves simultaneous transmissions according to message priority.
Detailed Notes →Quick Revision →

V2X (Vehicle-to-Everything) Communication Modes

V2X (Vehicle-to-Everything) Communication Modes
1. V2V (Vehicle-to-Vehicle) Cars exchange speed, proximity, and emergency braking warnings peer-to-peer.
2. V2I (Vehicle-to-Infrastructure) Cars communicate with smart traffic signals, speed cameras, and FASTag toll plazas.
3. V2P (Vehicle-to-Pedestrian) Warns motorists when nearby pedestrians or cyclists cross blind road intersections.
4. V2N (Vehicle-to-Network) Connects over 4G/5G cellular networks for real-time GPS navigation and remote diagnostics.
Explanation
  • A vehicle can exchange information with vehicles, infrastructure, networks or pedestrians.
  • The recipient and purpose distinguish the different V2X modes.
Detailed Notes →Quick Revision →

Four Pillars of an RFID System

Four Pillars of an RFID System
1. RFID Tag (Transponder)
Microchip + coiled antenna stuck to the object
⇄ (RF Radio Waves)
2. RFID Reader (Interrogator)
Emits radio waves & reads the tag data
→
3. Middleware & Backend
Software that processes billing, inventory & database logs
Explanation
  • The reader communicates with the tag through an antenna.
  • Backend software maps the returned identifier to an item or event.
Detailed Notes →Quick Revision →

Tag Power Architectures

Tag Power Architectures
Passive Tags
No internal battery. Powered entirely by the radio energy received from the reader. Super cheap and lasts for decades.
Active Tags
Has an onboard battery and active transmitter. Sends signals across long distances (up to 100 meters). More expensive with limited battery life.
Semi-Passive (BAP)
Has a small battery to run internal sensors (like tracking medicine temperature in a truck), but still communicates using the reader's radio waves.
Explanation
  • A passive RFID tag draws energy from the reader's field.
  • An active tag has its own power, while a battery-assisted passive tag still depends on the reader for communication.
Detailed Notes →Quick Revision →

Standard 96-Bit EPC RFID Tag Memory Layout

Standard 96-Bit EPC RFID Tag Memory Layout
Header (8 bits) Defines the EPC encoding version and protocol standard.
EPC Manager (28 bits) Unique organization/manufacturer ID (assigned by GS1).
Object Class (24 bits) Identifies product SKU/model type (e.g., 500ml milk packet).
Serial Number (36 bits) Unique individual serial number for each physical item.
Explanation
  • The header identifies the encoding scheme and the partition helps divide the fields.
  • Company, item and serial fields together distinguish the tagged item.
Detailed Notes →Quick Revision →

WSN Mesh Routing to Base Station

WSN Mesh Routing to Base Station
Distributed Sensor Nodes
Spread across fields, forests, or factories
── Multi-hop ──▶
Cluster Head / Router
Collects, combines, and summarizes sensor data
── Radio Link ──▶
Base Station (Sink)
Internet Gateway connecting to Cloud & Dashboards
Explanation
  • A node can pass a reading through neighbouring nodes when the sink is out of direct reach.
  • The final hop delivers the reading to the base station.
Detailed Notes →Quick Revision →

Hardware Subsystems of a Sensor Node

Hardware Subsystems of a Sensor Node
1. Sensing Subsystem
Physical sensor + ADC (Analog-to-Digital Converter) to convert physical phenomena into digital numbers.
2. Processing Subsystem
Low-power microcontroller (MCU) with internal RAM and flash memory to run software and process data.
3. Transceiver Subsystem
Short-range RF radio module (such as Zigbee / IEEE 802.15.4) to transmit and receive wireless packets.
4. Power Subsystem
Small battery (AA or coin cell) or small solar panel that powers all components under strict energy limits.
Explanation
  • The sensing unit measures, the processor computes and the radio communicates.
  • All three draw on the node's limited energy supply.
Detailed Notes →Quick Revision →

Hierarchical Cluster-Based WSN Topology (LEACH Architecture)

Hierarchical Cluster-Based WSN Topology (LEACH Architecture)
Leaf Sensor Nodes (A, B, C, D, E, F) Low-power end nodes that sample physical environment data and transmit short-range.
Cluster Heads (CH 1 & CH 2) Aggregates and compresses readings from local member nodes to eliminate redundancy.
Base Station (Sink Gateway) Mains-powered central node connecting the sensor mesh to internet cloud servers.
Explanation
  • Member nodes send readings to a cluster head for aggregation.
  • Rotating the head's role shares the cost of longer transmissions.
Detailed Notes →Quick Revision →