Ok, so, yeah. This is the part 2 of this project: https://create.arduino.cc/projecthub/Heathen_Hacks-v2/doggo-water-bowl-refill-monitor-indicator-part-1-e59b80?ref=user&ref_id=550502&offset=0
I think a short story would suffice, since I have already told it on Part 1.
This is just the continuation.
Here, I talked about the assembly (not the PCB assembly of course. PCBWay handled that) and talked about the code a little bit.
I know I said on Part 1 that I will elaborate or explain the code on the 2nd part, but idk. I think the code is pretty easy to understand. I also showed the sources of the codes which you can see here, so you could do some reading there.
Yeah, I'm not good at explaining things, but I'm trying.
CHECK OUT PCBWay's Program for Engineering Students and get Sponsored on your project!
LINK: https://www.pcbway.com/sponsor.html
Don't worry, I wouldn't get anything if you decide to try their services. I just wanted to help.
Sources Used For Inspiration and Code:
http://www.gammon.com.au/switches
http://forum.arduino.cc/index.php?topic=273932.0
https://www.instructables.com/id/How-to-use-a-Buzzer-Arduino-Tutorial/
******************************************************************************
Social Media Links To Follow (I mean, if you want to):
Facebook - https://fb.me/HeathenHacks
Twitter - https://twitter.com/HeathenHacks
Instagram - https://instagr.am/HeathenHacks
******************************************************************************

EXPANDED TECHNICAL DETAILS
Non-Contact Fluid Monitoring
This upgraded version of the Doggo Water Monitor focuses on reliability and automated maintenance for pet owners.
- Ultrasonic Level Detection: Uses an HC-SR04 ultrasonic sensor mounted above the bowl. By measuring the "Time of Flight" of sound waves, the Arduino calculates the exact water depth without contaminating the water with physical probes.
- Smart Refill Logic: If the water level falls below 20%, the Arduino triggers a Peristaltic Pump or a Solenoid Valve to automatically refill the bowl from a reservoir.
Safety Features
- Overflow Protection: Includes a software "Timeout"; if the water level doesn't rise after 10 seconds of pumping (indicating a leak), the system shuts down and triggers a red blinking LED to alert the owner.