Skip to content

Add a DHT11 Sensor Driver Example Using GPIO #316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremy90307
Copy link
Contributor

@jeremy90307 jeremy90307 commented May 1, 2025

Use GPIO to communicate with the DHT11 sensor.

Test detail:

  • Tested on Raspberry Pi 5B with Raspberry Pi OS (Debian 12, Linux version 6.6.74)

  • Verify that the DHT11 driver compiles and loads successfully

  • Verify that temperature and humidity data can be read correctly from the DHT11 sensor

Summary by Bito

This pull request introduces a new DHT11 sensor driver example utilizing GPIO for communication, with updates to the Makefile for proper compilation. The implementation includes functions for reading sensor data and has been tested on a Raspberry Pi 5B, confirming accurate temperature and humidity retrieval.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 2 - The changes are straightforward and well-documented, making the review process relatively simple.

@jeremy90307 jeremy90307 force-pushed the master branch 3 times, most recently from 3ddd7e1 to 5000cfa Compare May 1, 2025 01:48
@jeremy90307 jeremy90307 force-pushed the master branch 2 times, most recently from ef0f7a5 to 5cf35f6 Compare May 1, 2025 06:03
Use GPIO to communicate with the DHT11 sensor.

Test detail:

- Tested on Raspberry Pi 5B with Raspberry Pi OS (Debian 12, Linux
  version 6.6.74)

- Verify that the DHT11 driver compiles and loads successfully

- Verify that temperature and humidity data can be read correctly
  from the DHT11 sensor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants