Spiga



 

Arduino pH Meter with USB Interface

LeoPhi is arduino-based pH sensor with USB interface. It can be used as standalone sensor or be part of another embedded system. The project settled on the USB enabled Atmega32u4, which is a fully USB compatible, with 2.5k of RAM and 32K of flash. It is also the chosen MCU for the Arduino Leonardo and allows users a lot of flexibility in adding pH reading and control to any project. Since the release of the Leonardo and Arduino1.0.1 it is very easy to use and program this unit to match whatever a project demands.

Arduino pH Sensor with USB interface


Since there is an on board MCU that is fully programmable it makes communication over various common protocols very easy. The Atmega32u4 supports Serial over USB, Serial over hardware USART, SPI, I2C, 1wire and more. Usage of LeoPhi is very easy, with on board USB a fully CDC compatible bootloader (modified leonardo) all you need to do is plug it in and send some serial commands! Send an S to calibrate to ph 7 solution, F to calibrate to 4 an R to read and etc

Some of the commands are:

    C – Continous Read Mode: Dump readings and data every second
    R – Single pH reading: response “pH: XX.XX” where XX.XX is the pH
    E – Exit continous read mode
    S – set pH7 Calibration point
    F – set pH4 Calibration point: also relalcs probe slope and saves settings to EEPROM
    T – set pH10 Calibration point: also recalcs probe slope and saves settings to EEPROM
    X – restore settings to default and idela probe conditions




Related Posts by Categories



0 Comentar:

Post a Comment