Summary

This document provides an overview of Arduino sensors, covering different types like temperature, light, motion, and gas sensors. It explains how these sensors work and their applications in various projects. The document also mentions the usage of supporting components like LCDs, servos, and switches with Arduino.

Full Transcript

Arduino Sensors Human Computer Interaction 2 What is an Arduino Sensor? Arduino sensors are devices that detect physical properties (like temperature, light, motion, etc.) and convert them into signals that can be read by an Arduino microcontroller. They allow projects to interact with the physic...

Arduino Sensors Human Computer Interaction 2 What is an Arduino Sensor? Arduino sensors are devices that detect physical properties (like temperature, light, motion, etc.) and convert them into signals that can be read by an Arduino microcontroller. They allow projects to interact with the physical world. Common Types of Sensors Temperature Sensors Temperature sensors in Arduino projects are used to measure temperature and can be interfaced with various Arduino boards for data collection, monitoring, and control applications. Temperature Sensors industrial Weather Stations Climate Control temperature monitoring LM35 The LM35 is an analog temperature sensor that outputs a voltage proportional to the temperature in degrees LM35 Celsius. Acronyms VIN: Voltage Input - The voltage supplied to the Arduino board from an external source. VOUT: Voltage Output - The voltage that can be output from the Arduino board. GND: Ground - The reference point for the electrical LM35 circuit, often used as the return path for DHT11 / DHT22 These sensors provide both temperature and humidity readings. DHT11 is a basic version, while DHT22 offers higher accuracy and a wider range. Acronyms SIGNAL: This is the data output pin of the DHT11 sensor. It is used to send the temperature and humidity data to the microcontroller (like an Arduino). VCC ( Voltage Common Collector ): This pin is the power supply pin. It typically connects to a positive voltage source, which is usually +5V or +3.3V. Humidity Sensors It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and sends a digital signal on the data pin Light Sensors Light sensors in Arduino projects are devices used to detect and measure light intensity. Temperature Sensors Solar Trackers Automatic lighting Night lamps LDR (Light Dependent Resistor) An LDR changes its resistance based on the amount of light falling on it. More light results in lower resistance. Photoresistor BH1750 A digital light sensor that measures light intensity in lux using I2C. Acronyms ADDR: Address - his refers to the unique identifier assigned to a device on a communication bus. In I2C (Inter-Integrated Circuit) SDA: Serial Data Line - it carries the data being transmitted between the master and slave devices. SCL: Serial Clock Timer - The master device generates the clock signal on the SCL line to synchronize data transmission Motion Sensors Motion sensors are devices used to detect and respond to movement in a given environment When a warm body (like a human) passes in front, the sensor detects the change in infrared levels. Motion Sensors Automatic lighting Security Alarms Object Detection PIR (Passive Infrared) Sensor Detects motion by measuring changes in infrared radiation from objects in its field of view. Distance Sensors Distance sensors are devices used to measure the distance between the sensor and an object. Motion Sensors Obstacle Detection Robotics Parking Sensors HC-SR04 (Ultrasonic) Measures distance by sending an ultrasonic pulse and timing how long it takes for the echo to return. VL53L0X (Lidar) A precise distance sensor that uses laser light to measure distances. Gas Sensors Gas sensors are devices used to detect and measure the concentration of specific gases in the air. They change their resistance based on gas concentration. Motion Sensors Air quality monitoring Smoke Detection MQ Series (e.g., MQ-2, MQ-7) These sensors can detect various gases (e.g., smoke, LPG, CO). Accelerometers & Gyroscopes Sensors Accelerometer sensors are devices that measure acceleration forces acting on an object. They can detect changes in velocity and orientation Motion Sensors Robotics Drones MPU6050 A 6-axis motion tracking device that combines an accelerometer and a gyroscope. Acronyms XDA: Extended Data Out - Refers to a type of DRAM that allows for faster data access by providing an extended data output feature. XCL: eXtended Command List - Often used in the context of protocols or systems where a more comprehensive set of commands is available. ADO: ActiveX Data Objects - A Microsoft technology that provides a programming interface for accessing data from a variety of sources. INT: Interrupt - A signal that temporarily halts the Using Sensors Research Read the sensor’s datasheet to learn about its operating voltage, output type (analog or digital), and measurement range. Explore online tutorials and documentation specific to the sensor and your intended application. Look for example projects that use the same sensor to see how others have implemented it. Gather Components Collect all necessary components to ensure you can successfully build your project. Sensor: Obtain the specific sensor you want to use (e.g., accelerometer, gas sensor). Microcontroller: Ensure you have an Arduino board or compatible microcontroller. Wires and Breadboard: Gather jumper wires and a breadboard (if needed) for prototyping. Power Supply: Check if you need an external power supply or if the Wiring Follow the wiring diagram specific to your sensor and project. This often includes connecting power (VCC), ground (GND), and data/output pins. Double-check connections to ensure they match the specifications (e.g., voltage levels and pin assignments) in the datasheet or tutorial. Install Libraries Ensure your Arduino IDE has the necessary libraries to communicate with the sensor and use its functionalities. Open the Arduino IDE and navigate to Sketch > Include Library > Manage Libraries. Search for the specific library that corresponds to your sensor (e.g., libraries for DHT sensors, MPU6050, etc.). Using Supporting Components LCD LCDs (Liquid Crystal Displays) are enabling real- time user interaction. They facilitate data visualization, control monitoring, and serve as effective educational tools. Servos Servos are electromechanical devices used in Arduino projects to create precise rotational movements. They consist of a motor, gears, and a feedback system, allowing for accurate control of angular position. Lights ( Indicators ) LEDs are important indicators as they provide instant visual feedback on system status, are easy to integrate, energy-efficient, and versatile Buzzers ( Sounds Indicator ) Buzzers are crucial sound indicators because they provide immediate auditory feedback for system alerts, notifications, or warnings. Switches Arduino switches are important for providing user control over circuits, allowing users to easily turn devices on and off or input commands Wi-Fi and Bluetooth Wi-Fi and Bluetooth modules are essential for enabling wireless communication in Arduino projects BYE CUTE KO NAMAN BEHHH

Use Quizgecko on...
Browser
Browser