---
title: "Rain Monitoring using WizFi360-EVB-PICO"
url: "https://maker.wiznet.io/charlesKelvin95/contest/rain-monitoring-using-wizfi360-evb-pico/"
markdown_url: "https://maker.wiznet.io/charlesKelvin95/contest/rain-monitoring-using-wizfi360-evb-pico/md"
type: "Contests"
author: "charlesKelvin95"
author_url: "https://maker.wiznet.io/charlesKelvin95/"
original_author: "Charles kelvin N"
license: "Apache License 2.0 (Apache-2.0)"
published: "2022-10-25"
language: "en"
tags: ["AIoT", "Sensors", "wizfi360-contest-ref", "CircuitPython", "MQTT"]
hardware: ["WIZnet WizFi360-EVB-Pico", "Seeed Studio Grove - Barometer Sensor (BMP280)"]
likes: 14
views: 5247
comments: 1
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Rain Monitoring using WizFi360-EVB-PICO

> Rain Monitoring using various parameters such as pressure, humidity , temperature along with the help rain drop sensor

Original author: Charles kelvin N

## Components

- **WIZnet WizFi360-EVB-Pico** x 1: Used for internet access
- **Seeed Studio Grove - Barometer Sensor (BMP280)** x 1: used for temperature and pressure ([docs](http://wiki.seeedstudio.com/Grove-Barometer_Sensor-BMP280/))
- Software: **Adafruit Circuitpython** ([docs](https://docs.circuitpython.org/en/latest/README.html))

## Documents and links

- [Rain Monitoring](https://github.com/charleskelvin/Wiznet2022Contest) (code)
- [Schematic](https://drive.google.com/drive/folders/1KcAg8qkWiwf55X9Uih5nDlD5RP7Num4-?usp=sharing) (schematics)
- [rainMonitorProject | WifFi360 | BMP280 | PICO](https://youtu.be/WdptJzAluY4)
- [rainMonitorProject](https://drive.google.com/drive/folders/1KcAg8qkWiwf55X9Uih5nDlD5RP7Num4-?usp=sharing)

## Article

Predict rain using various parameter such the atmospheric pressure, Altitude, and temperature. along with the help of rain sensor to notify user regarding the weather outdoor such as raining and not raining. The User can take necessary action

### **Components : ** The following components are used in this project **WizFi360-EVB-Pico : **

WizFi360-EVB-Pico is based on Raspberry Pi RP2040 and adds Wi-Fi connectivity using WizFi360. It is pin compatible with Raspberry Pi Pico board and can be used for IoT Solution development.

#### **BMP280 :  **

The BMP280 is an absolute barometric pressure sensor

#### **Rain Drop Sensor: **

Raindrop Sensor is a tool used for sensing rain. It consists of two modules, a rain board that detects the rain and a control module, which compares the analog value, and converts it to a digital value.

#### **PCF8591 :**

The PCF8591 is a single-chip device with four analog inputs, one analog output and a serial I2C-bus interface.

### **Libraries used: ** All libraries used in this project are from adafruit.

- digitalio – For the purpose of using io pins

- adafruit_pcf8591 – support for pcf8591 module lib

- adafruit_bmp280 – support for bmp280 sensor lib

- adafruit_espatcontrol – support for wifi management lib

- adafruit_minimqtt.adafruit_minimqtt – mqtt server loib

- adafruit_io.adafruit_io – adafruit mqtt server lib

### **Working of Project: ** The BMp280 sensor is used the measure the pressure , temperature and altitude of the environment. The raindrop sensor is used to deduct rain

### Since the rain drop sensor is a digital and analog based sensor to suppprt the analog data. We have used the PCF8591 to convert from analog to digital data via i2c interface. The collected data is sent to adarfruit IO MQTT server for the user to monitor .

---

Source: https://maker.wiznet.io/charlesKelvin95/contest/rain-monitoring-using-wizfi360-evb-pico/
