|
09/30/2014, 06:18 PM | #1301 |
Registered Member
Join Date: Aug 2014
Location: NY, Long Island
Posts: 313
|
Instead of doing this tables can you just gather info about temp and weather conditions from a weather website and adjust heaters and lights accordingly ? It shouldn't be that hard. Make a tab in the settings to point to the location which you want to monitor and get info about it water temp/sun state and moon states.
__________________
My build (75 gal DT with 55 gal sump/refugium): http://reefcentral.com/forums/showthread.php?t=2442383 Current Tank Info: 75 gal with 55 gal sump/refugium |
10/01/2014, 12:21 AM | #1302 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
I got my lcd and rtc today and wired up my test circuit on a breadboard and setup the cond sensor.
to those with cond stamps, change the init string to this data.saddr.print("\rresponse,0\rl,0\rc,0\ro,ec,0\ro,tds,0\ro,sg,0\ro,s,1\rk,1.0\rr\r"); The EZO needs the first \r in order to autodetect the baud rate. That is all that is missing. Everything works fine. The calibration part for conductivity is not complete yet. I have to switch over to EC reading, then switch back to S reading after calibration. If you want the LED light on, change the l,0 in the string to l,1 I will also make the EZO stamps work on I2C. I also setup 5 temp sensors using 4.7k pullup and it works fine. But these are just chips and don't have the long wires. |
10/01/2014, 02:17 AM | #1303 | |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
Quote:
Great Barrier Reef Water Temperature peak summer 29C - mid winter (~July) 21C {1Jan=29.00,1Feb=29.00,1Mar=28.75,1Apr=27.75,1May=26.00,1Jun=23.50,1Jul=21.50,1Aug=21.00,1Sept=22.75 ,1Oct=25.25,1Nov=27.75,1Dec=28.25} adjusted Season for UK {1Jan=21.50,1Feb=21.00,1Mar=22.75,1Apr=25.25,1May=27.75,1Jun=28.25,1Jul=29.00,1Aug=29.00,1Sept=28.75 ,1Oct=27.75,1Nov=26.00,1Dec=23.50} Hours of daylight {1Jan=13.50,1FEB=12.38,1MAR=12.15,1APR=11.90,1MAY=11.50,1JUN=11.20,1Jul=11.10,1AUG=11.40,1SEP=11.75, 1OCT=12.25,1Nov=12.73,1DEC=13.10} adjusted Daylight for UK {1Jan=11.20,1FEB=11.10,1MAR=11.40,1APR=11.75,1MAY=12.25,1JUN=12.73,1Jul=13.10,1AUG=13.5,1SEP=12.38,1 OCT=12.15,1Nov=11.90,1DEC=11.50} Great Barrier Reef Water Chemistry Mg/Ca =4.1 PPT Sr/Ca =7.1 PPT Ba/CA =4.4 PPT DO =5.25% Ph =7.99-8.13 SG =1.0212 @ 25C Last edited by Moomin1967; 10/01/2014 at 02:54 AM. |
|
10/01/2014, 03:08 AM | #1304 | |
Registered Member
Join Date: Sep 2014
Posts: 6
|
Quote:
No, actually because I'm using Ethernet for logging purposes (graphs of everything) and touchscreen because I want an independent system. Also the webbrowser / touch interface is slow, even if I'm not using both at the same time. Although I'm moving all static files to a CDN. Last reason is that the Due controller isn't more expensive, so it's more the question, why not? |
|
10/01/2014, 07:27 AM | #1305 |
Registered Member
Join Date: Aug 2004
Posts: 292
|
I unhook the 5v supply from my temp probes and atlas stamps, and start using the arduino 5v. And for a couple of day I wasn't having the problem of the temp going from 0 to the right temp. Its is only in the third probe. This has been running for a few days now. This is what I getting now. Also you can see the spikes in the orp and cond.
|
10/01/2014, 10:00 AM | #1306 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
What is your house temp during Jan in London? If it is closer to 20, then your heater will almost run constantly to keep the tank at 29C. 29C is 84.2F, 21C is 69.8F, I'm not sure anyone would really want to run their tank at that temperature. rrbigdog, can you scan through the temp values on apex to see what the max and min values are? |
|
10/01/2014, 10:01 AM | #1307 | |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
Quote:
For the Void calibration low, cond section I got to this else if (data.type==_cond) { data.saddr.print("T,"); //Temp compensation for calibrate data.saddr.print(getTemp(1)); //Use Ambient Temp Probe dev (1) data.saddr.print("\r"); // data.saddr.print("o,s,0\ro,ec,1\r"); //change probe from S to EC data.saddr.print("cal,dry\r"); //Dry Calibration data.saddr.print("o,s,1\ro,ec,0\r"); //Change back from EC to S } for the void calibrationHigh cond section this else if (data.type==_cond) { data.saddr.print("T,"); //Temp compensation for calibrate data.saddr.print(getTemp(0)); //Use Water Temp Probe dev (0) data.saddr.print("\r"); // data.saddr.print("o,s,0\ro,ec,1\r"); //change probe from S to EC data.saddr.print("cal,one,"); data.saddr.print(val); data.saddr.print("\r"); data.saddr.print("o,s,1\ro,ec,0\r"); //Change back from EC to S } |
|
10/01/2014, 10:08 AM | #1308 | |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
Quote:
I agree, I don't think I would want water T to swing 8C over the year, but so long as the inhabitents arent stressed, I see a $ value in seasonal change. Sorry I was suggesting that in Jan my tank temp was around 21, and in july perhaps 27.5C This approach would save around 20% of the tank heating costs. |
|
10/01/2014, 10:11 AM | #1309 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
There is a trick to clean up your data. using curl command, download the sensor data file as follows curl http://login@ip/sen/2014/09/30.txt>30.txt If the bad data is on Oct 1, just change the path to the correct date. Edit the 30.txt file, look for the outlier data, then fix it and save the file. Then upload it back to the controller curl -0 -T 30.txt http://login@ip/upload/sen/2014/09/30.txt Then check you nice graph again (you need to reload the webpage) |
|
10/01/2014, 10:14 AM | #1310 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
It needs a bit more code change than this. the EC value is continuously read and displayed on the calibration page. I will change this to use two point calibration. |
|
10/01/2014, 10:29 AM | #1311 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
You save heating/cooling cost by matching the tank temp to your house ambient temp. Which is what the current code can do. Set temp control for fan within your house ambient temp range during summer, and set the temp control for heater within your house ambient temp range during winter. This is the simplest temp control design I can think of. If you look at the Apex link jross gave, the way I understand it works is as follows. Say the temp for today is 75F. The apex is programmed to turn the heater on if tank temp gets to 75F-0.5 or 74.5, and turns the fan/chiller on if the temp gets to 75F+0.5 or 75.5. You need to do this in order to maintain the temp of 75F for the day to within 1degree. I can see how this method can keep the temp correct, but I cannot see how it can save on electricity cost. Is this what you were thinking on controlling temp with respect to a given seasonal temp? |
|
10/01/2014, 10:37 AM | #1312 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
wgraham, Can you give me a valid range of values for ORP? and also for PH when used in a calcium reactor. I think a valid salinity range is 29 to 40? I can add code to toss out outlier value readings. |
|
10/01/2014, 10:53 AM | #1313 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
I think one of my jebao wp-25 propeller needs replacement. It stops spinning a day after I clean it. I'll swap it with the other pump just to make sure it is a bad propeller before I order one ($7 on ebay). New wp-25 now sells for $52 (for those building this controller, you can get pump only for $45). I think I paid over $80 for this last December.
|
10/01/2014, 11:33 AM | #1314 | |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
Quote:
To raise water 1C carries a 4% energy penalty. To Cool water 1C carries a upto a 30% energy penalty. So for every 1C I dont have to shift the temp either way will save that energy value. so if I have a constant tank T of 26C, and a 24hr avg temp of 19C I carry an energy penalty of 28%. The energy penalty may widen in the summer where cooling may be required during summer days, and ?some? heating may be required over night. The closer for any period of time the water temp approaches the ambient the lower any energy penalty. Last edited by Moomin1967; 10/01/2014 at 11:38 AM. |
|
10/01/2014, 11:48 AM | #1315 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
I'm not sure I follow, particularly the need to use seasonal temp.
the current temp control setup will do exactly that, minimize fan and heater on time. And you can verify/validate that by going over your outlet logs over this past summer. I check my outlet logs and the fan barely turned on this summer. And during winter, the heater only comes on when it is really cold and during the early morning hours. The objective is to have fan or heater turn on the absolute minimum time. If you can show how using seasonal temp can improve on the simple design (with respect to energy efficiency), I'll implement it. I think the apex design is more for maintaining a seasonal temp, and not about energy efficiency. Ok, I just reviewed my logs. This summer, the fan turned on for 1 hour on hot days only, maybe less than 10 days all summer. The past winter, the heater turned on quite a bit, about 5 hours a day. I think I have to set the temp lower. It was set at 78 and my house thermostat is set lower than that. I might move it down to 72 this winter. Last edited by d0ughb0y; 10/01/2014 at 12:03 PM. |
10/01/2014, 12:31 PM | #1316 | |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
Quote:
However at home the heater spends a lot of time on in the winter, and the cooler is on in the summer. Perhaps it is just a UK thing! damp air, large shift in ambients, we could see a 12C shift in temp in 24hrs. |
|
10/01/2014, 01:12 PM | #1317 | |
Registered Member
Join Date: Jan 2014
Posts: 72
|
Quote:
Min 75 |
|
10/01/2014, 01:32 PM | #1318 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
|
10/01/2014, 01:47 PM | #1319 | |
Registered Member
Join Date: Aug 2004
Posts: 292
|
Quote:
I using 31 to 36 on salinity and orp I'm using 300 to 450. I haven't seen my orp go under 300 and over 450mv |
|
10/01/2014, 02:03 PM | #1320 | |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Quote:
ph 6-10 orp 300-500 cond 30-40 any reading outside of this will be tossed out. I'll change this as needed. |
|
10/01/2014, 03:01 PM | #1321 | |
Registered Member
Join Date: Aug 2004
Posts: 292
|
Quote:
|
|
10/01/2014, 06:10 PM | #1322 |
Registered Member
Join Date: Aug 2014
Location: NY, Long Island
Posts: 313
|
I see you all ignored my message but I found that some companies already using this
http://aquarium-led-controller.com/p...ed-controller/
__________________
My build (75 gal DT with 55 gal sump/refugium): http://reefcentral.com/forums/showthread.php?t=2442383 Current Tank Info: 75 gal with 55 gal sump/refugium |
10/01/2014, 06:57 PM | #1323 |
Registered Member
Join Date: Aug 2014
Location: West Sussex, UK
Posts: 128
|
D0ughB0y,
The Orp calibration solutions are 225 and 125, so Ive had to reduce the lower ORP drop data value to get a calibration. I am getting some very strange readings on ORP. need to have a look at it tomorrow they are up at 900, but its nothing to do with your code. |
10/01/2014, 07:15 PM | #1324 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
Ok, in that case, I have to lower the range to 200.
Staisman, I've mentioned in earlier posts the LED controller code will calculate sunrise and sunset time for a given location. |
10/02/2014, 11:39 AM | #1325 |
Registered Member
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
|
I was adding the fan driver circuit to my test setup yesterday and noticed the arduino voltage regulator running hot. I think the new atlas stamp definitely draws more current than the non EZO verison, plus I have 5 temp sensors. At one point the arduino even shutdown, and the calibration info on the cond stamp got cleared. (wgraham, I think this is what happened to you as well)
So I think it is best to run all the sensors and I2C on a separate 5v power. |
Thread Tools | |
|
|