The Planted Tank Forum banner

Arduino Diy pH probe

21K views 21 replies 4 participants last post by  Jeffww 
#1 ·
Using an atlas scientific ph stamp and AT Mega 2560 arduino. It was really easy to set up and get running (took 5 minutes). I haven't gotten my probe in the mail yet but from running diagnostic commands it works just fine. The next step will be integrating temperature correction and an LCD.

 
See less See more
1
#4 ·
I got a standard bnc ph probe from some shipper in HK. With probes you get what you pay for but it's good enough for our hobby.

The stamp was really easy to set up. The only thing that confused me was that the BNC breakout board had three pins so it looked like VCC was connecting to it. Took me a bit to realize it was a dead end.
 
#6 ·
For me it was cheaper to buy a few packets of callibration fluid than those huge bottles that go bad after 6 months anyways. Also It ended up much cheaper buying a bnc breakout, stamp, and probe and packets separately (around 70 dollars). The arduino mega 2560 and shields and what not added another 44.
 
#8 ·
Yah the directions were all there. Atlas scientific does a really good job at explaining the set up.

All through ebay:

BNC break out and pH stamp were 28 + 8.00 + 6.50 shipping
Calibration fluid was $9 shipped (bought a few packets)
Probe was $17 shipped

I got it all via [Ebay Link Removed]
 
#9 ·
Just a quick question, has anyone gotten a membrane based CO2 meter to work yet? Like using a gas membrane like a kordon bag, vegetable bag or something like that to work with a pH probe?

I happen to have some parafilm I could get a hold of to try and make something workable with.
 
#11 ·
The idea is to use a gas permeable membrane to hold some 4dkh fluid and use the ph meter to measure fluctations in ph and translate to co2 concentration. Using the membrane increases response time for CO2 measurement.
 
#14 · (Edited)
Very interesting projects.

I have one question though. It seems that my probe won't work on 3.3V VCC. On 3.3V the readings constantly fluctuate +/- .2pH on continuous measurement. On 5V it's just fine. Is there a reason this could be happening? I think it's like 1 or two things.

1. I'm using a USB hub to connect to my laptop to power the arduino and probe so there might not be enough power to run everything at the stated voltage.
2. My probe which was shipped from china is just inefficient.

In the event that it's a probe problem is there a way to step up 3.3V to 5V in arduino? I'm worried I won't have enough space to run everything. I saw this thing called a logic level converter but I'm not sure that's applicable in this scenario... I don't have a multimeter with me but I guess I could try plugging it into my DC adapter to see if it works alright.

Or alternatively is there a way to split the 5V into multiple connection points so I can run my LCD and my probe.

edit:

I've read that I can split it through a parallel circuit with any number of devices whose total draw is less than 1A so that I don't fry my components. Does that sound right?
 
#16 ·
Or alternatively is there a way to split the 5V into multiple connection points so I can run my LCD and my probe.

edit:

I've read that I can split it through a parallel circuit with any number of devices whose total draw is less than 1A so that I don't fry my components. Does that sound right?
As mentioned, you can split your 5V line along a breadboard/protoboard and then use some resistors to power both your LCD and pH probe.

Alternatively, you could always just write one pin high so that it's at 5V (less efficient).

As a side note, the Arduino can only provide 500 mA maximum. There are other restrictions on certain pins (i.e. total of X to Y can only be 200 mA, etc). The Arduino website has the specifications for these current draw limitations.
 
#17 · (Edited)
Really? I thought it was a 500ma max if it draws from a computer USB and 900ma if it took from a 9V adapter. Or rather, it would draw since there is no regulator as much as it could until something broke with 900ma being the general safety limit either in built to some arduino or just as a precaution.

edit: also why would I need resistors to bring down the current for the LCD? Why can't I directly wire them in parallel.
 
#18 ·
It is definitely 500 mA maximum if drawn from USB. I am not sure what the maximum total current draw is when using an AC to DC adapter.

Each pin can supply a maximum of 40-50 mA, depending on which board revision you have.

To be honest, if you find yourself needing to draw more than 500 mA, you should be using a separate power supply anyway.
 
#19 ·
That being said, it shouldn't really take that much current to run just a probe (a couple of ma at most) and an LCD though....So dividing the 5V pin seems pretty safe.
 
#20 ·
So I've got the pH displaying on the LCD at this point, working on button controls. However, I'm encountering some really weird problems. When I run the set up on its own directly from the outlet power it gets crazy pH fluctations. It's only stable when it's attached to my computer. I'm starting to think that my adapter is messed up.
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top