PHYSICAL COMPUTING & PROGRAMMING
Ultrasonic Sensor with Alarm, LCD and Temperature
CONCEPT
This project gives me the info I need about the water level in a water tank. When the level is low, the green LED is ON. When the level is medium, the yellow LED is ON. When the level is HIGH the red LED blinks at same time with buzzer sound. The distance from sensor to water level is measured by the ultrasonic sensor and is printed to the LCD together with the temperature in that tank. This project is a part of a bigger project for an Aquaponic Farm Automation System.
BILL OF MATERIALS
- 1 Standard LCD – 16×2 White on Blue
- 1 Resistor 4.75k ohm
- 1 Ultrasonic Sensor – HC-SR04 (Generic)
- 1 Jumper wires (generic)
- 1 Buzzer
- 1 Single Turn Potentiometer- 10k ohms
- 1 DHT11 Temperature Sensor
- 1 Pushbutton switch 12mm
- 1 Breadboard (generic)
- 1 Arduino UNO
- 3 Resistor 221 ohm
- 3LEDs
UML
SCHEMATIC CIRCUIT
ARDUINO CODE
PROTOTYPE
FUTURE DEVELOPMENT IDEAS
This project is a part of a bigger project an Automated Aquaponic Farm. The second part will be 6 chasing LEDS mounted in a circle to indicate the pump is pumping. The 3th part will start the pump when level is high and stop the pump when level is low.(under construction) For the real project I use a waterproof ultrasonic sensor, this will not change the wiring or code. I don’t know what happens about the readings when the sensor is wet (humidity), so this project is only to give me information, the 3th project is used for the pump activities and will be done by magnetic contacts.
FUTURE