DHT11 Temperature/Humidity sensor


Closed Thread
Results 1 to 6 of 6
  1. #1

    Default DHT11 Temperature/Humidity sensor

    Hi all
    Iam starting to use this DHT11 sensor with PBP compiler and my Pic16f877.

    I thought it was easier, but is not so.
    I have to use port RC0 of PIC and change from output to input to enable the reading of DHT11
    for mi is a big problem..
    Does anyone have any idea?

    This is a link for an example in mikroC compiler for ths DTH11 but I do not know how I can convert it in PBP


    http://embedded-lab.com/blog/?p=4333

    Many thanks
    Mirco

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: DHT11 Temperature/Humidity sensor

    Quote Originally Posted by mircogomiero View Post
    Hi all
    Iam starting to use this DHT11 sensor with PBP compiler and my Pic16f877.

    I thought it was easier, but is not so.
    I have to use port RC0 of PIC and change from output to input to enable the reading of DHT11
    for mi is a big problem..
    Does anyone have any idea?

    This is a link for an example in mikroC compiler for ths DTH11 but I do not know how I can convert it in PBP


    http://embedded-lab.com/blog/?p=4333

    Many thanks
    Mirco
    See DHT11 temperature sensor from china at an other compiler site.


    Norm

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default Re: DHT11 Temperature/Humidity sensor

    Hi,

    While "pasting" existing projects ...

    you could download the example programs Mikroelektronika gives in the SHT11 module apps ...

    there's a Mikrobasic example you could translate much easier ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Re: DHT11 Temperature/Humidity sensor

    Quote Originally Posted by Acetronics View Post
    Hi,

    While "pasting" existing projects ...

    you could download the example programs Mikroelektronika gives in the SHT11 module apps ...

    there's a Mikrobasic example you could translate much easier ...

    Alain
    Hi Alain;

    SHT11 is not the same as DHT11, they are much different!
    Thanks and Regards;
    Gadelhas

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: DHT11 Temperature/Humidity sensor

    Hi
    yes SHT11 is I2C device (data/clock)
    SHT11 have one wire serial comunication.
    I still have not solved the problem, but this weekend we'll be working.
    I'll keep you informed.

    Many thanks
    Mirco

    Quote Originally Posted by gadelhas View Post
    Hi Alain;

    SHT11 is not the same as DHT11, they are much different!

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default Re: DHT11 Temperature/Humidity sensor

    Quote Originally Posted by gadelhas View Post
    Hi Alain;

    SHT11 is not the same as DHT11, they are much different!
    Sure protocols are quite different !!!

    but handling comms with PBP "already cooked" functions is very similar, if you have a closer look at it ...

    just need a little effort ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Replies: 6
    Last Post: - 14th October 2013, 12:27
  2. Replies: 10
    Last Post: - 17th February 2012, 07:19
  3. Sensirion humidity sensor
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 7th October 2008, 15:48
  4. Replies: 10
    Last Post: - 4th September 2008, 17:55
  5. A Temperature & Humidity Data Recorder Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 9th July 2008, 18:47

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts