Skip to content

Latest commit

 

History

History
237 lines (206 loc) · 8.63 KB

README.md

File metadata and controls

237 lines (206 loc) · 8.63 KB

ARDUINO
https://wokwi.com/projects/333796636268429907 - LED
https://wokwi.com/projects/333802415714206291 - 3 LED
https://wokwi.com/projects/333801005399409236 - RGB Led
https://wokwi.com/projects/322062421191557714 - LIQUID CRYSTAL
https://wokwi.com/projects/334977803083579987 - Servo Motor(Angluar motion)
https://wokwi.com/projects/335699264816546387 - Servo Motor + Pushbutton
https://wokwi.com/projects/334978360097636947 - (Circular Motion)
https://wokwi.com/projects/334981582917993044 - Servo Motor + Sliding Potentiometer
https://wokwi.com/projects/335065356773098066 - Buzzer
https://wokwi.com/projects/335069089200341587 - Buzzer + Pushbutton_
https://wokwi.com/projects/335068760545165907 - Buzzer + Pushbutton_(Long Press)
https://wokwi.com/projects/335616316076458578 - Buzzer + Pushbutton + LED
https://wokwi.com/projects/335071206921208402 - UltraSonic Sensor
https://wokwi.com/projects/335071463215202900 - UltraSonic Sensor(extra)
https://wokwi.com/projects/335073264458007124 - Buzzer + UltraSonic Sensor
https://wokwi.com/projects/344307134593237586 - LED + UltraSonic Sensor
https://wokwi.com/projects/344310294635348562 - LCD + UltraSonic Sensor
https://wokwi.com/projects/335075055329346132 - Buzzer + UltraSonic Sensor(Varying Instensity)
https://wokwi.com/projects/335698029159907924 - Buzzer + Ultrasonic Sensor + LED
https://wokwi.com/projects/335701186493547091 - Potentiometer + LED
https://wokwi.com/projects/337602684471214674 - DHT22(Humidity and Temperature sensor)
https://wokwi.com/projects/337604296859189842 - DHT22 + LCD(Humidity and Temperature sensor)
https://wokwi.com/projects/340775764469219922 - LED_CHASER
https://wokwi.com/projects/340776572602548818 - LDR
https://wokwi.com/projects/340776926585029204 - LDR_LED
https://wokwi.com/projects/340779619162522195 - IR_LED

https://wokwi.com/projects/342586116652663380 - Seven_Segment
https://wokwi.com/projects/342587401518973522 - Joystick + DotMatrix
https://wokwi.com/projects/290056311044833800 - UltraSonic sensor + LED
https://wokwi.com/projects/342588998566281812 - UltraSonic Sensor + LCD
https://wokwi.com/projects/342590296329028180 - KeyPad + LCD + Servo
https://wokwi.com/projects/342591802779370068 - LED Bar Graph + Slide PotentioMeter

ESP32
https://wokwi.com/projects/336966830711112275 - LED
https://wokwi.com/projects/336967978479256147 - 3 LED
https://wokwi.com/projects/340880463446934098 - RGB
https://wokwi.com/projects/340882358612787796 - LCD
https://wokwi.com/projects/340886369600537172 - Servo Motor + Pushbutton
https://wokwi.com/projects/340888468071645780 - Servo Motor + Sliding Potentiometer
https://wokwi.com/projects/340890155914101331 - Buzzer + Pushbutton_
https://wokwi.com/projects/340890489300451922 - Buzzer + UltraSonic Sensor
https://wokwi.com/projects/340890896679567955 - Potentiometer + LED
https://wokwi.com/projects/340892440485429842 - DHT22
https://wokwi.com/projects/340893919446303316 - LED CHASER
https://wokwi.com/projects/340936317213868626 - LDR
https://wokwi.com/projects/340936847717827156 - LDR + LED

LAB LIST

1)program1: LED WITH BUZZER https://wokwi.com/projects/337602112497123922

2)program2: LED with PUSH BUTTON: https://wokwi.com/projects/334431214876230226

3)Program3:DHT 22 sensor: https://wokwi.com/projects/337603663792964179

4)Program 4: relay with arduino ie Servo motor with BUTTON: https://wokwi.com/projects/337603967810798163

5)Program 5: LCD DHT 22 https://wokwi.com/projects/337605922532622930

6)Flood Monitoring System:
#include "ThingSpeak.h"
#include <ESP8266WiFi.h>
const int trigPin1 = D1;
const int echoPin1 = D2;
#define redled D3
#define grnled D4
//#define BUZZER D5 //buzzer pin
unsigned long ch_no = 1838852;//Replace with Thingspeak Channel number
const char * write_api = "B09P3G8RR3PGTIT6";//Replace with Thingspeak write API
char auth[] = "mwa0000027193634";
char ssid[] = "m";
char pass[] = "Csdept@1234";
unsigned long startMillis;
unsigned long currentMillis;
const unsigned long period = 10000;
WiFiClient client;
long duration1;
int distance1;
void setup()
{
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(redled, OUTPUT);
pinMode(grnled, OUTPUT);
digitalWrite(redled, LOW);
digitalWrite(grnled, LOW);
Serial.begin(115200);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED)
{
delay(500);
Serial.print(".");
}
Serial.println("WiFi connected");
Serial.println(WiFi.localIP());
ThingSpeak.begin(client);
startMillis = millis(); //initial start time
}
void loop()
{
digitalWrite(trigPin1, LOW);
delayMicroseconds(2);
digitalWrite(trigPin1, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin1, LOW);
duration1 = pulseIn(echoPin1, HIGH);
distance1 = duration1 * 0.034 / 2;
Serial.println(distance1);
delay(1500);
if (distance1 <= 10)
{
digitalWrite(D3, HIGH);
//tone(BUZZER, 300);
digitalWrite(D4, LOW);
delay(1500);
//noTone(BUZZER);
}
else
{
digitalWrite(D4, HIGH);
digitalWrite(D3, LOW);
}
currentMillis = millis();
if (currentMillis - startMillis >= period)
{
ThingSpeak.setField(1, distance1);
ThingSpeak.writeFields(ch_no, write_api);
startMillis = currentMillis;
}
}

7)LED Chaser:
int pinsCount=6; // declaring the integer variable pinsCount
int pins[] = {D0,D1,D7,D5,D3,D2}; // declaring the array pins[]

void setup() {

for (int i=0; i<pinsCount; i=i+1){ // counting the variable i from 0 to 9
pinMode(pins[i], OUTPUT); // initialising the pin at index i of the array of pins as OUTPUT
}
}

void loop() {
for (int i=0; i<pinsCount; i=i+1){ // chasing right
digitalWrite(pins[i], HIGH); // switching the LED at index i on
delay(100); // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW); // switching the LED at index i off
}
for (int i=pinsCount-1; i>0; i=i-1){ // chasing left (except the outer leds)
digitalWrite(pins[i], HIGH); // switching the LED at index i on
delay(100); // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW); // switching the LED at index i off

}
}

8)Soil Moisture Sensor:
const int sensor_pin = A0; /* Connect Soil moisture analog sensor pin to A0 of NodeMCU /
void setup() {
Serial.begin(9600); /
Define baud rate for serial communication */
}
void loop() {
float moisture_percentage;
moisture_percentage = ( 100.00 - ( (analogRead(sensor_pin)/1023.00) * 100.00 ) );
Serial.print("Soil Moisture(in Percentage) = ");
Serial.print(moisture_percentage);
Serial.println("%");
delay(1000);
}

Internet-Of-Things

1.Arduino LED:
https://wokwi.com/projects/333795777062109780

2.Arduino RGB LED:
https://wokwi.com/projects/333799378069226066

https://wokwi.com/projects/333805648701555283

3.LCD:
https://wokwi.com/projects/333806682158137939 ESP32:
https://wokwi.com/projects/341022750895243858

4.Ultrasonic sensor:
https://wokwi.com/projects/334346755679191635

5.Temperature and Humidity:
https://wokwi.com/projects/334346231606149714

6.IR:
https://wokwi.com/projects/334347782067323474

7.PIR:
https://wokwi.com/projects/334347041012449875

8.LED Fade:
https://wokwi.com/projects/334436349103833683

9.Motion Sensor:
https://wokwi.com/projects/334431854492910163

10.Motion Sensor Buzzer:
https://wokwi.com/projects/334433831716127314

11.Ultrasonic Sensor LED:
https://wokwi.com/projects/334434440478458452

12.Button LED:
https://wokwi.com/projects/334431013706924626

13.Servo motor:
https://wokwi.com/projects/335615739430961747

14.Servo motor controlled by potentiometer:
https://wokwi.com/projects/334978058200023635

15.Servo motor controlled by push button:
https://wokwi.com/projects/334980736128909908

16.Buzzer:
https://wokwi.com/projects/335066289535976018

17.Buzzer with push button:
https://wokwi.com/projects/335070852899930708

18.Buzzer with ultrasonic sensor:
https://wokwi.com/projects/335072341158527571

19.Buzzer with ultrasonic sensor and LED:
https://wokwi.com/projects/335614105184371284