Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20610

BASCOM Project Blog : Watering system Contrioller : NEWTOPIC

$
0
0
I was going to start this part of my automation later on but to give another bascom user some ideas I have started it now. What it is: I need to control the watering of lawns, garden & potted plants. The water is pumped 4.5 meters out of the ground by two pumps, one is a venturi type pump the other a brass turbine type, they are used individually and together depending on the amount of volume needed (with both in use the venturi pump feeds the turbine) the measured efficiency is high with both pumps running as only 25% more power is used as compared to one yet both are the same rating 700watts. So the system will need to decide what pump to run or both pumps, it will need to monitor them for temperature, lack of water and run time. It will need to have a clock running so that events can be triggered we will need some way to enter the time and the events, turn things on & off, send data about this to an outside system so that I can see the state of the system & pumps from my remote location and change the settings remotely. To achieve this I am going to have two RS232 ports one that I can plug a PC into and get & change data, another that can be used for wireless devices controlled by the system, an infrared interface to use a infrared remote control at the unit to change settings or review them, an I2C buss for nearby sensors humidity, temperature etc and a TCPIP port to hook it up for remote control. This should make the system versatile it could be used as a simple watering timer or a complex monitoring system. I am drawing on code from the other projects as these were my way of developing the parts needed to make this work the web-server, the matrix clock, getting more inputs and outputs with 74HC595 & 74HC165, simple clock using CPU clock This is the first stage where I have pulled together code from the other projects its nearly 500 lines with comments and still more to bring in. I will be putting lots of comments in the code to try and make it as informative as possible I welcome comments from others where they see I could have done something better this will help myself and others to learn from it. This is the beginning of the code although it compiles without error it has not yet got to hardware Regards Paul

Viewing all articles
Browse latest Browse all 20610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>