![]() Next, we set up another microcontroller that will be connected to RFID and LCD 16x2. If(distance1 0 & distance2 5 & distance2 10 & distance2 15 & distance2 < 20)īlynk.notify("Water tank need to be "Water Tank Alert", "Water tank need to be refill") Serial.print("Hasil Sensor dispenser: ") When the water level is low by using Blynk.notify() and Blynk.email() the software will send and notify email to the user to refill the water tank.īn() is essential in the main function for it is used to connect the microcontroller to the Blynk application void loop() Blynk.virtualWrite will update the data to Blynk software of the water level. the system will update to the Blynk software the water level by using the ultrasonic sensor. the main program will update the system and keep track of the water level. In this code below is the main program the water dispenser. Thereby applying the method of distance = (speed * time)/2 we will be able to get the actual distance of the object to sensor. The ultrasonic sensor will send a vibration to echo and catch back it through the trigger pin. In the code below is the code for the Ultrasonic sensor to measure the distance of the object detected to the sensor. #define BLYNK_PRINT Serial // Comment this out to disable prints and save spaceįloat time1 = 0, distance1 =0, time2 = 0, distance2 = 0, tinggi2 = 0 In order to use Blynk, we use Blynk.begin() in the setup function and give the essential parameter such as Blynk authentication, SSID and pass to access the Blynk project. In the code below is the setup configuration to use the hardware and Blynk software. Then use the code below to test the ESP WIFI is working fine as needed. Include BLYNK and ESP8266WiFi library to Arduino IDE software. The next step will be including the library in the Arduino IDE. For the pipe use a better pipe that usable for drinking and connecting it to the pump so the system could pump out the water.Īfter connecting the pin of the component to the circuit. In the relay, we connected the motor to NO of the relay so that when the relay is activated the motor will start working and pumping the water. In this system, the data will be sent to the application is the water level of the dispenser. The ESP will work as the connection to the WiFi Module. ![]() and protect them from getting infected by several diseases also.Firstly, wire the component as the schematic diagram as above. ![]() This model id developed to prevent people from this pandemic in social places like parks, offices, schools, etc. It not only prevents people from coming in contact but it also helps in the prevention of gathering the crowd. The automatic water dispenser machine is totally based on contactless to minimize the contact between people. The report consists of the working and results of the water dispenser machine and consists of the future scope and implementation that can be done to improvise the project and increase the level of the project to be used professionally at schools and MNCs. The best use of this machine can be made by keeping the people contactless from the machine and the wastage of the water can also be controlled. We have created a contactless automatic water dispenser machine using the Arduino code to prevent people from coming in contact through the usage of the tap machines. Every human needs water at intervals and takes water or fills their bottles from the water dispenser machines. ![]() For this reason, we produced the most important need of our life WATER. All the people of the world have distanced themselves from each other and from every other thing which is used in public. There were several challenges in the lockdown and the world started to become contactless. The year 2020 came with lots of challenges for the entire world from every sector of known work fields we know. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |