PH_meter_SKU__SEN0161_-DFRobot
Có thể bạn quan tâm
- HOME
- COMMUNITY
- FORUM
- BLOG
- LEARN
HOMECOMMUNITYFORUMBLOGLEARN - DFRobot Products (DFR) Index
- Sensor (SEN) Index
- SEN0311 A02YYUW Waterproof Ultrasonic Sensor
- SEN0307 URM09 Ultrasonic Sensor Gravity Analog
- SEN0305 HUSKYLENS AI Machine Vision Sensor
- SEN0304 URM09 Ultrasonic Sensor (Gravity-I2C) (V1.0)
- SEN0289 Gravity: Digital Shake Sensor
- SEN0264 TS01 IR Thermal Sensor (4-20mA)
- SEN0262 Gravity Analog Current to Voltage Converter (4~20mA)
- SEN0259 TF Mini LiDAR ToF Laser Range Sensor
- SEN0257 Gravity Water Pressure Sensor
- SEN0253 Gravity BNO055 + BMP280 intelligent 10DOF AHRS
- SEN0251 Gravity BMP280 Barometric Pressure Sensors
- SEN0250 Gravity BMI160 6-Axis Inertial Motion Sensor
- SEN0249 Gravity Analog Spear Tip pH Sensor Meter Kit For Soil And Food Applications
- SEN0248 Gravity I2C BME680 Environmental Sensor VOC, Temperature, Humidity, Barometer
- SEN0246 URM08-RS485 Waterproof Sonar Range Finder
- SEN0245 Gravity VL53L0X ToF Laser Range Finder
- SEN0244 Gravity Analog TDS Sensor Meter For Arduino
- SEN0240 Analog EMG Sensor by OYMotion
- SEN0237 Gravity Analog Dissolved Oxygen Sensor
- SEN0235 EC11 Rotary Encoder Module
- SEN0236 Gravity I2C BME280 Environmental Sensor Temperature, Humidity, Barometer
- SEN0232 Gravity Analog Sound Level Meter
- SEN0231 Gravity HCHO Sensor
- SEN0230 Incremental Photoelectric Rotary Encoder - 400P R
- SEN0228 Gravity I2C VEML7700 Ambient Light Sensor
- SEN0227 SHT20 I2C Temperature & Humidity Sensor Waterproof Probe
- SEN0226 Gravity I2C BMP280 Barometer Sensor
- SEN0224 Gravity I2C Triple Axis Accelerometer - LIS2DH
- SEN0223 Conductivity Switch Sensor
- SEN0221 Gravity Hall Angle Sensor
- SEN0220 Infrared CO2 Sensor 0-50000ppm
- SEN0219 Gravity Infrared CO2 Sensor For Arduino
- SEN0214 20A Current Sensor
- SEN0213 Heart Rate Monitor Sensor
- SEN0212 TCS34725 I2C Color Sensor For Arduino
- SEN0206 IR Thermometer Sensor MLX90614
- SEN0205 Liquid Level Sensor-FS-IR02
- SEN0204 Non-contact Liquid Level Sensor XKC-Y25-T12V
- SEN0203 Heart Rate Sensor
- SEN0197 Voice Recorder-ISD1820
- SEN0192 MicroWave Sensor
- SEN0187 RGB and Gesture Sensor
- SEN0186 Weather Station with Anemometer Wind vane Rain bucket
- SEN0185 Hall sensor
- SEN0178 Triple Axis Accelerometer FXLN83XX Series
- SEN0177 PM2.5 laser dust sensor
- SEN0175 UV Sensor v1.0-ML8511
- SEN0172 LX1972 ambient light sensor
- SEN0170 Wind Speed Sensor Voltage Type 0-5V
- SEN0169 Analog pH Meter Pro
- SEN0165 Analog ORP Meter
- SEN0161-V2 Gravity Analog pH Sensor Meter Kit V2
- SEN0161 PH meter
- SEN0160 Weight Sensor Module
- SEN0159 CO2 Sensor
- SEN0153 URM07-UART Ultrasonic Sensor
- SEN0152 URM06-ANALOG Ultrasonic
- SEN0151 URM06-PULSE Ultrasonic
- SEN0150 URM06-UART Ultrasonic
- SEN0149 URM06-RS485 Ultrasonic
- SEN0147 Smart Grayscale sensor
- SEN0143 SHARP GP2Y0A41SK0F IR ranger sensor 4-30cm
- SEN0140 10 DOF Mems IMU Sensor V2.0
- SEN0137 DHT22 Temperature and humidity module
- SEN0132 Carbon Monoxide Gas Sensor MQ7
- SEN0121 Steam Sensor
- SEN0114 Moisture Sensor
- SEN0101 TCS3200 Color Sensor
- SEN0097 Light Sensor
- SEN0085 Sharp GP2Y0A710K Distance Sensor 100-550cm
- SEN0073 9 Degrees of Freedom - Razor IMU
- SEN0072 CMPS09 - Tilt Compensated Magnetic Compass
- SEN0043 TEMT6000 ambient light sensor
- SEN0042 DFRobot Infrared sensor breakout
- SEN0038 Wheel Encoders for DFRobot 3PA and 4WD Rovers
- SEN0032 Triple Axis Accelerometer Breakout - ADXL345
- SEN0019 Adjustable Infrared Sensor Switch
- SEN0018 Digital Infrared motion sensor
- SEN0017 Line Tracking Sensor for Arduino V4
- SEN0014 Sharp GP2Y0A21 Distance Sensor 10-80cm
- SEN0013 Sharp GP2Y0A02YK IR ranger sensor 150cm
- SEN0008 SRF10 Ultrasonic sensor
- SEN0007 SRF08 Ultrasonic Sensor
- SEN0006 SRF05 Ultrasonic sensor
- SEN0005 SRF02 Ultrasonic sensor
- SEN0004 SRF01 Ultrasonic sensor
- SEN0002 URM04 V2.0
- SEN0001 URM37 V5.0 Ultrasonic Sensor
- Telecom Module (TEL) Index
- Motor Driver (DRI) Index
- Fitting (FIT) Index
- Robot (ROB) Index
- micro:bit (MBT) Index
- Kit (KIT) Index
- Toy (TOY) Index
- Servos (SER) Index
- What is XX series
- How to select series
- How it works series
- PinPong Library
- Introduction
- Applications
- Specification
- Board Overview pH Electrode SizepH Electrode Characteristics
- Tutorial Connecting DiagramStep to Use the pH MeterSample CodePrecautions
- FAQ
- More Documents

Introduction
Need to measure water quality and other parameters but haven't got any low cost pH meter? Find it difficult to use with Arduino? Here comes an analog pH meter, specially designed for Arduino controllers and has built-in simple, convenient and practical connection and features. It has an LED which works as the Power Indicator, a BNC connector and PH2.0 sensor interface. To use it, just connect the pH sensor with BNC connector, and plug the PH2.0 interface into the analog input port of any Arduino controller. If pre-programmed, you will get the pH value easily. Comes in compact plastic box with foams for better mobile storage. Attention:In order to ensure the accuracy of the pH probe, you need to use the standard solution to calibrate it regularly.Generally, the period is about half a year. If you meaure the dirty aqueous solution, you need to increase the frequency of calibration.
Applications
- Water quality testing
- Aquaculture
Specification
- Module Power : 5.00V
- Module Size : 43mm×32mm
- Measuring Range:0-14PH
- Measuring Temperature :0-60 ℃
- Accuracy : ± 0.1pH (25 ℃)
- Response Time : ≤ 1min
- pH Sensor with BNC Connector
- PH2.0 Interface ( 3 foot patch )
- Gain Adjustment Potentiometer
- Power Indicator LED
- Cable Length from sensor to BNC connector:660mm
Board Overview
pH Electrode Size
pH Electrode Characteristics
The output of pH electrode is Millivolts,and the pH value of the relationship is shown as follows (25 ℃):
Tutorial
Connecting Diagram
Step to Use the pH Meter
Cautions:
-
Please use an external switching power supply,and the voltage as close as possible to the +5.00V. More accurate the voltage, more higher the accuracy!
-
Before the electrode in continuous use every time,you need to calibrate it by the standard solution,in order to obtain more accurate results.The best environment temperature is about 25 ℃,and the pH value is known and reliable,close to the measured value. If you measure the acidic sample, the pH value of the standard solution should be 4.00.If you measure the alkaline sample, the pH value of the standard solution should be 9.18.Subsection calibration, just in order to get a better accuracy.
-
Before the pH electrode measured different solutions, we need to use water to wash it. We recommend using deionized water.
**(1)**Connect equipments according to the graphic,that is,the pH electrode is connected to the BNC connector on the pH meter board,and then use the connection lines,the pH meter board is connected to the ananlong port 0 of the Arduino controller. When the Arduino controller gets power,you will see the blue LED on board is on. **(2)**Upload the sample code to the Arduino controller. **(3)**Put the pH electrode into the standard solution whose pH value is 7.00,or directly shorted the input of the BNC connector.Open the serial monitor of the Arduino IDE,you can see the pH value printed on it,and the error does not exceed 0.3. Record the pH value printed,then compared with 7.00, and the difference should be changed into the "Offset" in the sample code. For example,the pH value printed is 6.88,so the difference is 0.12.You should change the "# define Offset 0.00" into "# define Offset 0.12" in your program. **(4)**Put the pH electrode into the pH standard solution whose value is 4.00.Then wait about one minute,adjust the gain potential device, let the value stabilise at around 4.00.At this time,the acidic calibration has been completed and you can measure the pH value of an acidic solution. Note:If you want to measure the pH value of other solution,you must wash the pH electrode first! (5) According to the linear characteristics of pH electrode itself, after the above calibration,you can directly measure the pH value of the alkaline solution, but if you want to get better accuracy, you can recalibrate it. Alkaline calibration use the standard solution whose pH value is 9.18.Also adjust the gain potential device, let the value stabilise at around 9.18. After this calibration, you can measure the pH value of the alkaline solution.
Sample Code
Sample code for testing the PH meter and get the sensor feedback from the Arduino Serial Monitor.
/* # This sample code is used to test the pH meter V1.0. # Editor : YouYou # Ver : 1.0 # Product: analog pH meter # SKU : SEN0161 */ #define SensorPin A0 //pH meter Analog output to Arduino Analog Input 0 #define Offset 0.00 //deviation compensate #define LED 13 #define samplingInterval 20 #define printInterval 800 #define ArrayLenth 40 //times of collection int pHArray[ArrayLenth]; //Store the average value of the sensor feedback int pHArrayIndex=0; void setup(void) { pinMode(LED,OUTPUT); Serial.begin(9600); Serial.println("pH meter experiment!"); //Test the serial monitor } void loop(void) { static unsigned long samplingTime = millis(); static unsigned long printTime = millis(); static float pHValue,voltage; if(millis()-samplingTime > samplingInterval) { pHArray[pHArrayIndex++]=analogRead(SensorPin); if(pHArrayIndex==ArrayLenth)pHArrayIndex=0; voltage = avergearray(pHArray, ArrayLenth)*5.0/1024; pHValue = 3.5*voltage+Offset; samplingTime=millis(); } if(millis() - printTime > printInterval) //Every 800 milliseconds, print a numerical, convert the state of the LED indicator { Serial.print("Voltage:"); Serial.print(voltage,2); Serial.print(" pH value: "); Serial.println(pHValue,2); digitalWrite(LED,digitalRead(LED)^1); printTime=millis(); } } double avergearray(int* arr, int number){ int i; int max,min; double avg; long amount=0; if(number<=0){ Serial.println("Error number for the array to avraging!/n"); return 0; } if(number<5){ //less than 5, calculated directly statistics for(i=0;i<number;i++){ amount+=arr[i]; } avg = amount/number; return avg; }else{ if(arr[0]<arr[1]){ min = arr[0];max=arr[1]; } else{ min=arr[1];max=arr[0]; } for(i=2;i<number;i++){ if(arr[i]<min){ amount+=min; //arr<min min=arr[i]; }else { if(arr[i]>max){ amount+=max; //arr>max max=arr[i]; }else{ amount+=arr[i]; //min<=arr<=max } }//if }//for avg = (double)amount/(number-2); }//if return avg; }Precautions
-
The electrode used for the first or long set without re-use, the electrode bulb and the sand core, immersed in the 3NKCL solution activated eight hours.
-
The electrode plug should be kept clean and dry.
-
Electrode reference solution is the 3NKCL solution.
-
Measurement should be avoided staggered pollution between solutions, so as not to affect the accuracy of measurement.
-
Electrode blub or sand core is defiled which will make PTS decline, slow response. So, it should be based on the characteristics of the pollutant, adapted to the cleaning solution, the electrode performance recovery.
-
The electrode should not be long-term immersed in acid chloride solution.
FAQ
| Q&A | Some general Arduino Problems/FAQ/Tips |
|---|---|
| A | For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |
More Documents
Schematic PCB Design layout pH Electrode Manual Arduino Sample Code Zips For All Above New Version Wiki(V2)
Back to TopTừ khóa » Cảm Biến Ph Arduino
-
Cảm Biến Đo Độ PH - Nshop
-
Cảm Biến độ PH Gravity: Analog PH Sensor / Meter Kit For Arduino
-
Cảm Biến đo PH - MLAB
-
Gravity: Analog PH Sensor / Meter Pro Kit For Arduino
-
Cảm Biến đo độ PH - IC ĐÂY RỒI
-
Cảm Biến đo PH - Raspberry Pi
-
PH Meter Arduino, PH Meter Calibration, DIYMORE PH Sensor, PH ...
-
PH Giao Tiếp Arduino, Cảm Biến đo độ PH DFRobot Gravity + ...
-
DIY Ph Meter Using PH Sensor & Arduino With OLED Display
-
Sử Dụng Arduino Tạo Máy đo PH Chính Xác Cao - Điện Tử FUVITECH
-
Gravity: Analog PH Sensor / Meter Kit For Arduino - DFRobot
-
Cảm Biến Đo Độ PH Analog DFRobot - Thegioiic
-
PH Sensor Arduino