Reef-Pi pH-ORP adapter

Roberto_b

New Member
View Badges
Joined
Oct 16, 2018
Messages
19
Reaction score
50
Location
Brescia, IT
Rating - 0%
0   0   0
Hello,
i have finished and posted the project open source for pH/ ORP adapter for Reef-Pi project.
The adapter can be used both for pH or ORP probe (standard with BNC), Ranjib is working to patch software for this adapter.
Is a optocoupled adapter, high resolution , in this way you can prevent any potential problem of leackage current in your tank. Up tp 4 adapter can be used in same time (a dip switch select the address), connected in parallel on I2C bus.

https://github.com/reef-pi/pH-Board

If you have any question or doubt i'm at disposal .

Roberto
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
@Roberto_b I tried uploading the gerbers to Osh Park and encountered the following errors. It looks like Osh Park has a problem with the drill file and board outline. Is there another version of the gerbers that could work with Osh Park?

upload_2018-10-24_21-45-55.png
 
OP
OP
Roberto_b

Roberto_b

New Member
View Badges
Joined
Oct 16, 2018
Messages
19
Reaction score
50
Location
Brescia, IT
Rating - 0%
0   0   0
@Roberto_b I tried uploading the gerbers to Osh Park and encountered the following errors. It looks like Osh Park has a problem with the drill file and board outline. Is there another version of the gerbers that could work with Osh Park?

upload_2018-10-24_21-45-55.png
hello, i don't know the osc park, but in any case .drl is not a gerber file, you can't open it, it's drilling file for dedicated machine, all other files in .zip are gerber.
Outline file is presente, tryt o check the pdf version or different gerber viewver.
let me know if ok, or if you like something more i can try to generate.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
I finally received the boards and parts! Can you confirm that J1 should connect R2 for PH operation?
I realized that I just missed the pH and orp labels on the silkscreen, so I figured out J1. R7 and R8 are not listed in the BOM. I think those are the pull up resistors for i2c, do I need to populate those 2 components for use with rpi and reef-pi?
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I think pull ups for i2c pin are good to have but not a necessity. For me though, the Ezo circuit didn’t work until I added 5v pull up (4.7k)
 
OP
OP
Roberto_b

Roberto_b

New Member
View Badges
Joined
Oct 16, 2018
Messages
19
Reaction score
50
Location
Brescia, IT
Rating - 0%
0   0   0
Hello Michael,
yes, checking schematic & pcd layout pH configuration is done when jumper is closed with R1. See also the picture on github page.
do not mount R7&R8 , they are pull-up to +5V but I2c bus is 3V3, so is necessary use only the pull-up already present on Pi3. As Ranjib said if you use these pull-up the signal from Pi3 will be read alwasy logic 1, too high level signal and they are also out of silicon limit parameters.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
I have assembled the board, but seem to have some problem. The sample program consistently reads a value between 4000 and 4300. That behavior doesn't change when I move the probe to a different solution, or even disconnect the probe. I did confirm that the board is identified using i2cdetect. I haven't done a full trace on continuity to find something that may be a problem.
Maybe you see a clue?

inelbEVh.jpg

Full size image at https://imgur.com/inelbEV
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
Found it! There's a bridge between pins 12 and 13 on ADM3260. I was only able to find it by looking at the high res picture!
It's working great now that I fixed that. I'm reading around -12,000 in the tank now (totally uncalibrated), and around 5800 for RODI water. I can use board this to start working on driver and calibration support in reef-pi pretty soon.

ngtSXIah.jpg
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Found it! There's a bridge between pins 12 and 13 on ADM3260. I was only able to find it by looking at the high res picture!
It's working great now that I fixed that. I'm reading around -12,000 in the tank now (totally uncalibrated), and around 5800 for RODI water. I can use board this to start working on driver and calibration support in reef-pi pretty soon.

ngtSXIah.jpg
Whoa :) , this is super duper exciting :-0)
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
1,974
Reaction score
3,366
Location
Sacramento, CA area
Rating - 0%
0   0   0
Hello,
i have finished and posted the project open source for pH/ ORP adapter for Reef-Pi project.
The adapter can be used both for pH or ORP probe (standard with BNC), Ranjib is working to patch software for this adapter.
Is a optocoupled adapter, high resolution , in this way you can prevent any potential problem of leackage current in your tank. Up tp 4 adapter can be used in same time (a dip switch select the address), connected in parallel on I2C bus.

https://github.com/reef-pi/pH-Board

If you have any question or doubt i'm at disposal .

Roberto

This is very nice :)
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Hello,
i have finished and posted the project open source for pH/ ORP adapter for Reef-Pi project.
The adapter can be used both for pH or ORP probe (standard with BNC), Ranjib is working to patch software for this adapter.
Is a optocoupled adapter, high resolution , in this way you can prevent any potential problem of leackage current in your tank. Up tp 4 adapter can be used in same time (a dip switch select the address), connected in parallel on I2C bus.

https://github.com/reef-pi/pH-Board

If you have any question or doubt i'm at disposal .

Roberto
I've taken some time to understand your design as it's of great interest to me. The PH measurement is on my 'next to do' list and I already have some reference designs, but since your design is specifically made for Reef-PI, this makes it even more interesting. While going through the documentation following questions came up:
- Why are 0603 components used and not 0804 or TH when possible?
- The ADS1119 allows 2 analog inputs, why is only 1 used and not optionally 2?
- Why is port 0x40 used as default? The same port is used for the PCA9685 module.
- Which PH probe are you using, would like to order one as reference
- Need the module to be placed close to the PH probe? Some probes are offered with 3 meter cable. My preference is to make a stacked PH sensor board to my Reef-PI_HAT.

Thanks for sharing your designs!
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Roberto_b i just picked up the ph board from local usps office, thank you . I’ll start working on writing driver for this for reef-pi.
13BF63CB-0E9D-4F92-8DD9-D4F89BF64450.jpeg


Couple of questions, what those two switches does? I am assuming the pins are starting from 5v on the right , and GND is on the left most pin.
 

Form or function: Do you consider your rock work to be art or the platform for your coral?

  • Primarily art focused.

    Votes: 18 7.8%
  • Primarily a platform for coral.

    Votes: 40 17.4%
  • A bit of each - both art and a platform.

    Votes: 155 67.4%
  • Neither.

    Votes: 11 4.8%
  • Other.

    Votes: 6 2.6%
Back
Top