Skip to content

This is the most basic "Example" firmware for MinipH in Arduino

Notifications You must be signed in to change notification settings

SparkysWidgets/MinipHBFW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

This is the most basic "Example" firmware for MinipH in Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages