Water control project-desc
Pick up any phone or tablet or browser and access an app "cascada" that starts the pumps and energizes the circuits to turn on the waterfall and control the level of the lower pond.
The level of the pond is controlled using a $10 lawn sprinkler relay to inject water into the pond when it falls below a critical level. Water gets added while the pumps are on until it reaches the max level then it goes off. If you turn on the pumps again it doesn't continue filling but waits to inject water til the water falls to the low water sensor.
The water level control is independent of the pond timer, is located in its own circuit box on the porch and is activated whenever the waterfall is on.
The other circuit is connected to the house ethernet and contains a server relays and timers to turn the system on and off. The microcontroller is connected to an Enc28j60 chip that implements a server capable of delivering GET string variables to the microcontroller.
The app is written in HTML5/javascript, resides on http://cascada.sitebuilt.net and uses $.get to send a string to a php script on the that server which transfers it by curl to the external Enc28j60 server located in the house. It does this via a http://www.noip.com/ since the home network's IP can change.