Giter VIP home page Giter VIP logo

Comments (6)

dhrubasaha08 avatar dhrubasaha08 commented on May 31, 2024 2

@Zaptyp, @cliffom, thank you for your input! Extensive testing with various DHT11 sensors revealed notable performance variations. Remarkably, an older sensor from 2016, which I used for initial library development, outperformed the newer ones. To ensure consistency, I'll adhere to the 1Hz polling rate as suggested by @DrJPK. However, if it poses no issues, I might consider a 2HZ polling rate instead. Expect an updated version soon to address these inconsistencies and enhance the library's reliability.

from dht11.

Zaptyp avatar Zaptyp commented on May 31, 2024 1

@dhrubasaha08
BLACK - 5V - VCC
WHITE - GND
ORANGE - Digital 10 - DAT
IMG_20240130_202206.jpg

IMG_20240130_202213.jpg

IMG_20240130_202221.jpg

from dht11.

Zaptyp avatar Zaptyp commented on May 31, 2024 1

@dhrubasaha08 I decreased from 500 to 480 from Line 77 and this working perfectly

from dht11.

cliffom avatar cliffom commented on May 31, 2024 1

I came here to report the same issue and was happy to see I'm not the only one having it! @dhrubasaha08 I was able to get it working with your updated zip (with the delays increased to 500). Before that I was having a similar issue that was reported: When I started the simple sample, temperature would be 253 and humidity was fine. After a refresh, humidity was 253 and temperate was fine. With your updated zip all is well and both report correctly.

from dht11.

dhrubasaha08 avatar dhrubasaha08 commented on May 31, 2024

Hey, @Zaptyp can you provide some more information about your setup(photo of the arduino uno and connected sensor[IMP] )? It should work flawlessly on Arduino UNO as I develop all of my library primarily on this board(Later I optimize/check compatibility on other boards).

from dht11.

dhrubasaha08 avatar dhrubasaha08 commented on May 31, 2024

Remove my DHT11 library then install DHT11.zip using Sketch>Include Library>Add .ZIP Library . If still doesn't work, modify(increase/decrease but >=150) the delay in /src/DHT11.cpp line no 33 & 77

from dht11.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.