Sensors

Temperature Sensors**


   **a) DHT11 / DHT22**

   - **Type**: Digital

   - **Function**: Measures both temperature and humidity.

   - **Working**: The DHT11 and DHT22 sensors use a resistive-type humidity sensor and a thermistor to measure temperature.

   - **DHT11**: Lower accuracy and range (temperature: 0–50°C, humidity: 20–80%).

   - **DHT22**: Higher accuracy and range (temperature: -40 to 80°C, humidity: 0-100%).

   - **Use Case**: Weather stations, humidity control systems.


   **b) LM35**

   - **Type**: Analog

   - **Function**: Measures temperature in Celsius.

   - **Working**: LM35 outputs an analog voltage (10 mV per °C) that corresponds to the temperature. For example, 25°C will give an output of 250 mV.

   - **Use Case**: Room temperature measurement, HVAC systems.


   **c) TMP36**

   - **Type**: Analog

   - **Function**: Measures temperature with higher accuracy than LM35.

   - **Working**: TMP36 provides a voltage output that increases with temperature, similar to LM35 but with greater precision and linearity.

   - **Use Case**: Precise temperature measurement in embedded systems.


---


### **2. Motion and Distance Sensors**


   **a) PIR Sensor (Passive Infrared Sensor)**

   - **Type**: Digital

   - **Function**: Detects motion by sensing infrared radiation from moving objects.

   - **Working**: PIR sensors contain a pyroelectric sensor that detects changes in infrared radiation, typically from a human body.

   - **Use Case**: Motion detection for security systems, automatic lighting.


   **b) HC-SR04 (Ultrasonic Sensor)**

   - **Type**: Digital

   - **Function**: Measures distance using sound waves.

   - **Working**: It emits an ultrasonic pulse, and the time taken for the pulse to return to the sensor is used to calculate the distance.

   - **Use Case**: Obstacle detection, distance measuring for robots.


   **c) IR Sensor (Infrared Sensor)**

   - **Type**: Analog or Digital

   - **Function**: Detects objects by emitting infrared light and measuring reflection.

   - **Working**: Emits infrared light, and based on the reflection, the sensor detects the presence of an object.

   - **Use Case**: Object tracking, line following robots, proximity sensors.


---


### **3. Light Sensors**


   **a) LDR (Light Dependent Resistor)**

   - **Type**: Analog

   - **Function**: Measures light intensity.

   - **Working**: The resistance of LDR decreases as the intensity of light increases. This change in resistance can be measured and used to determine light levels.

   - **Use Case**: Light-sensitive applications such as automatic street lights or night lamps.


   **b) TSL2561**

   - **Type**: Digital

   - **Function**: Measures ambient light in lux (lux is the unit of illuminance).

   - **Working**: Uses a photodiode to measure the light intensity across two different wavelengths (infrared and visible).

   - **Use Case**: Light meters, environmental monitoring, camera exposure adjustment.


---


### **4. Pressure Sensors**


   **a) BMP180 / BMP280**

   - **Type**: Digital

   - **Function**: Measures atmospheric pressure, altitude, and temperature.

   - **Working**: These sensors use a piezo-resistive element to measure pressure. The BMP280 is a more recent version with improved accuracy.

   - **Use Case**: Weather stations, altitude measurement, GPS devices.


   **b) MPX5700AP**

   - **Type**: Analog

   - **Function**: Measures air pressure.

   - **Working**: MPX5700AP uses a piezoresistive element to measure air pressure changes and convert it to a voltage signal.

   - **Use Case**: Barometers, weather stations, and air pressure monitoring in industrial systems.


---


### **5. Gas Sensors**


   **a) MQ Series (MQ-2, MQ-3, MQ-7, etc.)**

   - **Type**: Analog

   - **Function**: Detects various gases like methane (MQ-4), carbon monoxide (MQ-7), alcohol (MQ-3), smoke (MQ-2), etc.

   - **Working**: The sensor has a heating element and a gas-sensitive layer, which changes resistance based on the concentration of the specific gas.

   - **Use Case**: Smoke detectors, alcohol detection, gas leak detectors.


   **b) CCS811**

   - **Type**: Digital

   - **Function**: Measures the concentration of CO₂ and Total Volatile Organic Compounds (TVOCs).

   - **Working**: Uses a metal oxide semiconductor (MOX) sensor to measure gas concentration.

   - **Use Case**: Indoor air quality monitoring, smart home applications.


---


### **6. Sound Sensors**


   **a) Microphone Sound Sensor**

   - **Type**: Analog or Digital

   - **Function**: Detects sound levels.

   - **Working**: The sensor uses a microphone to detect sound waves, which are then converted into an electrical signal.

   - **Use Case**: Sound-based alarms, noise monitoring.


   **b) KY-037**

   - **Type**: Analog

   - **Function**: Detects sound intensity.

   - **Working**: This module includes a microphone and an amplifier to measure sound levels in the environment.

   - **Use Case**: Sound detection in smart home systems or alarms.


---


### **7. Humidity Sensors**


   **a) DHT11 / DHT22**

   - **Type**: Digital

   - **Function**: Measures humidity and temperature.

   - **Use Case**: Weather stations, plant watering systems, environmental monitoring.


   **b) HIH-4030**

   - **Type**: Analog

   - **Function**: Measures relative humidity.

   - **Working**: Converts the humidity level into a proportional voltage signal.

   - **Use Case**: HVAC systems, industrial humidity monitoring.


---


### **8. Acceleration and Gyroscope Sensors**


   **a) MPU6050**

   - **Type**: Digital (I2C)

   - **Function**: Combines both an accelerometer and gyroscope in one module.

   - **Working**: The accelerometer measures linear acceleration along the X, Y, and Z axes, while the gyroscope measures angular velocity.

   - **Use Case**: Motion detection, orientation sensing, drone stabilization, and robotics.


   **b) ADXL345**

   - **Type**: Digital (I2C/SPI)

   - **Function**: 3-axis accelerometer.

   - **Working**: Measures acceleration in the X, Y, and Z axes to determine orientation, movement, or shock.

   - **Use Case**: Gesture recognition, tilt sensing, activity tracking.


---


### **9. Magnetic Field Sensors**


   **a) Hall Effect Sensor**

   - **Type**: Digital or Analog

   - **Function**: Detects the presence and strength of a magnetic field.

   - **Working**: Based on the Hall effect principle, it detects the magnetic flux density and outputs a voltage proportional to the field's strength.

   - **Use Case**: Position sensing, speed detection in motors, current measurement.


   **b) A3144 (Hall Effect Switch)**

   - **Type**: Digital

   - **Function**: Provides a simple ON/OFF output when a magnetic field is detected.

   - **Working**: When a magnetic field is detected, it sends a high signal; otherwise, the output is low.

   - **Use Case**: Motor RPM sensing, proximity sensing.


---


These are just some of the sensors that can be used with Arduino. Many more specialized sensors exist depending on the application. Each sensor typically requires some basic interfacing (digital/analog pins, I2C, or SPI) and might require calibration, especially in complex setups or precise measurements.

Comments

Popular posts from this blog

20 to 30 projects

11 to 20 projects

Capacitor