Subscribe Us

up comming Offer updates

Advertisement

computer knowledge benifits

o level m4 r5 iot practical

 

M4 r5 iot

Q.1 Write a program to interface LCD with Arduino board and display “ o level nielit" on it.

Q.2

Arduino program to Design a  night lamp using a photodiode and  a LED and find out the time delay associated with turning the lamp on and off.

Q.3

Arduino program to interface gas sensor to detect the gas

cont int gaspin=A0;

void setup(){

Serial.begin(9600);}

void loop(){

int gassvalue=analogRead(gaspin);

serial.println(gassvalue);

delay(500);}

 

 

viva

 

iiot used for

iot components

microcontroller used in arduino uno

what is the work of setup()










 O level Iot  m4 r 5 practical

Q1 Write an Arduino program to read temperature from a DHT11 sensor and display it on the Serial Monitor every 2 seconds.

#include<DHT.h>

DHT dht(2,DHT11);

 

void setup()

Serial.begin(9600);

dht.begin();}

 

void loop(){

float t =dt.readTemperature();

if (!isnan(t)) serial.println("temp:",+string(t)+"c");

delay(2000);

}

 

Q 2  Arduino program to create automatic  street light control by using LDR sensor

int ldrpin=A0;

int lightpin=8;

 

void setup(){

pinMode(lightpin,OUTPUT);

pinMode(ldrpin,INTPUT);

}

int ladrvalue=analogRead(ldrpin);

if(ladrvalue<500);

digitalWrite(lightpin,HIGH);

else

digitalWrite(lightpin,LOW);

}

Q 3 Write a program to interface a  temperature sensor (LM35) and water Nozzle with the  Arduino.

int tempin=A0

int nozzlepin=8;

void setup(){

pinMode(nozzelpin,OUTPUT);

}

int raw=analogRead(tempin);

float tempc= raw*0.488

if (tempc> 30)

digitalWrite(nozzelpin,HIGH);

else

digitalWrite(nozzelpin,LOW);

delay(1000);}

 

 

viva

 

name any three sensors

name comman communicatin protocol in iot

what is real time operating system(RTOS)

what is cloud computing in iot



M4 r5 iot practical

write arduino program how to use a Piezo element to detect vibration.

 

Write a program to interface AC with arduino board using Wi-Fi signals to on of the delay of 1 second

 

Write a program to interface security password with arduino board to so green light for correct password and red light for incorrect password

 

Viva m4

How many analog  pin Arduino uno

Name any four Arduino project component

Name the sensor that use in street  light project

What is motivation

Self-motivation




Post a Comment

0 Comments