Skip to content
EC-705 · IOT LAB/Important Questions

IOT LAB (EC-705) - Important Questions

  1. Unit 414 Marks Medium Priority Asked: 2019, 2020, 2021

    Interface a DHT22 temperature and humidity sensor to a Raspberry Pi and write a Python program to read sensor values periodically and publish them to an MQTT broker. Provide the complete code flow, explain the MQTT topic hierarchy you would use, and justify the choice of QoS level for this application. Also describe how you would test and demonstrate the system end-to-end.

    Practical interfacing and IoT data flow task frequently asked in lab exams; adapts the common ESP32-MQTT pattern to Raspberry Pi.

  2. Unit 410 Marks Medium Priority Asked: 2020, 2023

    Create a dashboard on a cloud service (e.g., ThingSpeak or AWS IoT) and demonstrate sending sensor data from a Raspberry Pi to this dashboard. Include the steps for authentication, sample HTTP or REST API calls with headers/body, and describe how you would handle intermittent connectivity and data buffering on the Pi.

    Cloud integration and API usage for Raspberry Pi based data logging — repeated theme in past papers (ThingSpeak/AWS).

  3. Unit 414 Marks High Priority Asked: 2020, 2021, 2022

    Explain the Embedded Linux boot sequence on a Raspberry Pi from power-up to a running userland. Describe the roles of the bootloader, kernel, init system and root filesystem. Explain how kernel modules are loaded and how you would enable and access hardware interfaces such as I2C, SPI and GPIO from user space on the Raspberry Pi. Include practical commands and configuration file locations.

    Core Embedded Linux / Raspberry Pi practical knowledge — high frequency topic covering boot, kernel modules and peripheral enablement.

  4. Unit 410 Marks Medium Priority Asked: 2018, 2020

    Using a logic analyzer, capture SPI communication between a Raspberry Pi and an external ADC. Explain how to identify clock, MOSI, MISO and CS lines, and demonstrate decoding of a captured frame to extract ADC sample bytes. Describe common errors you would look for and how you would correct timing or wiring issues.

    Debugging with logic analyser is a repeated practical requirement; decoding SPI/I2C transactions is a standard exam task.

  5. Unit 47 Marks Medium Priority Asked: 2018, 2020

    You measure a PWM signal from a Raspberry Pi HAT on an oscilloscope. From the trace you determine the high time $T_{on}$ and the total period $T_{total}$. Define the duty cycle and show how to compute it. If $T_{on}=2.5\,\text{ms}$ and $T_{total}=10\,\text{ms}$, compute the duty cycle and average voltage if the signal high level is $3.3\,\text{V}$. State the formulas you use.

    Oscilloscope measurements for PWM signals are common in lab exams; includes basic calculation and interpretation.

  6. Unit 47 Marks Medium Priority Asked: 2018, 2020

    For a $12$-bit ADC with reference voltage $V_{ref}=3.3\,\text{V}$, calculate the Least Significant Bit (LSB) voltage and the digital code corresponding to an analog input of $1.65\,\text{V}$. Explain the main sources of ADC error and how they would appear in measurements.

    ADC quantization and error computation is a recurring measurement question; often combined with oscilloscope/logic measurement tasks.

  7. Unit 410 Marks Medium Priority Asked: 2020, 2023

    Implement a lightweight HTTP server on a Raspberry Pi to serve real-time sensor readings. Outline the architecture, provide the main functions of the server program (in pseudocode or Python flow), and explain how you would secure the endpoint using basic authentication or tokens. Describe a test plan to verify functionality.

    Implementing network services on Raspberry Pi (HTTP server) and securing them is a practical lab requirement aligned with cloud/dashboard tasks.

  8. Unit 414 Marks Medium Priority Asked: 2019, 2021, 2022

    Design and implement PWM speed control of a DC motor using a Raspberry Pi and an external H-bridge driver. Draw the circuit diagram, specify required protection (flyback diodes, snubbers), derive timing requirements for PWM frequency choice, and provide a test plan showing how you will measure speed versus duty cycle and verify safe operation.

    PWM motor control integrated with Raspberry Pi and an external H-bridge is a common practical; includes circuit, timing calculations and test validation.

  9. Unit 47 Marks Medium Priority Asked: 2021, 2022

    A battery powered sensor node wakes, measures, transmits data to a Raspberry Pi gateway, then sleeps. Given active current $I_{active}$, sleep current $I_{sleep}$, active time $t_{active}$, sleep time $t_{sleep}$ and battery capacity $C$, derive the formula for average current and estimate battery life. Provide a numerical example with $I_{active}=40\,\text{mA}$, $t_{active}=2\,\text{s}$, $I_{sleep}=20\,\mu\text{A}$, $t_{sleep}=598\,\text{s}$ and $C=2000\,\text{mAh}$.

    Battery life estimation for sensor nodes that interface with Raspberry Pi for data aggregation; useful for design & measurement evaluation.

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in