FIOT Practical 12
FIOT Practical 12
Practical No.12
Develop IoT based application using Arduino board and relay to implement smart
appliance control.
A. Objective:
68 | Page
Fundamentals of IoT (4360703)
G. Resources/Equipment Required
Sr. Instrument/Equipment
Specification
No.
/Components/Trainer kit
Processor: x86_64 CPU architecture RAM:
1. Computer System 4 GB Recommended
Operating System: Windows 7
2. Arduino Uno board Microcontroller: ATmega328P
RAM: 2kB SRAM
Storage: 32kB Flask storage, 1kB EEPROM
3. Relay 1 Relay
4 Appliance to be used Blink LED with Relay
Code :
#define RELAY_PIN
void setup() {
pinMode(RELAY_PIN, OUTPUT);
digitalWrite(RELAY_PIN, HIGH);
}
void loop() {
digitalWrite(RELAY_PIN, LOW);
delay(1000);
digitalWrite(RELAY_PIN, HIGH);
delay(1000);
}
69 | Page
Fundamentals of IoT (4360703)
I. Output /Observation:
70 | Page
Fundamentals of IoT (4360703)
J. Assessment-Rubrics
71 | Page