Explore the world of smart, connected devices — from programming Arduino and Raspberry Pi boards with real sensors and actuators to designing full IoT applications that remotely control physical devices over the Internet. Covers both competency levels of Unit 11 (15 periods).
15
Periods
2
Sub-levels
8
Downloads
Free
Forever
Advertisement
📢 Google AdSense — 728×90 Leaderboard | Slot: 1111111111
Step beyond screens and keyboards — IoT connects physical devices to the Internet and to each other, making our homes, schools and cities smarter. Learn to program Microprocessor Development Systems (Arduino / Raspberry Pi) with real sensors, LEDs and actuators, then build a complete IoT application to remotely control a device from anywhere via the Internet. Covers competency levels 11.1–11.2 from the NIE ICT syllabus.
🤖 Microprocessor Dev. Systems
⚡ Arduino Board
🍓 Raspberry Pi
📥 Analog & Digital Input Pins
📤 Digital Output Pins
💡 LED Control
🌡️ Temperature Sensor
☀️ LDR (Light Sensor)
🚪 Magnetic Door Switch
🔌 USB Connectivity & Power
💻 IDE Software (Compiler)
🌐 Definition of IoT
📱 IoT Applications
📶 Enabling Technologies
🔧 Remote Switch (IoT App)
📚 Competency Levels — Unit 11
COMPETENCY 11.1 · 8 PERIODS
Microprocessor Development Systems
Introduction to MDS (Arduino, Raspberry Pi). Features: analog input, digital input/output, microprocessor, RX/TX pins, USB port, power supply, reset switch. Connecting to computer. IDE software (code editor, compiler, programmer). Simple applications — LED control, LDR light sensing, temperature sensing, door detection.
COMPETENCY 11.2 · 7 PERIODS
Internet of Things (IoT)
Definition of IoT. Needs of IoT to make day-to-day life smart. Various applications of IoT. Enabling technologies for IoT. Designing and implementing an IoT application to remotely control a device through the Internet (e.g. ON/OFF a television/fan).
🔧 Arduino vs Raspberry Pi — Comparison
⚡ Arduino
TypeMicrocontroller
OSNone — bare metal
LanguageC / C++ (Arduino IDE)
Analog PinsYes (A0–A5)
Digital I/OYes (0–13)
Best ForSensors, actuators, real-time control
Power5V USB / 7–12V DC
🍓 Raspberry Pi
TypeSingle-Board Computer
OSRaspberry Pi OS (Linux)
LanguagePython, C, Scratch
Analog PinsNo (digital GPIO only)
Digital I/OYes (GPIO pins)
Best ForWeb server, camera, AI projects
Power5V micro/USB-C
🔬 Syllabus Practical Projects — Arduino
💡
LED On/Off
Switch an LED on and off using a digital output pin. Introduces pinMode() and digitalWrite().
☀️
LDR Light Sensor
Read ambient light intensity with an LDR. Switch LEDs on/off based on light level using analogRead().
🌡️
Temperature Sensor
Sense room temperature. Automatically turn a fan on when temperature exceeds a set threshold.
🚪
Door Sensor
Detect door open/close status using a magnetic switch and digital input pin.
📱
Remote IoT Switch
Control a device (TV/fan) remotely via the Internet using IoT platform and Wi-Fi module.
🐾 Arduino Code Example — LED & Temperature
Arduino Sketch — LED + Temperature Sensor
// Arduino: Temperature sensor controls a fan LEDconst int tempPin = A0; // Analog pin for sensorconst int fanPin = 9; // Digital pin for fan/LEDconst int threshold = 30; // Degrees Celsiusvoidsetup() {
pinMode(fanPin, OUTPUT); // Set pin as outputSerial.begin(9600); // Start serial monitor
}
voidloop() {
int rawVal = analogRead(tempPin);
float volts = rawVal * (5.0 / 1023.0);
float temp = (volts - 0.5) * 100.0;
Serial.print("Temp: ");
Serial.println(temp);
if (temp >= threshold) {
digitalWrite(fanPin, HIGH); // Fan ON
} else {
digitalWrite(fanPin, LOW); // Fan OFF
}
delay(1000); // Wait 1 second
}
🌐 IoT Ecosystem — Applications
🏠
Smart Home
Smart lights, locks, thermostats, appliances controlled via smartphone.
🏥
Healthcare
Wearable monitors, patient tracking, remote health sensors.