EC Electrical Conductivity Breakout (Blue PCB)

EC Electrical Conductivity Breakout (Blue PCB)
EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)EC Electrical Conductivity Breakout (Blue PCB)
รหัสสินค้า AS10323
หมวดหมู่ วัดสภาพแวดล้อมและแก๊ส Environmental / Gas
ราคา 980.00 บาท
สถานะสินค้า พร้อมส่ง
จำนวน
ชิ้น
หยิบลงตะกร้า
หนังสือรับรองบริษัท
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay
EC Development Board Blue PCB

ดูตัวอย่าง arduino code การใช้งานได้ที่ Click


Introduction

This analog conductivity meter has the characteristics of simple connection, convenient and practical.After connecting according to the schematic diagram, and then through program control, it is very convenient to measure the conductivity of the solution.
The most important thing is that we open source all the design and code. Users can easily collect conductivity data through Arduino for further control and research. Fans are welcome to research and share and provide valuable feedback.
 
Conductivity is the ability of a substance to carry a current and is the reciprocal of resistivity. In the liquid, the electrical resistance of the electrical resistance is often measured by the reciprocal of the electrical resistance. The conductance of water is a very important indicator of water quality, and it reflects the extent of electrolytes present in the water. The degree of conductivity of the solution varies depending on the concentration of the electrolyte in the aqueous solution. In the International System of Units, the unit of conductivity is called Siemens/meter (S/m), and other units are: S/m, mS/cm, μS/cm.

 

Applications

  • Water quality testing
  • Water and soil mixed agriculture
  • aquaculture
  • Ornamental aquarium

Parameters

  • Working voltage: +5.00V
  • PCB size: 45mm × 32mm
  • Measuring range: 1ms/cm--20ms/cm
  • Applicable temperature: 5-40 ° C
  • Accuracy: <±10%FS (specific accuracy depends on your calibration accuracy)
  • XH2.54 interface (3 foot patch)
  • BNC interface type conductivity electrode (electrode constant is 1)
  • Conductor electrode cable length: about 60 cm
  • Power Indicator

Wiring

EC Meter ----   Arduino

V            ----    5.0V

G           ----     GND

A           ----     Analog IO (corresponding to the source code)






ตัวอย่างโค๊ด

#include
#define StartConvert 0
#define ReadTemperature 1
 
const byte numReadings = 20;     //the number of sample times
byte ECsensorPin = A0;  //EC Meter analog output,pin on analog 0
byte DS18B20_Pin = 2; //DS18B20 signal, pin on digital 2
unsigned int AnalogSampleInterval=25,printInterval=1000,tempSampleInterval=850;  //analog sample interval;serial print interval;temperature sample interval
unsigned int readings[numReadings];      // the readings from the analog input
byte index = 0;                  // the index of the current reading
unsigned long AnalogValueTotal = 0;                  // the running total
unsigned int AnalogAverage = 0,averageVoltage=0;                // the average
unsigned long AnalogSampleTime,printTime,tempSampleTime;
float temperature,ECcurrent,TempCoefficient,CoefficientVolatge; 
 
//Temperature chip i/o
OneWire ds(DS18B20_Pin);  // on digital pin 2
 
void setup()
{
  Serial.begin(9600);
  // initialize all the readings to 0:
  for(byte thisReading=0;thisReading<numReadings;thisReading++) readings[thisReading]=0;
  TempProcess(StartConvert);   //let the DS18B20 start the convert
}
 
void loop()
{
  if(millis()-AnalogSampleTime>=AnalogSampleInterval)  
  {
    AnalogSampleTime=millis();
     // subtract the last reading:
    AnalogValueTotal = AnalogValueTotal - readings[index];
    // read from the sensor:
    readings[index] = analogRead(ECsensorPin);
    // add the reading to the total:
    AnalogValueTotal = AnalogValueTotal + readings[index];
    // advance to the next position in the array:
    index = index + 1;
    // if we're at the end of the array...
    if (index >= numReadings)
    // ...wrap around to the beginning:
    index = 0;
    // calculate the average:
    AnalogAverage = AnalogValueTotal / numReadings;
  }
  /*
   Every once in a while,MCU read the temperature from the DS18B20 and then let the DS18B20 start the convert.
   Attention:The interval between start the convert and read the temperature should be greater than 750 millisecond,or the temperature is not accurate!
  */
   if(millis()-tempSampleTime>=tempSampleInterval) 
  {
    tempSampleTime=millis();
    temperature = TempProcess(ReadTemperature);  // read the current temperature from the  DS18B20
    TempProcess(StartConvert);                   //after the reading,start the convert for next reading
  }
   /*
   Every once in a while,print the information on the serial monitor.
  */
  if(millis()-printTime>=printInterval)
  {
    printTime=millis();
    averageVoltage=AnalogAverage*(float)5000/1024;
    Serial.print("Voltage: ");
    Serial.print(averageVoltage);  //millivolt average,from 0mv to 4995mV
    Serial.print("mV\tTemperature: ");
    Serial.print(temperature);    //current temperature
    Serial.print("degC\tEC: ");
      
    TempCoefficient=1.0+0.0185*(temperature-25.0);    //temperature compensation formula: fFinalResult(25^C) = fFinalResult(current)/(1.0+0.0185*(fTP-25.0));
    CoefficientVolatge=(float)averageVoltage/TempCoefficient;   
    if(CoefficientVolatge<150) Serial.println("No solution!");   //25^C 1413us/cm<-->about 216mv  if the voltage(compensate)<150,that is <1ms/cm,out of the range
    else if(CoefficientVolatge>3300) Serial.println("Out of the range!");  //>20ms/cm,out of the range
    else
    { 
      if(CoefficientVolatge<=448) ECcurrent=6.84*CoefficientVolatge-64.32;      //1ms/cm<EC<=3ms/cm
      else if(CoefficientVolatge<=1457) ECcurrent=6.98*CoefficientVolatge-127;  //3ms/cm<EC<=10ms/cm
      else ECcurrent=5.3*CoefficientVolatge+4322;                               //10ms/cm<EC<20ms/cm
      ECcurrent/=1000;    //convert us/cm to ms/cm
      Serial.print(ECcurrent,2);  //two decimal
      Serial.println("ms/cm");
    }
  }
}
/*
ch=0,let the DS18B20 start the convert;ch=1,MCU read the current temperature from the DS18B20.
*/
float TempProcess(bool ch)
{
  //returns the temperature from one DS18B20 in DEG Celsius
  static byte data[12];
  static byte addr[8];
  static float TemperatureSum;
  if(!ch)
  {
    if ( !ds.search(addr)) {
        Serial.println("no more sensors on chain, reset search!");
        ds.reset_search();
        return 0;
    }      
    if ( OneWire::crc8( addr, 7) != addr[7]) {
        Serial.println("CRC is not valid!");
        return 0;
    }        
    if ( addr[0] != 0x10 && addr[0] != 0x28) {
        Serial.print("Device is not recognized!");
        return 0;
    }      
    ds.reset();
    ds.select(addr);
    ds.write(0x44,1); // start conversion, with parasite power on at the end
  }
  else
  {  
    byte present = ds.reset();
    ds.select(addr);    
    ds.write(0xBE); // Read Scratchpad            
    for (int i = 0; i < 9; i++) { // we need 9 bytes
      data[i] = ds.read();
    }         
    ds.reset_search();           
    byte MSB = data[1];
    byte LSB = data[0];        
    float tempRead = ((MSB << 8) | LSB); //using two's compliment
    TemperatureSum = tempRead / 16;
  }
  return TemperatureSum;  
}

วิธีการชำระเงิน

ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB

กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ

 

ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ

https://www.arduitronics.com/informpayment

 

บมจ. ธนาคารกสิกรไทย สาขาเซ็นทรัล แจ้งวัฒนะ ออมทรัพย์
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาเซ็นทรัล แจ้งวัฒนะ ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาเซนทรัล พระราม 3 สะสมทรัพย์
ธนาคารทหารไทยธนชาต จำกัด (มหาชน) สาขาเซนทรัล พระราม 3 กระแสรายวัน

เพิ่มเพื่อน

@rfm0967y

ติดต่อสอบถาม

เพิ่มเพื่อน

CATEGORY

Sensors / Modules [1695]

CONTACT US

มือถือ 0887823467 แฟกซ์ 02-0153201

Join เป็นสมาชิกร้านค้า

ร้านArduitronics
ร้านArduitronics
/www.arduitronics.com/
Join เป็นสมาชิกร้าน
2118
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

STATISTICS

หน้าที่เข้าชม15,375,394 ครั้ง
ผู้ชมทั้งหมด5,878,472 ครั้ง
เปิดร้าน21 พ.ค. 2556
ร้านค้าอัพเดท5 ก.ย. 2568

MEMBER

พูดคุย-สอบถาม