Description
What it is
The G1/2 DN15 Magnetic Flow Meter is a Hall Effect water flow sensor that allows monitoring of water flow in various devices and projects. This sensor, made of brass, fits perfectly into domestic or industrial plumbing systems.
Features
- Connection Type: G1/2 DN15
- Power Supply Variables: 5V-12V
- External Material: Brass
What it is for
This sensor is ideal for hobbyists, makers, and professionals who want to monitor water flow in automatic irrigation systems or for domestic applications. You can easily connect it to an Arduino or other compatible boards like ESP8266 to send data to the cloud.
Tutorial: How to Use the G1/2 DN15 Water Flow Sensor
The G1/2 DN15 water flow sensor is a useful component for monitoring water flow in various devices and projects. Ideal for hobbyists, makers, and professionals working on automatic irrigation systems or home monitoring.
What you need
- Arduino Uno
- USB Connection
- Jumper Wire M/F
Steps
- Connect the sensor to the G1/2 DN15 water tap.
- Check the proper power supply for the sensor (5V-12V).
- Connect the VCC, GND, and OUT pins of the sensor to the Arduino using jumper wires.
- Open the Arduino IDE software and upload the sketch to read data from the sensor.
- Monitor the serial communication in Arduino IDE to see the flow values.
- Check the datasheet to calibrate the sensor according to the specific project requirements.
Example code
void setup() {
Serial.begin(9600);
}
void loop() {
int val = analogRead(A0); // leggi dal pin di output del sensore
Serial.println(val);
}
Mini project
Create a garden water monitoring system. Connect the sensor to an Arduino and send the data to the cloud using an ESP8266 board.
Common mistakes
- Connecting the sensor with reversed polarity.
- Not verifying the correct power supply for the sensor.
- Ignoring the calibration needed to obtain accurate measurements.
- Not checking the serial data to verify its correctness.
Recommended accessories
- Arduino Uno
- ESP8266 NodeMCU
- LiPo Battery
- Relay Module
Frequently asked questions
Does the sensor work with voltages below 5V?
Check the datasheet for power supply tolerance.
Can I connect multiple sensors to my Arduino?
Yes, but make sure the pins used are not in conflict and consider using a multiplexer.








Reviews
There are no reviews yet.