Archives for 

Sensors

HC-SR04 Ultrasonic Distance Sensor

hc-sr04-distance-sensor

hc-sr04-distance-sensor

HC-SR04 is one of a proximity sensor. This sensor is very cheap, so many developers that use these sensors to the system they developed.

HC-SR04 can measure distances with ultrasonic wave method. This sensor has two part which is important, namely the transmitter and receiver. The transmitter will throw ultrasonic waves and will be reflected by a particular object. This reflected wave will be captured by the receiver. The delivery time can be determined from the calculation of the transmitting and catching time.

hc-sr04 distance sensor for arduino

hc-sr04 distance sensor for arduino

HC-SR04 has a 4 pin connector: VCC, Trig (T), echo (R), GND. VCC is connected to the voltage of 5V, GND connected to Ground, Trig (T) is connected to the data pin microcontroller, and echo (R) is connected to the data microcontroller (different pin).

– Model: HC-SR04
– Color: Blue + Silver
– Working voltage : 5V(DC)
– Static current: Less than 2mA.
– Output signal: Electric frequency signal, high level 5V, low level 0V.
– Sensor angle: Not more than 15 degrees.
– Detection distance: 2cm~450cm.
– High precision: Up to 3mm
– Mode of connection: VCC / trig(T) / echo(R) / GND
– Module Working Principle:
– Adopt IO trigger through supplying at least 10us sequence of high level signal
– The module automatically send eight 40khz square wave and automatically detect whether receive the returning pulse signal
– If there is signals returning, through outputting high level and the time of high level continuing is the time of that from the ultrasonic transmitting to receiving

 

hc-sr04 distance sensor and arduino wire

hc-sr04 distance sensor and arduino wire

For example, you can connect Trig (T) pin and echo (R) pin on the Arduino Uno as shown above. In the picture can be seen that Trig is connected to the pin number 11 and the echo is connected to the pin number 12. For source code and the programming tutorial you can read here.

Water Flow Meter Sensor for Arduino

Water flow sensor for arduino tutorial

Water flow sensor for arduino tutorial

Water flow meter sensor is a sensor that can detect the speed of water flow.

One of a flow sensor that is often used is the production of seeedstudio. Water flow meter sensor works based on half-effect sensors that are inside.

Half-effect sensors work by rotation of the turbine that is rotated by the flow of water. Water flow meter sensor is wrapped with a plastic body which has two holes as input and output streams.

Water flow sensor for arduino tutorial

Water flow sensor for arduino tutorial

Specifications Water Flow Meter Sensor

Mini. Wokring Voltage DC 4.5V
Max. Working Current 15mA(DC 5V)
Working Voltage 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 ≤2.0MPa
Storage Temperature -25℃~+80℃
Storage Humidity 25%~95%RH

 

Water flow datasheet

Water flow datasheet

Water flow arduino datasheet

Water flow arduino datasheet

Components of the water flow meter sensor

No. Name Quantity Material Note
1 Valve body 1 PA66+33%glass fiber
2 Stainless steel bead 1 Stainless steel SUS304
3 Axis 1 Stainless steel SUS304
4 Impeller 1 POM
5 Ring magnet 1 Ferrite
6 Middle ring 1 PA66+33%glass fiber
7 O-seal ring 1 Rubber
8 Electronic seal ring 1 Rubber
9 Cover 1 PA66+33%glass fiber
10 Screw 4 Stainless steel SUS304 3.0*11
11 Cable 1 1007 24AWG

 

You can read data from these sensors water flow meter with arduino. For example, the schematic diagram will assist you in arranging a water flow meter in the arduino.

water-flow-sensor-for-arduino

water-flow-sensor-for-arduino