G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]



https://www.youtube.com/watch?v=NLIilod1J9E


*GitHubhttps://github.com/rdiot/rdiot-s135.git


* Specs

Mini. Wokring Voltage: DC 4.5V

Max. Working Current: 15mA (DC 5V)

Working Voltage: DC 5V~24V

Flow Rate Range: 1~30L/min

Load Capacity: ≤10mA (DC 5V)

Operating Temperature: ≤80℃

Liquid Temperature: ≤120℃

Operating Humidity: 35%~90%RH 

Water Pressure: ≤1.75MPa

Storage Temperature: -25~+ 80℃

Storage Humidity: 25%~95%RH


* Content

- Connect

Red ---- 5V

Yellow ----- P10k(5V) ----- D2

Black ----- GND


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004


volatile int NbTopsFan; //measuring the rising edges of the signal

int Calc;                               

int hallsensor = 2;    //The pin location of the sensor : D2

 

void rpm ()     //This is the function that the interupt calls 

  NbTopsFan++;  //This function measures the rising and falling edge of the hall effect sensors signal


void setup()

{

  Serial.begin(9600); 

  pinMode(hallsensor, INPUT);

  attachInterrupt(0, rpm, RISING); //and the interrupt is attached

}


void loop()

{

  NbTopsFan = 0;   //Set NbTops to 0 ready for calculations

  sei();      //Enables interrupts

  delay (1000);   //Wait 1 second

  cli();      //Disable interrupts

  Calc = (NbTopsFan * 60 / 7.5); //(Pulse frequency x 60) / 7.5Q, = flow rate in L/hour


  Serial.print (Calc, DEC); //Prints the number calculated above

  Serial.println (" L/hour"); 

}

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RD IoT RDIoT

댓글을 달아 주세요

Water Level Sensor v1.0 [S094]



https://www.youtube.com/watch?v=oZh0t-vV8pY


*GitHub https://github.com/rdiot/rdiot-s094.git


* Specs

Water Sensor water level sensor is an easy-to-use, cost-effective high level/drop recognition sensor, 

which is obtained by having a series of parallel wires exposed traces measured droplets/water volume in order to determine the water level.

Easy to complete water to analog signal conversion and output analog values can be directly read 


Arduino development board to achieve the level alarm effect.

Rainwater can be used to detect water level detection.

4 M2 screws positioning holes for easy installation.

Operating voltage: DC3.3-5.5V.

Operating current: less than 20mA.

Dimension: 4.1 x 2.2cm; A product for arduino that works with official Arduino boards


* Content

- Connect

GND - GND

VCC - 5V

SIG - A0

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RD IoT RDIoT

댓글을 달아 주세요

Raindrops Detection Sensor Modue (FC-37) [S072]



https://www.youtube.com/watch?v=eqHk8fcdp6g


*GitHubhttps://github.com/rdiot/rdiot-s072.git


* Specs

Product use: rain, rain sensor, can be used for all kinds of weather monitoring, and translated into output signals and AO.

The sensor USES the high quality FR - 04 double material, large area of 5.5 * 4.0 CM, treatment of nickel plating and surface, have fight oxidation, electrical conductivity, and life has more superior performance;

The comparator output, signal clean, good waveform, driving ability is strong, for more than 15 mA;

With potentiometer sensitivity adjustment

The working voltage of 3.3 V to 5 V

The output format: digital switch output (0 and 1) and analog AO voltage output;

Has a fixed bolt hole, convenient installation

Small board PCB size: Approx. 3.2 cm x 1.5 cm

The LM393, use of wide voltage comparator


* Content

- Connect

L + ----- L +

R - ----- R -

 

A0 ----- A0

D0 ----- D2 (TTL ON/OFF)

GND ----- GND

VCC ----- 5V (3.3V~5V)


- Key Code

 nRainVal = analogRead(nRainIn);

  bIsRaining = !(digitalRead(nRainDigitalIn));

  if(bIsRaining)

  {    

    strRaining = "YES";  

  }  

  else

  {    

    strRaining = "NO";  

  }    

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RD IoT RDIoT

댓글을 달아 주세요

Water Level Sensor [S028] 



https://www.youtube.com/watch?v=6MSdCu5QRZk


*GitHub https://github.com/rdiot/rdiot-s028.git


* Specs

Product Name: water level sensor

Operating voltage: DC3-5V

Operating current: less than 20mA

Sensor Type: Analog

Detection Area: 40mmx16mm

Production process: FR4 double-sided HASL

Operating temperature:10℃-30℃

Humidity: 10% -90% non-condensing

Product Dimensions: 62mmx20mmx8mm


* Content

- Connect

- ----- GND

+ ----- 5V

S ----- A0


+ --P220--- D13

- ----- GND


- Key Code

val = analogRead(analogPin); 

if (val > 650)                 

{                               

      digitalWrite(led, HIGH);   // LED ON

}

else

{

      digitalWrite(led, LOW);    // LED OFF

}

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RD IoT RDIoT

댓글을 달아 주세요