This is the base example sketch for using MinipH hardware. The usage is quite straight forward 😎. MinipH digitizes the analog voltage from the pH AFE using an I2C ADC.
Using MinipH with any project is extremely easy, the MCP3221 is a very popular ADC which is easy to work with whether you use Arduino or any other method, even BitBanging over a FTDI USB to Serial!
Please see MinipH's Project page for more information! http://www.sparkyswidgets.com/Projects/MinipH.aspx
Not too Much really! The flow is very straight forward. Set up our I2C (2Wire, Aka "Wire") interface assign the address of our ADC. Then we can ask it for its MSB and LSBs, put them together to form the 12 bit reading back and bobs your uncle :aus:
The best part of this design and firmware is nothing extra to install. copy paste, clone whatever you method all you need is similar hardware and this code!!
Usage of MinipH example code is very easy. There are only a few commands, but that doesnt mean you cant augment this further.
####Some of the commands are:
- I : Calibration and general Info dump
- C7 : set pH7 Calibration point
- C4 : set pH7 Calibration point
- Take a look in MinipH's Hardware Repo for the EAGLE files!
- Check out my USB pH interfaceLeoPhi for a powerful and easy to use USB PH Probe interface!
This is a fully open source project released under the CC BY license
MinipH by Ryan Edwards, Sparky's Widgets is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at http://www.sparkyswidgets.com/projects/MinipH.aspx