Class 8
What is sensor types of sensor LDR sensor IR sensor project 1 ultrasonic sensor smoke sensor Rain drop sensor MQ3 sensor project 2 Bluetooth LCD project 3 IOT esp32 esp8266 Led project by esp32 and esp8266 Sensor connect of esp32 final project #LDR int ldr = A0; void setup() { Serial.begin(9600); pinMode(A0,INPUT); pinMode(13,OUTPUT); } void loop() { int data = analogRead(ldr); Serial.print(" ldr "); Serial.println(data); delay(100); if(data <= 500) { digitalWrite(13,HIGH); } else { digitalWrite(13,LOW); } } #Ultrasonic An ultrasonic sensor is device that measures the distance to an object using ultrasonic sound waves. An ultrasonic sensor works through a process that involves sending out sound waves and measuring the time it takes for them to return. Here’s ...