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. 1 Standard LCD – 16×2 White on Blue
  2. 1 Resistor 4.75k ohm
  3. 1 Ultrasonic Sensor – HC-SR04 (Generic)
  4. 1 Jumper wires (generic)
  5. 1 Buzzer
  6. 1 Single Turn Potentiometer- 10k ohms
  7. 1 DHT11 Temperature Sensor
  8. 1 Pushbutton switch 12mm
  9. 1 Breadboard (generic)
  10. 1 Arduino UNO
  11. 3 Resistor 221 ohm
  12. 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