---
title: "Simple Temperature and Humidity Sensing Project Using DHT22 and W55RP20 in C language"
url: "https://maker.wiznet.io/TheoIm/projects/simple-temperature-and-humidity-sensing-project-using-dht22-and-w55rp20-in-c-language/"
markdown_url: "https://maker.wiznet.io/TheoIm/projects/simple-temperature-and-humidity-sensing-project-using-dht22-and-w55rp20-in-c-language/md"
type: "WCC: WIZnet Created Content"
author: "theo"
author_url: "https://maker.wiznet.io/TheoIm/"
original_author: "Theo"
published: "2024-11-27"
language: "en"
hardware: ["WIZnet W55RP20-EVB-Pico", "Adafruit DHT22 temperature-humidity sensor"]
likes: 0
views: 1238
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Simple Temperature and Humidity Sensing Project Using DHT22 and W55RP20 in C language

> This project demonstrates how to use the DHT22 temperature and humidity sensor with the W55RP20 EVB board

Original author: Theo

## Components

- **WIZnet W55RP20-EVB-Pico** x 1 ([docs](https://wiznet.io/products/powered-by-raspberry-pi/w55rp20-evb-pico))
- **Adafruit DHT22 temperature-humidity sensor** x 1 ([docs](https://www.adafruit.com/product/385))

## Article

This project demonstrates how to use the DHT22 temperature and humidity sensor with the W55RP20 EVB board, a one-chip solution combining the RP2040 and W5500. With minimal wiring, the project measures and outputs environmental data, making it an excellent starting point for IoT applications.

#### **Wiring**

- **Data Pin**: GP28

- **Power**: 3.3V

- **Ground**: GND

![](https://maker.wiznet.io/upload/ckeditor5/665362264%5F1732699418%2Epng)

#### **Project Highlights**

- Reads temperature and humidity data from the DHT22 sensor.

- Outputs readings via the serial console.

- Provides error handling for sensor communication (timeouts and checksum validation).

This simple setup offers a robust example for integrating DHT22 with W55RP20, showcasing how the board can be used in sensor-driven applications.

#### [ProJect Link](https://github.com/theoim/W55RP20_DHT22_Example)

---

Source: https://maker.wiznet.io/TheoIm/projects/simple-temperature-and-humidity-sensing-project-using-dht22-and-w55rp20-in-c-language/
