Posts

IoT Lab 8-11: Controlling Intensity of Led using Potentiometer, Traffic Control System, Interfacing of Ultrasonic sensor, IR sensor, Temperature, LDR

Image
Experiment 8  Aim: To demonstrate Control of Led Intensity using Potentiometer  Components required:  LEDs Breadboard Arduino Uno Potentiometer Register Jumper wires Connection Diagram: Code: int value=0;  void setup() { pinMode(A0, INPUT);  pinMode(13, OUTPUT); } void loop() { value = analogRead(A0);  digitalWrite(13,HIGH);   delay(value); digitalWrite(13, LOW);    delay(value); } Result: Successfully demonstrated Control of Led Intensity using Potentiometer  Experiment 8a Aim: To demonstrate  Adjust the brightness of LED without using potentiometer Components required: LED  Register Aurduino Breadboard jumper wire Connection diagram: Code:  int value=0;  void setup() { pinMode(13, OUTPUT); } void loop() {   for(int fad=0;fad<256;fad+=5)   {      analogWrite(13,fad);      delay(100);   }      } Result: Lab 9: Arduino pro...

MAD Lab Programs 11 - 15 : WEB VIEW, LIST VIEW, SPINNER VIEW, OPTION MENU, CURD operations using - SQLite

Image
Lab 11: WEB VIEW Aim:    Write an Android application program that demonstrates Web view in mobile applications development. Code: AndroidManifest.xml <? xml version= "1.0"  encoding= "utf-8" ?> < manifest  xmlns: android = "http://schemas.android.com/apk/res/android"      package= "com.example.admin.webview" >      < uses-permission  android :name= "android.permission.INTERNET" />      < application          android :allowBackup= "true"          android :icon= "@mipmap/ic_launcher"          android :label= "@string/app_name"          android :roundIcon= "@mipmap/ic_launcher_round"          android :supportsRtl= "true"          android :theme= "@s...