TLE-Robotics Water Level Sensor Seminar PDF

Summary

This document presents a seminar/tutorial on water level sensors, focusing on their operation, types, wiring, and Arduino programming. It explains how to use Arduino to monitor water levels and offers code examples. The document is suitable for secondary school-level learning of robotics or electronics.

Full Transcript

Understand the fundamental Session principles of water level and Objectives: flame sensor operation. Select appropriate sensors for various applications. Properly install and interface these sensors with...

Understand the fundamental Session principles of water level and Objectives: flame sensor operation. Select appropriate sensors for various applications. Properly install and interface these sensors with microcontrollers Arduino. Design and implement simple systems utilizing water level and flame sensors. Develop basic Arduino programs to read sensor data Learning Distinguish between outcomes: different types of water level sensors and flame sensors Physically connect a water level sensor and a flame sensor to an Arduino Uno board correctly. Develop simple Arduino sketches to display sensor readings on a serial What are Water Level Sensors? Devices that measure the level of liquid in a container or reservoir. Wide range of technologies available, each with its strengths and weaknesses. Essential for automation, safety, and efficient resource management. Types of Water Level Sensors The sensor has ten exposed copper traces, five of which are power traces and the remaining five are sense traces. These traces are interlaced so that there is one sense trace between every two power traces. Normally, power and sense traces are not connected, but when immersed in water, they are bridged. There is a Power LED on the board, which will light up How They Work The operation of the water level sensor is fairly simple. The power and sense traces form a variable resistor (much like a potentiometer) whose resistance varies based on how much they are exposed to water. This resistance varies inversely with the depth of immersion of the sensor in water: The more water the sensor is immersed in, the better the conductivity and the lower the resistance. The less water the sensor is immersed in, the poorer the conductivity and the higher the resistance. The sensor generates an output voltage Water Level Sensor Pinout The water level sensor is extremely simple to use and only requires three pins to connect. is an analog output pin that will be connected to one of your Arduino’s analog inputs. pin provides power to the sensor. It is recommended that the sensor be powered from 3.3V to 5V. Please keep in mind that the analog output will vary depending on the voltage supplied to the sensor. is the ground pin. To begin, connect the + (VCC) pin on the module to 5V on the Arduino and the – (GND) Wiring a pin to ground. One well-known issue with these sensors is Water that they have a shorter lifespan because Level they are constantly exposed to moisture. Moreover, constantly applying power to the Sensor to sensor while immersed in water significantly accelerates the rate of corrosion. an Arduino To avoid this, it is recommended that the sensor be turned on only when taking readings. One easy way to do this is to connect the sensor’s power pin to a digital pin on an Arduino and set it to HIGH or LOW as needed. So, we’ll connect the + (VCC) pin to the Arduino’s digital pin #7. Finally, connect the S (Signal) pin to the Arduino’s A0 ADC pin. Basic After constructing Arduino the circuit, upload Example the following sketch to your Arduino. After uploading the sketch, open the Serial Monitor window to view the output. When the sensor is dry, it will output a value of 0; however, as the sensor is immersed in water, the output will gradually increase. To estimate the water level, record the values of your sensor output when the sensor is completely dry, partially immersed, and fully immersed in water. Finding Simply run the above sketch and take your the readings. Keep in mind that your sensor may be more threshold or less sensitive depending on the type of water you use. As you may know, pure values water is not conductive; it is the minerals and impurities in water that make it conductive. When you run the sketch, you should see readings similar to the ones below: when the sensor is dry (0) when the sensor is partially immersed in water (~420) Arduino For our next example, Project – we’ll build a simple Water Level water level indicator Indicator that will light up LEDs based on the level of the water. Sensors is importance in maintaining safety and efficiency. They are designed to be adaptable to various contexts and can be further customized to fit specific applications needs. “The elements dance, a symphony of power; the sensors, watchful conductors, orchestrate safety and efficiency."

Use Quizgecko on...
Browser
Browser