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
Re: DHT11 Temperature/Humidity sensor
Quote:
Originally Posted by
mircogomiero
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
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
Re: DHT11 Temperature/Humidity sensor
Quote:
Originally Posted by
Acetronics
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!
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
Hi Alain;
SHT11 is not the same as DHT11, they are much different!
Re: DHT11 Temperature/Humidity sensor
Quote:
Originally Posted by
gadelhas
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 ... :rolleyes:
just need a little effort ...
Alain