Professional Documents
Culture Documents
Laboratory Instruction and Delivery of A Pilot Iot Course
Laboratory Instruction and Delivery of A Pilot Iot Course
Dr. Sundaram is a Professor in the Electrical and Computer Engineering Department at Gannon Univer-
sity. His areas of research include computational architectures for signal and image processing as well as
novel methods to improve/enhance engineering education pedagogy.
American
c Society for Engineering Education, 2021
Work-in-Progress: Laboratory Instruction and Delivery of a Pilot
IoT Course
Abstract
This work-in-progress paper discusses the laboratory setup and delivery of a pilot course on the
fundamentals of Internet of Things (IoT). Hands-on laboratory experiments and project-based
experiences are adopted to introduce and reinforce IoT-related concepts. The laboratory
experiments introduce the students to (a) the collection of data using temperature and motion
sensors (b) program the microcontroller, and (c) to communicate between WiFi-enabled
modules. Rather than using the hardware and software tools from an established vendor in the
areas of IoT, we chose to design and assemble our laboratory experiments and projects with
simple, cost-effective, off-the-shelf components. The project activities focused on system design
and integration based on the laboratory experiments to configure IoT devices.
The students are expected to have basic knowledge of electrical circuits and electronics, as well
as programming skills in higher-level languages such as C/C++. The introductory laboratory
experiment engages the student with the Arduino microcontroller and IDE. Students program the
microcontroller to communicate with two temperature sensors, one digital, the other analog. This
introduces the idea behind configuring the laboratory setup to read data from sensors locally and
record the outcomes based on simple programming steps. Later laboratory experiments involve
(a) wireless modules for node-client communication, (b) node to node serial Bluetooth streaming
over Universal Asynchronous Receiver/Transmitter (UART), (c) integration of sensors and other
devices into one "Base station", and (d) using the "Base station" with an ESP8266 WiFi module
to send data to the cloud. One of the term projects required the students to use the collective
knowledge of the laboratory experiments outlined above to create an IoT-based detection
system.. Despite the health pandemic, remote instruction and delivery of course materials, as
well as the evaluation and assessment of the submission of each student was successfully
accomplished.
Introduction
Emergent technologies in wireless data communication and computing are rapidly altering the
engineering landscape. The engineering programs at universities across the world must adapt
their courses and curricula to incorporate modern technologies in their courses, classrooms, and
engineering laboratories. The engineering students who enroll at these universities expect to be
educated and trained with the latest industry-approved tools and technologies to function
effectively in the engineering industry. In recent years, the internet-of-things (IoT) [1]-[5] has
burgeoned at astounding rates. The IoT describes the network of physical devices and machines,
loosely labeled "Things" to the internet. These devices are embedded with sensors, software, and
microcontrollers to connect and exchange data with the other devices and/or systems of devices
over the internet. The devices can span the gamut of basic household appliances to complex
industrial tools and machines.
IoT is enabling the following industries to function efficiently and productively at the highest
possible levels.
• Manufacturing – production-line monitoring, detect equipment malfunction
• Automotive – early notification of potential sensor/actuator failures
• Retail – manage the inventory, optimize the supply chain, reduce operational costs, and
improve the experiences of the customer
• Healthcare – patient monitoring, access to medical records
The authors of this paper realized the need for IoT-related laboratory experiments and project
activities in the Electrical and Computer Engineering (ECE) curriculum. Figure 1 illustrates the
intent of the course. The first two authors had been managing and coordinating the ECE
laboratories for the past three to four years and had considerable familiarity, knowledge, and
skills with the components and equipment needed to assemble and test IoT devices. Each device
in the Figure can be assembled and tested without recourse to expensive laboratory-based
equipment. The pilot IoT course was first offered by the ECE department at our University in the
Spring 2020 semester even as the health pandemic was rapidly becoming a global crisis. The first
two authors showed the foresight to prepare the laboratory experiments and project activities not
requiring desktop equipment. This proved extremely useful when the spread of the pandemic led
to the shutdown of the buildings and facilities campus-wide. Even though each student was
unable to access the ECE laboratories and had to work remotely and in isolation, he/she could
still perform the laboratory experiments and project activities of the pilot IoT course. This can be
attributed to the fact that the list of components needed for each laboratory activity was packaged
in portable units and issued to each student. Details of some of the laboratory activities and
project activities are presented later in this manuscript.
The course meets twice each week for fourteen weeks. The duration of each meeting is eighty
minutes (one hour and twenty minutes). Table 1 identifies the topical theme, the laboratory
experiment(s), and project(s) associated with each theme and the session number(s).
The PIs (Performance Indicators) are associated with each SO. PIs are used to gauge the
competency of the student to meet or exceed course expectations in each CO. The key
assignment is used to measure the PI. The typical relationship between the key assignment and
the justification for the mapping to the chosen PI, the mapping of the PI to the CO, and the
corresponding SO is shown below for CO_2 and CO_3.
SO_6: An ability to develop and conduct appropriate experimentation, analyze, and interpret data,
and use engineering judgment to draw conclusions
(a) (b)
(a) (b)
Figure 3: (a) XBee wireless module (b) LoRa packet radio module
For instance, Figure 5 shows the wiring diagram for the connection between the digital
temperature sensor (MCP9808) and the Arduino Mega board.
Arduino Microcontroller:
Students will experiment with the Arduino microcontroller and IDE. Students will
Introduction communicate with two temperature sensors, one digital, the other analog. This will
introduce the idea behind reading from sensors locally.
For instance, the laboratory experiment on Bluetooth audio transmission includes the circuit shown
in Figure 6. The BLE module (Figure 4) is configured for serial communication using UART and
together with an electret microphone connected to the Arduino microcontroller board.
Figure 6: BLE module and electret microphone with Arduino
The Arduino microcontroller is programmed to transmit the audio data stream from the
microphone to the mobile device (e.g., phone) using Bluetooth. The student sets up the Bluefruit
App on the mobile device [Figure 7(a)] and selects the BLE based on the signal strength [Figure
7(b)]. The BLE connection to the mobile device reveals the available modules [Figure 8].
(a) (b)
Thereafter, the student confirms data transmission by speaking into the microphone and
observing (UART option) and plotting the data stream on the mobile device (Plotter option), as
shown in Figure 9(a) and Figure 9(b) respectively.
(a) (b)
Figure 9: (a) Data transmission (b) Plot of the data transmitted & received
Section 3: Project Activities
The project activities comprise the design of the integrated system to respond to the motion of
small and large moving objects e.g., wildlife. The subsystems needed for the integration are
identified from the laboratory experiments. Specifically, the goal is to assemble and test the IoT-
based detection system to track the activity of wildlife based on the ambient temperature. The
student will recognize the need for portability and sensitivity of the system in the context of the
size of the species of wildlife. The ESP8266-based IoT-detection system is better suited for
wildlife of smaller size e.g., birds, and the Arduino-based IoT-detection system is intended for
wildlife of larger size e.g., deer or rhinos as shown in Figure 10.
Figure 13 shows the system assembled from the subsystems in Figure 11.
IR switch USB-mini
to USB-B
TMP36
FTDI
ESP8266
The program code (sketch) was compiled and loaded on to the ESP8266. The display (two
snapshots) of the ambient temperature due to the activation of the motion sensor (IR switch) on
the mobile device is shown in Figure 14.
Figure 14: Two snapshots of temperature recorded when the motion sensor is activated
(a) (b)
Figure 17: (a) Temperature data (b) Temperature plots
The survey completed by each student at the end of the semester comprised the quantitative
section and the qualitative section. The quantitative section consisted of specific questions in
categories related to the COs (Course Outcomes), course items, and the overall evaluation of the
course. The qualitative section asked the students to comment on the course content and delivery.
Course Outcomes
The undergraduate students enrolled in the pilot course comprised students from the Mechanical
Engineering (ME) and Biomedical Engineering (BME) programs at Gannon University. There
were no Electrical and Computer Engineering (ECE) students enrolled in the course. Table 3
displays the responses of the five undergraduate students to the COs. The ME and BME
undergraduate students had some or no programming experience in C/C++. The students used
the internet search engines to understand and apply the steps of each program. The average
response of the students ranged from 40% to 60% between agreement and strong agreement that
the COs were achieved.
The graduate students comprised two groups of electrical and embedded software students. The
first group of seven students took the course as a technical elective. Table 4 shows the responses
of the first group in the CO category. Unlike the undergraduate students, the ECE graduate
students had the skills necessary to complete the hardware assembly and programming steps in
C/C++. The students are strongly in agreement (85.7%) for three of the four COs. The outlier,
one student for this sample size of seven, did not see evidence of security and privacy solutions
in the laboratory experiments.
The second group of three graduate students chose this course to complete the course project
report. This is necessary to fulfill the requirements of the MSEE graduate degree. The course
project reports are titled (a) Intelligent Traffic Management System (b) Temperature and
Humidity Monitoring System, and (c) Smart Home Design. Table 5 displays the responses of the
three graduate students with the course project option. Two students out of the three in this group
(66.7%) are strongly in agreement that three of the four COs were achieved. The outlier, one
student for this sample size of three, did not see evidence of security and privacy challenges and
solutions in the laboratory experiments.
Table 5: Course Outcomes - Graduates (three students)
Course Items
Table 6 displays the survey responses in the category of Course Items for the five undergraduate
students. Four students out of the five undergraduate students (80%) were (a) very interested in
the course, (b) found the extent of work required in the course to be comparable to other courses,
and (c) satisfied that the course was effective in achieving the instructional objectives and
student learning outcomes.
Table 6: Course Items - Undergraduates
Table 7 displays the survey responses for the first group of seven graduate students. Six students
out of the seven students in this group (85.7%) were (a) very interested in the course, (b) satisfied
that the course was effective in achieving the instructional objectives and student learning
outcomes. However, only four students out of the seven students (57.1%) found the extent of work
required in the course to be comparable to other courses.
Table 8 displays the survey responses for the second group of the three graduate students with
the course project option. All the students in this group were (a) very interested in the course,
(b) found the extent of work required in the course to be comparable to other courses, and (c)
satisfied that the course was effective in achieving the instructional objectives and student
learning outcomes.
Table 8: Course Items - Graduates (three students)
Overall Evaluation
Table 9 shows the survey responses in the category of Overall Evaluation by the five
undergraduate students. Four students out of the five undergraduate students rated the overall
quality of the course and the performance of the faculty as excellent. The entire class of five
students rated their overall learning experience as excellent.
Table 10 shows the survey responses by the group of seven graduate students. Six students out of
the seven students in this group rated (a) the overall quality of the course, (b) the performance of
the faculty, and (c) their overall learning experience as excellent.
Table 11 displays the survey responses by the group of three graduate students. All the students in
this group rated (a) the overall quality of the course, and (b) their overall learning experience as
excellent. Two students out of the three students in this group rated the performance of the faculty
as excellent.
Table 11: Overall Evaluation - Graduates (three students)
The course will be integrated with the course on applied artificial intelligence (A2I). IoT
connects the devices to enable data collection while AI makes the decisions and takes the actions
based on the data collected. Thus, data-driven IoT applications can link to machine learning and
deep learning concepts covered in A2I.
Bibliography
[1] Aris, I. et al., “Impacts of IoT and Big Data to Automotive Industry,” Proceedings of the 2015 10th Asian
Control Conference (ASCC), Kota Kinabalu, Malaysia, May 31-June 3, 2015.
DOI: 10.1109/ASCC.2015.7244878.
[2] Yaqiong, L.V. et al., “IoT based Omni-Channel Logistics Service in Industry 4.0,” Proceedings of the 2018
IEEE International Conference on Service Operations and Logistics, and Informatics (SOLI), Singapore,
July 31-August 2, 2018; DOI: 10.1109/SOLI.2018.8476708.
[3] Pazos, N.. et al., “ConnectOpen - automatic integration of IoT devices,” Proceedings of the 2015 IEEE 2nd
World Forum on Internet of Things (WF-IoT), Milan, Italy, Dec. 14-Dec.16, 2015; DOI: 10.1109/WF-
IoT.2015.7389129.
[4] Ani R. et al., “An Approach Towards Building an IoT Based Smart Classroom,” Proceedings of the 2018
International Conference on Advances in Computing, Communications, and Informatics (ICACCI), Bengaluru,
India, Sept. 19-22, 2018;. DOI: 10.1109/ICACCI.2018.8554869.
[5] Fidai, A. et al., “Internet of Things (IoT) Instructional Devices in STEM Classrooms: Past, Present and Future
Directions,” Proceedings of the 2019 IEEE Frontiers in Education Conference (FIE), Covington, KY, Oct. 16-
19, 2019; DOI: 10.1109/FIE43999.2019.9028679.
[8] S. Rowland and M. Eckels, Laboratory Manual for IoT – System Fundamentals course, ECE Department,
January 2020.
[9] S. Elsaiah et al., “An effective design course to inspire active learning in undergraduate education,”
Proceedings of the 2016 IEEE Frontiers in Education Conference (FIE), Erie, PA, Oct. 12-15, 2016.
DOI: 10.1109/FIE.2016.7757543.
[10] R.J. Whelchel, “Engendering student retention of course prerequisite material in a web world,” Proceedings
of the 37th Annual Frontiers in Education Conference - Global Engineering: Knowledge Without
Borders, Opportunities Without Passports, Milwaukee, WI, Oct. 10-13, 2007;DOI:10.1109/FIE.2007.4418004.