Hi all i am making a total pond control device but i need some help :D
what are my objectives
Logging devices
X read and log PH
read and log KH
read and log GH
X read and log 3 times temperature 2 in the water 1 above 2m
x read and log Redox
X read and log Dissolved oxygen
X read and log Nitrate
read and log Nitrite
read and log Ammonia/NH3
X read and log water level (Analog high~low switch 3 wires 1-+ 1-S1 2-S2)
read and log chlorine
X read and log water-flow
X read and log UVC on time 2x
Al these things must be showing on lcd screen and web-site except water level
Control Devices
4 x relay pump
2 x relay UVC
2x relay Lighting
1x relay solenoid water fill
1x relay Pond heather
3x or more extra relays
everything must have a button or true touchscreen
Modules
wifi
bluetooth
i think the mega 2560
Ethernet for replacement for wifi
Big lcd touchscreen 12.1" (4x3) waterproof
if its possible to ad a web-cam showing on website
what for modules do i need more
Al these things must be read and controlled true a website
So will this work or can it work i hope so :sweat_smile:
The question is too unspecific. Presumably you are not expecting a full wiring diagram and code template. This could be a largish project, but can be segmented into several smaller problems, if and when you encounter them, where you can ask about one at a time in the specific areas. To give an example of why your specification is too broad at this moment:
"Read and log" - how often do we need the update? (Guess: It is a large body of water. Once an hour?) How long do you need to log? (Guess between the times you upload to the pc. A few weeks?)
You mention 13 "probes" to measure&log. Fortunatly your Mega has 16 analog inputs. Your probes need to deliver a 0-5V (or 0-3.3V) signal.
You mention 13 outputs plus another 13 (or 26?) inputs. No problem there, as long as you use some transistor circuit to switch the relays.
The LCD screen I have no comments. You know it is 12.1 inches (that is nice and precise measurement) but do not mention characterbased, colour, graphic, resolutin or anumber of other items. It will come with its own controller (presumably) and that is more important to know than its size or water resistance (how many meters depth?)
I presume you already have choosen or purchased some or all sensors? You may be fortunate that someone in the sensors topic area has suggestions for some of them, if not.
IMHO the project is quite doable - except for the large choice of connectivity, if you expect your Mega to handle all of them. It might for example be good to an (old) pc to handle the webserver stuff and just let it have some simple serial/wireless to the Arduino.
Lcd will be full color the rest i dont now but i need a 12,1Inch screen ore it will be to small
There are no LCD screens of that size that the Arduino can drive. Look at how many pixels such a screen would involve, and figure out how many bytes of memory it would require to define a color for each pixel. Subtract that amount of memory from the amount of memory that the Arduino has. I don't think that you will have a positive number as a result.
Perhaps a PC interface, since you are talking wifi or ethernet, would make more sense.
I would suggest looking at some of the reef controller builds that have been documented, they will be similar.
That is a lot of probes you want to use. Do ammonia/nitrite/nitrate really need to be checked that often? If I were logging those on my reef tanks, I would see nothing but zeroes after the tank is cycled.
RE: the LCD screen, you might want something like http://c-more.automationdirect.com/hardware/12_tft.html which would get data from your arduino over ethernet or serial. But is only "splash proof" not "water proof". But, no buttons needed!
PaulS:
I hope that you don't think those numbers are accurate to 10 decimal places.
i think im going to use the DS18B20 whit 2 decimal places i dont need the humidity sensor
Paulcet:
RE: the LCD screen, you might want something like http://c-more.automationdirect.com/hardware/12_tft.html which would get data from your arduino over ethernet or serial. But is only "splash proof" not "water proof". But, no buttons needed!
is very expensive lcd screen
jvdb:
I would suggest looking at some of the reef controller builds that have been documented, they will be similar.
That is a lot of probes you want to use. Do ammonia/nitrite/nitrate really need to be checked that often? If I were logging those on my reef tanks, I would see nothing but zeroes after the tank is cycled.