|
02/03/2007, 07:59 AM | #101 | |
Registered Member
Join Date: Nov 2005
Location: Ayer, MA USA
Posts: 12
|
Quote:
Thanks! -Mike |
|
02/03/2007, 08:18 AM | #102 |
Registered Member
Join Date: Sep 2003
Location: Mi
Posts: 155
|
I used a 4-20ma pH transmitter with my DS2450. It has a span adjustment, so I adjusted it so the voltage output would to be between 0 and 2.5 volts (the DS2450 is in 0 - 2.5 v mode) within the ph7 and ph10 range. Here is the formula I'm using.
ph7 = voltage with ph7 calibration fluid (currently 1.145) ph10 = voltage with ph10 calibration fluid (currently 2.465) slope = (ph10 - ph7) / 3 pH = 7 + ((voltage - ph7) / slope) If you don't have temperature compensation, then the calibration fluid should be the same temperature as the tank. |
02/03/2007, 09:14 AM | #103 | |
Registered Member
Join Date: Mar 2004
Location: St. Paul, MN
Posts: 162
|
I don't remember the where exactly I found the formula off the top of my head, but here's the perl script I use. I found it to be as accurate as my pH meter (actually more since I trusted it to 2 decimal places whereas my pH meter only does one decimal place - I found anything beyond 2 decimal places was just random noise and not reliable IMO due to DS2450 accuracy).
The real accuracy is based on the slope & offset of ph Probe (calibration constants) and finding the actual nominal offset of the vernier pH amplifer - they say it's 1.2v but I found mine to be more like 1.175v. Quote:
|
|
02/03/2007, 09:24 AM | #104 | |
Registered Member
Join Date: Mar 2004
Location: St. Paul, MN
Posts: 162
|
Quote:
This is the vernier one I used: http://www.vernier.com/probes/ea-bta.html I bought mine from http://www.schoolmart.com/index.asp?...ROD&ProdID=226 for $40 + 5 s/h |
|
02/03/2007, 09:54 AM | #105 |
Registered Member
Join Date: Sep 2003
Location: Mi
Posts: 155
|
This is the pH transmitter I'm using:
http://www.sensorex.com/products/ph_...nsmitters.html I found it on eBay for about $30 |
02/03/2007, 09:57 AM | #106 | |
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,772
|
Quote:
The STAPLES PHOTO paper is the stuff to use. I do not have a part number off hand. I have also been using Muriatic + Peroxide instead of ferrich chloride. I like the results much better, but must do it outside due to the fumes. |
|
02/03/2007, 01:17 PM | #107 |
Registered Member
Join Date: Jan 2004
Location: Newark DE
Posts: 3,393
|
bad inferno, does your screen shot there actually work? Like is that a screen shot of a live image or just the layout you plan to use when things work out.
I have wanted to get my PC doing that sort of stuff for a long time, but any time I get started I'm told I have to just pick any random ph probe, figure out how it works on my own, then type the code on my own. I don't have the time or background to do that. |
02/06/2007, 07:18 PM | #108 |
Registered Member
Join Date: Jan 2004
Location: Placerville, CA.
Posts: 318
|
Yes, I am watching. I just now got (and promptly took apart) a WTR54G router to use in making my setup. I just need to get a source for the parts needed for the 1 Wire. I see lots of spec sheets, but no where to get the parts. First on the list is the parts for the serial interface to the WRT.
bigreddastud: Do you have a file for the PC board? I have been downloading those I find built in Eagle (free addition) so I can start building them when I get parts.
__________________
"When you are up to your @$$ in alligators, it is difficult to remind yourself your initial objective was to drain the swamp." Current Tank Info: A couple hundred Gal of saltwater in my home office waiting for my laptop to get closer. |
02/06/2007, 07:48 PM | #109 |
Registered Member
Join Date: Jan 2004
Location: Newark DE
Posts: 3,393
|
Some one PLEASE tell me where to order a small quantity of 1 Wire parts from. I ran into the same thing, lots of info, but no ordering pages. You think they would make it easier for you to give them your money, lol. I suppose I was mostly on manufacture pages and they weren't worried about the couple of parts I would have bought.
|
02/06/2007, 08:01 PM | #110 |
Registered Member
Join Date: Nov 2005
Location: Ayer, MA USA
Posts: 12
|
|
02/07/2007, 02:44 AM | #111 |
Registered Member
Join Date: Jul 2006
Location: Australia
Posts: 123
|
Gordonious...Yes its live and has web server functions so I can get this web interface from anywhere.
It runs on a web server/1wire NSLU2 device. Only draws 5watts, has Hard disk attached....I use 1wire to monitor the following and also log this data so I can provide trends for the web site. It can also send out email/SMS alerts if any parameter is over a select value Measurements ph Conductivity Tank Temperature Ambient Temperature Outside temperature Turbine flow meter monitors water pumped out of aquarium Outside water reservoir level 0-110litres & temperature I don't know what the total cost is however NSLU2 US80.00 Hard disk =X.XX Find an old one ! 1 wire/USB device US25.00 1 wire devices US5.00 per temperature US12.00 for 4 channel A/D Water level based upon pressure sensor, ebay US5.00 for the sensor and some electronics to make it 4-20ma ~US20.00 PH transmitter Foxboro 873 US25.00 ebay pH electrode US20.00 ebay Conductivity transmitter Foxboro 873 US150.00 pH & Conductivity by Foxboro is far superior than any Aquarium monitor you could buy plus it provides an output 4-20MA. They also have two alarm contacts biult in so you can dose, in my case, CO2, to control the Ph This graph shows water changes. You can see the grey area show the accumulated water change for the week (resets on Sunday night), blue line show how much was pumped out, Green line shows level in litres in the water tank, and the temperature being red. I currently have two solenoids that allow me to drain water out of the tank and pump water back into the tank. |
02/07/2007, 09:23 AM | #112 |
Registered Member
Join Date: Mar 2004
Location: St. Paul, MN
Posts: 162
|
You can also a limited number of get free sample 1-wire chips directly from dallas-maxim
http://www.maxim-ic.com/1-Wire.cfm I think you can request up to 3 each of 3 different devices every few months. |
02/07/2007, 09:24 AM | #113 |
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,772
|
Can you please elaborate on your choice of flow sensor and interface for it.
|
02/07/2007, 11:22 AM | #114 |
Registered Member
Join Date: May 2006
Location: Crescent City, CA
Posts: 60
|
ya I would love some more info on your setup. Is there a thread that talks about that design somewhere?
|
02/07/2007, 11:51 AM | #115 |
Registered Member
Join Date: Dec 2005
Location: Columbus, OH
Posts: 1,988
|
Neat project. I'd rather see it on a Linksys, but that's just me. Stand alone, small footprint and what not. If I get some time, maybe I'll try to get on board! Good luck
|
02/07/2007, 12:14 PM | #116 |
Registered Member
Join Date: Jan 2004
Location: Newark DE
Posts: 3,393
|
bad inferno, I am going to order a lot of the things you mentioned there you think you can help me through getting some of it connected? Instead of using the NSLU2 do you think something like the WRT350N could work? Same company and same concept I think, just has different stuff attached to it. I didn't know if I needed to modify it in any way or if the hardware was too different to work with. I was already planning on purchasing one.
|
02/07/2007, 02:25 PM | #117 |
Registered Member
Join Date: Jul 2006
Location: Australia
Posts: 123
|
I know the linksys NSLU2, with unslung firmware mod, coupled with owfs works great....for 1 wire...and no reason to keep a power hungry PC running 24/7...NSLU2 is better than a wrt54G router as you can attached a hard disk to record all your readings/web pages and create a photo album on your site. Beware you will need to know a few linux commands......Make sure you have a plan and understand what you want out of the system before buying anything ! ie do you want X10 control's.....at this stage I am only monitoring, next phase is digital outputs for control however am thinking hard on how to make sure it is secure and very reliable.
I am in the process of writing an overview of my project...should be finished in a couple of weeks http://www.nslu2-linux.org/ http://www.owfs.org/ cheers rob |
02/07/2007, 02:30 PM | #118 |
Registered Member
Join Date: Sep 2004
Location: Bostonian in Chicago going to DC
Posts: 9,908
|
I may not understand something here, and I haven't looked at the specs for what each pin does, but 1-Wire runs on Rj45, correct? Would there be any way to hack the drivers to use the RJ45 ports already built in to read 1-wire sensors?
Just seems like an awful lot of work to get back to the point we were already at.
__________________
NO TANKS!!! |
02/07/2007, 02:37 PM | #119 | |
Registered Member
Join Date: Mar 2004
Location: St. Paul, MN
Posts: 162
|
Quote:
OWFS, wraps all that low-level communication junk up for us. So no need to do massive hardware hacking to do what you are suggesting. |
|
02/07/2007, 03:14 PM | #120 |
Registered Member
Join Date: Sep 2004
Location: Bostonian in Chicago going to DC
Posts: 9,908
|
I was thinking, that it would be possible if Linksys/etc was doing most of the processing in software. If theyre doing it in hardware, forget it.
Anyone happen to have a diagram on the voltages of an ethernet connector?
__________________
NO TANKS!!! |
02/07/2007, 03:42 PM | #121 |
Registered Member
Join Date: Dec 2005
Location: Columbus, OH
Posts: 1,988
|
That's a good idea. I'm sure that it would be possible if written in software, but as Rich said, you'd really need to be a driver writing guru. Chances are it only has one stack, so using it for real Ethernet would then be out of the question.
Being such a small device, I would imagine that the network connectivity portion would be in hardware. You'd need to simply look up a few chips on the mobo to find out, |
02/07/2007, 03:48 PM | #122 |
Registered Member
Join Date: Sep 2004
Location: Bostonian in Chicago going to DC
Posts: 9,908
|
Right, that was my point, if its hardware, the ports are useless. If its software, then it takes away the need to solder things. That being said, you'd need to be able to write the drivers.
They're most likely hardware, so its probably a dead end.
__________________
NO TANKS!!! |
02/07/2007, 04:04 PM | #123 |
Registered Member
Join Date: Dec 2005
Location: Columbus, OH
Posts: 1,988
|
You could use an Ethernet to RS-232 converter and then use a 1-wire to RS-232 convertor, although it might complicate things somewhat.
Oh wait, here you go.. Ethernet to 1-wire? http://www.embeddeddatasystems.com/p...PROD/HA/HA7Net |
02/07/2007, 04:38 PM | #124 |
Registered Member
Join Date: Sep 2004
Location: Bostonian in Chicago going to DC
Posts: 9,908
|
eh, $150.. Not useful enough for that.
__________________
NO TANKS!!! |
02/08/2007, 03:24 AM | #125 |
Registered Member
Join Date: Jul 2006
Location: Australia
Posts: 123
|
1wire interface....you are better of using the dallas 9490 series as its the fastest usb/1wire converter and works well if going the linksys route. I also understand you can make your own serial to 1wire converter.
"Beananimal" Flow meter.....I use a turbine flow meter from radio spares .3 - 6 litres per minute. (I think) cost ~US50.00 ...they have various sizes. It provides pulses out proportional to flow rate. Mine gives out 4000 pulses per litre thus I use the 1wire pulse counter with internal battery. It just counts and stores the pulses. I just read the pulses and divide by 4000 to read litres. I also capture the number of pulses on sunday nights and also at midnight every day thus I can calculate flow for the week and for the day. The counter never resets unless it overflows the 32 bit internal counter. Thats why you subtract current value of the counter from the stored value at midnight the night before. I just pop the Sunday and midnight readings into a simple script file, called weekly and daily Couter http://www.hobby-boards.com/catalog/...products_id=42 cheers rob |
|
|