Posts

Showing posts from October, 2025

UNIT – 5: Application of IoT

  UNIT – 5: Application of IoT 1. Smart Home Automation Devices: Sensors (temperature, motion), Actuators (lights, fans). Central controller (like Arduino/Raspberry Pi). Applications: Lighting control, Smart locks, Security cameras. 2. Agricultural System Soil moisture sensors, DHT sensors, Water pumps. Automatic irrigation based on soil moisture. Improves crop yield & saves water. 3. Smart Parking Ultrasonic sensors detect vehicle presence. Central system updates availability in real-time. Mobile app displays parking status. Short Questions – UNIT 5 Which IoT application uses soil moisture sensors? 👉 Smart Agriculture. What is the role of ultrasonic sensor in smart parking? 👉 To detect car presence. MCQs – UNIT 5 In smart home automation, which device is mainly used for switching appliances? a) Relay ✅ b) Sensor c) Stepper Motor d) Transistor Smart agriculture improves: a) Internet speed b) Crop yield ✅ c) Car ...

UNIT – 4: IoT Protocols

  UNIT – 4: IoT Protocols 1. Messaging Protocols MQTT (Message Queuing Telemetry Transport) : lightweight, uses publish/subscribe model. CoAP (Constrained Application Protocol) : REST-like, designed for low-power devices. XMPP (Extensible Messaging and Presence Protocol) : originally for instant messaging, also supports IoT. 2. Transport Protocols BLE (Bluetooth Low Energy): short range, low power, used in wearables, health devices. Li-Fi (Light Fidelity): data transmission using LED light modulation. 3. Sensor Network Topologies Point-to-Point: direct connection between 2 nodes. Star: central hub with multiple nodes. Ring: each node connected in a circular path. Mesh: every node connected to multiple nodes (high reliability). Short Questions – UNIT 4 Which IoT protocol uses publish/subscribe? 👉 MQTT What does BLE stand for? 👉 Bluetooth Low Energy Which topology provides maximum reliability? 👉 Mesh MCQs – UNIT 4 MQ...

UNIT – 3: Programming with Arduino Uno

  UNIT – 3: Programming with Arduino Uno 1. Arduino UNO Board Block Diagram Key components: ATmega328P Microcontroller Power Supply (USB/adapter) Digital I/O Pins (0–13) Analog Input Pins (A0–A5) Reset button USB port (programming) 2. Sketch Structure // Structure of Arduino Program void setup () { // initialization code, runs once } void loop () { // main code, runs continuously } 3. Data Types & Built-in Constants int, float, char, boolean Constants: HIGH, LOW, INPUT, OUTPUT, true, false 4. Operators Arithmetic (+, -, *, /, %) Comparison (==, !=, >, <, >=, <=) Logical/Boolean (&&, ||, !) Bitwise (&, |, ^, ~, <<, >>) Compound (+=, -=, *=, /=) 5. Control Statements and Loops if, else if, else for loop, while loop, do-while loop switch-case 6. Functions User Defined : custom functions created by programmer. Library Functions : I/O Functions : dig...

UNIT – 2 : Things in IoT and IoT Security & Privacy

  UNIT – 2: Things in IoT and IoT Security & Privacy 1. Voltage Considerations for Sensors Sensors operate at specific voltage levels, generally 3.3V or 5V in Arduino and microcontroller systems. Supplying incorrect voltage can damage sensors or provide inaccurate data. Voltage regulators or level shifters are often required when interfacing sensors with microcontrollers. 2. Sensors (Working) PIR Motion Sensor Detects infrared radiation emitted by warm objects (like humans/animals). Works on the principle of change in IR levels in its range. Sharp IR Distance Sensor Uses infrared beam reflection to measure distance. Works based on triangulation of reflected light . LDR (Light Dependent Resistor) Resistance decreases as light intensity increases. Used in street lights, light meters . Gyro Sensor Measures angular velocity (rotation) . Used in robotics, drones, mobile phones . Ultrasonic Distance Sensor Sends ultra...