This repository contains the code, resources and documentation for projects and experiments covered during the IoT workshop, which focuses on using Arduino kits and Raspberry Pi for building IoT applications.
- Introduction
- Workshop Overview
- Prerequisites
- Hardware & Software Requirements
- Setup Instructions
- Contributing
- License
- Acknowledgments
The Internet of Things (IoT) is transforming how devices communicate with each other over the internet. In this workshop, participants learned how to integrate Arduino and Raspberry Pi in IoT projects. By using these platforms, we can create smart systems that interact with the physical world and send/receive data to/from the cloud or other devices.
The IoT workshop covered the following:
- Introduction to IoT concepts and architecture.
- Basic and advanced applications of Arduino for sensing and control.
- Interfacing sensors and actuators with Raspberry Pi for data collection and processing.
- Connecting devices to the cloud for remote monitoring and control.
- Building simple IoT projects like a smart home system, temperature monitoring system, etc.
Before getting started with the projects in this repository, ensure that you have the following:
- Basic understanding of programming (preferably in Python and C).
- Familiarity with Arduino and Raspberry Pi.
- Desire to explore and learn IoT concepts.
- Arduino Kits (e.g., Arduino Uno, sensors, actuators)
- Raspberry Pi (Raspberry Pi 3/4 recommended)
- Jumper wires, breadboard and various sensors (e.g., temperature, humidity, motion)
- Power supply for Raspberry Pi and Arduino
- Arduino IDE for writing and uploading Arduino code.
- Raspberry Pi OS (Raspberry Pi OS or any Linux-based system).
- Python 3.x (for Raspberry Pi scripting).
- Libraries for IoT communication (e.g., MQTT, HTTP, etc.).
- Install the Arduino IDE on your computer: Arduino IDE Download.
- Connect your Arduino board to your computer using a USB cable.
- Open the Arduino IDE and select the correct board and port under Tools > Board and Port.
- Upload the example code provided in this repository to your Arduino.
- Install Raspberry Pi OS on your Raspberry Pi (follow the official guide: Install Raspberry Pi OS).
- Connect Raspberry Pi to the internet and enable SSH for remote access.
- Install the necessary Python libraries:
sudo apt update sudo apt install python3-pip sudo pip3 install paho-mqtt sudo pip3 install RPi.GPIO
Once everything is set up, navigate to the project folder and run the appropriate scripts for your Raspberry Pi and Arduino boards.
For Raspberry Pi:
python3 <project_name>.py