This is the most basic "Example" firmware for MinipH in Arduino
Switch branches/tags
Clone or download
SparkysWidgets Merge pull request #4 from phpfs/master
Added RaspberryPi Python3 Scripts
Latest commit 8b0ebf7 Jun 19, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BeagleBone Moved BeagleBone files into separate directory Mar 13, 2015
RaspberryPi - Python3 Added RaspberryPi Python3 Scripts Jun 14, 2016
MinipH.ino Updated README slightly and to reflect changes by egalpin Mar 14, 2015
README.md README updates Apr 3, 2015

README.md

Welcome To: MinipH Basic Example Firmware!!

Note: This is for the MinipH Hardware Version 1 Branch
Special Thanks to Evan Galpin https://github.com/egalpin for the Python Code examples!

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.

Adding pH Sensors has never been easier

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

Whats in the firmware?

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:

Installation Info

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!!

Basic Usage

Usage of MinipH example code is very easy. There are only a few commands, but that doesn't mean you cant augment this further.

####Some of the commands are:

  • See the MiniLib libraries for better(More recent) commands and example code!!

Hardware: Schematics and Layouts

  • 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!

Planned Additions

  • Add support for MiniLib Library to consolidate all interface firmware under a common library core
  • Add support for additional languages (I.E examples like egalpin/pythonify fork of the firmware)

License Info

This is a fully open source project released under the CC BY license

Creative Commons License
MinipH by Ryan Edwards, Sparky's Widgets is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License.
Based on a work at https://www.sparkyswidgets.com/portfolio-item/miniph-i2c-ph-interface/