ECE140:WORKSHOP ON IOT FOR DIGITAL SOCIETY
L:1 T:0 P:3 Credits:3
Course Outcomes: Through this course students should be able to
CO1 :: observe the various communication protocols supported by Raspberry Pi
CO2 :: examine the given logic into Python code and apply to design the problems using
Raspberry Pi
CO3 :: use the advantages of Python coding over other programming languages
CO4 :: apply the usage of Thingspeak IoT server and its programming with Raspberry Pi
CO5 :: construct the raspberry pi based system for real time problems
CO6 :: design the IOT based devices which is useful for digital society
Unit I
Introduction to Python Programming : basic syntax, variable and data types, operators in python
programming, for loop, while loop, if-then-else and conditional operation
Unit II
Functions in Python Programming : global and local variables, defining a function, calling a
function, types of functions, function arguments, anonymous functions
Setting up the Raspberry Pi : downloading the image, setting up of os, updating raspberry pi os
Unit III
GPIO Handling of Raspberry Pi : pin configuration of raspberry pi, led blinking with raspberry pi,
pwm generation with raspberry pi, interfacing of seven segment with raspberry pi, interfacing of servo
motor with raspberry pi, switch interfacing with raspberry pi
Unit IV
Sensor interfacing with Raspberry Pi : ultrasonic sensor, IR sensor, PIR sensor, analog sensor,
DHT sensor, MQ135 gas sensor
Unit V
Raspberry Pi Camera interfacing : setting up raspberry pi camera, controlling the camera using
command line, controlling the camera using python code, record video with python code, capturing to
a file, capturing to a stream, resized images
Unit VI
Serial Bus Programming of Raspberry Pi : UART, SPI, I2C, finding I2C address, I2C lcd
interfacing
Uploading Sensor data on Cloud : uploading the sensor data on thingspeak IOT cloud using
raspberry pi, discussion on raspberry pi project topics useful for digital society, futuristic technologies
in digital society, digital Identity systems, smart cities, human-machine collaboration
List of Practicals / Experiments:
List of Practicals
• led and pwm generation with raspberry pi
• push button(switch) interfacing with raspberry pi
• IR and PIR sensor interfacing with raspberry pi
• ultrasonic sensor and MQ135 gas sensor interfacing with raspberry pi
• analog sensor interfacing with raspberry pi
• camera interfacing with raspberry pi
• upload sensor data on the thingspeak IOT cloud
• I2C lcd interfacing with raspberry pi
• DHT sensor interfacing with raspberry pi
• servo motor interfacing with raspberry pi
Session 2024-25 Page:1/2
Text Books:
1. RASPBERRY PI COOKBOOK by SIMON MONK, O'REILLY
References:
1. PYTHON FOR EVERYBODY: EXPLORING DATA USING PYTHON 3 by CHARLES R.
SEVERANCE, SHROFF PUBLISHERS & DISTRIBUTORS PVT. LTD
Session 2024-25 Page:2/2