In this workshop, students shall explore how easy it can be to work with an IoT device. This workshop consists of three parts: an introduction to software engineering, a hands-on experience with Raspberry PIs, and a reflection part.
The workshop begins with an introduction on the impact of software on our everyday life and the importance of software engineering.
The Swedish slides are available here: Google Spreadsheet
The handout document for students can be found here: instructions/handout.md
During this hands-on experience, students follow the handout's instructions and start with a simple print("something")
statement to understand how to run the code.
In further steps, they learn how to read sensor data and control the code with conditional statements (if).
After the hands-on coding experience, the workshop organizer shall ask the students about their experience and understanding of software systems.
- Download the Raspberry Pi Imager
- Flash the latest version of Raspberry PI OS (with a desktop environment) on a SD-card using the Raspberry Pi Imager
- Setup a wireless network so that the Pi can connect to the internet
- Clone this repository on the Pi
- Run
sudo install_workshop_dependencies.sh
inside of the cloned repository directory to install all Linux dependencies
IoT platform
- 1x Raspberry Pi 4
- 1x Breadboard
- Jumper wires in different colors (female to male)
Sensors
- 1x AM2302 (Temperature + Humidity)
Signals
- 1x LED
- 1x 330 Ω (ohm) resistor for the LED
After the Raspberry Pi is setup and all components are wired on the breadboard you can run python check.py
to check the whole setup.