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 ultrasonic waves and measures echo time.
-
Distance = (Speed of sound × Time) / 2.
-
-
DHT Sensor (DHT11/DHT22)
-
Measures temperature and humidity.
-
Works with digital output using an internal ADC.
-
3. Need of ADC Chip while using Analog Sensors
-
Microcontrollers like Arduino process digital signals (0 or 1).
-
Many sensors (like LDR, temperature sensors) give analog output.
-
ADC (Analog to Digital Converter) converts analog values to digital for microcontroller processing.
4. Actuators (Working)
-
Servo Motor
-
Rotates within a fixed angle (0–180°).
-
Used in robotics, antennas, RC cars.
-
-
Solenoid
-
Electromagnet coil that produces linear motion.
-
Used in door locks, valves.
-
-
Stepper Motor
-
Rotates in steps (e.g., 1.8° per step).
-
Provides precise angular movement.
-
5. Need of Relay while using Actuators
-
Relays act as electrical switches.
-
Microcontrollers cannot drive high-power devices (fans, motors, lights).
-
A relay isolates low voltage (5V) control circuit from high voltage (220V AC) appliances.
Short Questions – UNIT 2
-
Why is ADC required in IoT?
👉 To convert analog sensor signals into digital form for microcontrollers. -
Which sensor is used for detecting human presence?
👉 PIR Sensor. -
Name an actuator used for precise angular control.
👉 Stepper Motor.
MCQs – UNIT 2
-
PIR Sensor detects:
a) Light
b) Motion
c) Heat Radiation ✅
d) Sound -
ADC converts:
a) Digital to Analog
b) Analog to Digital ✅
c) Voltage to Current
d) Current to Voltage -
Relay is used for:
a) Speed control
b) High power switching ✅
c) ADC conversion
d) Voltage regulation
UNIT – 2: Things in IoT and IoT Security & Privacy
1. Explain the importance of voltage considerations in sensors used in IoT systems.
Answer:
Sensors operate within specific voltage ranges (commonly 3.3V or 5V). If supplied with incorrect voltage, sensors may provide inaccurate readings or get damaged. Voltage regulators or level shifters are used when interfacing with microcontrollers that operate at different logic levels. Proper voltage ensures sensor stability, accuracy, and durability.
2. Describe the working of a PIR motion sensor with an application.
Answer:
PIR sensors detect infrared radiation emitted by warm objects. When a human enters its range, the change in IR levels is detected, and the output pin switches HIGH. Application: Used in automatic lights and security alarms.
3. Explain the working principle of the Sharp IR distance sensor.
Answer:
This sensor emits infrared light and measures the angle of reflection using triangulation. The distance is calculated based on the angle of the reflected IR beam. Used in robots for obstacle detection.
4. Write a note on the LDR sensor. How is it useful in IoT?
Answer:
An LDR (Light Dependent Resistor) changes resistance with light intensity. In darkness, resistance is high; in bright light, resistance is low. Connected with a microcontroller, it can automatically control street lights or smart lighting systems in IoT.
5. Explain the role of the Gyroscope sensor in IoT applications.
Answer:
A Gyroscope measures angular velocity (rotation). It provides orientation data and is used in drones, mobile devices, and robots for navigation and balance.
6. Describe the working of an Ultrasonic Distance Sensor with formula.
Answer:
The sensor emits ultrasonic waves, which reflect back after hitting an object. The time taken for the echo is measured.
Formula: Distance = (Speed of sound × Time)/2.
Used in parking sensors and distance measurement devices.
7. Write a short note on DHT Sensor and its applications.
Answer:
DHT11/DHT22 measures temperature and humidity using a digital signal output. Used in weather monitoring, greenhouse monitoring, and smart homes.
8. Why do we need an ADC in IoT systems?
Answer:
Most microcontrollers work with digital signals, but many sensors provide analog signals. ADC (Analog to Digital Converter) converts analog signals into digital form so the microcontroller can process them.
9. Explain the working of a Servo Motor with an IoT example.
Answer:
A Servo motor rotates within a limited angle (0–180°). It uses a control signal to position the shaft precisely. Application: Automated curtains in smart homes.
10. Describe the working of a Solenoid actuator with IoT application.
Answer:
A solenoid converts electrical energy into linear motion using electromagnetic coils. Application: Smart door locks in IoT.
11. Explain the working of a Stepper Motor. Why is it important in IoT?
Answer:
A stepper motor rotates in small steps (like 1.8° per step). It provides precise control over rotation. Used in 3D printers, CNC machines, and robotic arms.
12. Why is a relay required while using actuators in IoT?
Answer:
Microcontrollers can’t directly control high-power devices. Relays act as switches, allowing microcontrollers to control AC appliances (like fans, lights) safely.
13. Differentiate between sensors and actuators in IoT.
Answer:
-
Sensors: Collect data (temperature, light, motion).
-
Actuators: Perform actions (switching, moving).
Both work together in IoT to sense and act.
14. Explain IoT security challenges with respect to sensors and actuators.
Answer:
-
Sensors may be hacked to send false data.
-
Actuators can be misused to perform wrong actions.
-
Data encryption, authentication, and secure protocols are required for protection.
15. Explain the working of a smart IoT device using sensors, ADC, actuators, and relays.
Answer:
Example: Smart Home Lighting System.
-
LDR sensor detects light → ADC converts analog data → Microcontroller decides action → Relay switches ON/OFF light → Actuator (motor) adjusts curtains.
Comments
Post a Comment