I. Connect the 5v from Arduino to the positive sign breadboard.
II. Connect the ground from Arduino to the negative sign breadboard III. Connect Vcc from the i2C to the positive breadboard IV. Connect the Gnd from i2C to the negative breadboard. V. Connect the SDA to the A4 Arduino meanwhile for the SCL , it connect to the A5 Arduino VI. For the ultrasonic sensor, the Vcc is connected to the positive breadboard , while GND is connected to the negative breadboard. VII. Meanwhile, for the trig pin and Echo, it connected to the pin 9 and 10 respectively. VIII. For the relay 5v, it have 2 channel, for the first channel is connected to the pump while for the second channel is connected to the buzzer IX. Vcc and GND from the relays is connected to the positive and negative breadboard while for in1 and in2 are connected to the pin 6 and pin 7 to the Arduino respectively. X. Insert the coding to the Arduino and set the distance that ultrasonic can be detected in order to off the pump automatically which is in 6 cm
Digital Filmmaking: The Ultimate Guide to Web Video Production for Beginners and Non-Professionals, Learn Useful Tips and Advice on How You Can Create, Film and Edit Your Videos