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 IR sensor:- An infrared (IR) sensor is an electronic device that detects infrared radiation to sense objects, measure temperature, and detect motion . IR sensors are used in many applications, including security systems, robotics, and remote controls. LDR- An LDR sensor (Light Dependent Resistor) is a small electronic part that can sense light . It changes how much electricity flows through it based on how bright or dark it is. #LDR coding 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 <= 5...
Comments
Post a Comment