Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:14 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : E-Ink Weather

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 10:06pm 31 Mar 2018
Copy link to clipboard 
Print this post




Got it working. I am using an old HH10D humidity sensor all my DHT22 sensors don't work. I have had about 6 of them and they all fail. I guess I should buy genuine but how do you know. The rain figures are fake, I have a problem with the reed switch in the sender not switching properly so have to wait for a new one.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 10:18pm 31 Mar 2018
Copy link to clipboard 
Print this post

Looks good Paul.

Nice to see some clear space on a work bench as well :-). I have a hard time keeping free space for doing stuff on any of mine.

ChopperP
ChopperP
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 10:34pm 31 Mar 2018
Copy link to clipboard 
Print this post




Like this.
Paul.

"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 06:14am 01 Apr 2018
Copy link to clipboard 
Print this post

  palcal said  
I am using an old HH10D humidity sensor all my DHT22 sensors don't work. I have had about 6 of them and they all fail.
Paul.


That is a nice looking display.

If you are using the DHT22 CSUB,
Make sure you have the types declared correctly

  Quote  
DIM AS INTEGER DHT22pin = 26
DIM AS FLOAT TEMP, HUMIDITY



Jim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 06:32am 01 Apr 2018
Copy link to clipboard 
Print this post

Paul
2 of my benches at the present time. Do a lot of dumping on them. Yours is good.

ChopperP






ChopperP
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 09:18am 01 Apr 2018
Copy link to clipboard 
Print this post

Yes, I am happy with the display and it can be seen in sunlight but really only good for something that only needs updating occasionally.
Thanks for that re DHT22 I had not done that.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 09:12pm 01 Apr 2018
Copy link to clipboard 
Print this post

Had another try with the DHT22s 2 read temp ok but humidity reads 99.9%
The third reads 1000 and 1000%. I must have had at least 6 over the years they start off ok then fail. I run them on 5v. with a 4.7K pull up.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 10:33pm 01 Apr 2018
Copy link to clipboard 
Print this post

HI Pacal
I too have given up on EBAY sourced DHT22 modules. the Humidity readings drift high after a couple of months of the sensor being in a roof space with a large temperature variations.
The HTU21 Modules from Ebay have proven to be be reliable so far this spring and summer. Their only curse is the same fixed i2C address (40H),on every module. An additional I2C (c-function) channel needs to be used for additional HTU21 modules. MM basic programming is relatively straight foward
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 12:33am 02 Apr 2018
Copy link to clipboard 
Print this post

Thanks for that Dave, I have ordered a couple, would you mind sharing your code to get the Humidity and Temperature from the device. I searched but everything on the Net is for Arduino.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 08:21pm 03 Apr 2018
Copy link to clipboard 
Print this post

Ok , I will dig it out on the coming weekend
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 07:59am 04 Apr 2018
Copy link to clipboard 
Print this post

Paul,I PM'ed you with code examples for HTU21's
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 08:34am 04 Apr 2018
Copy link to clipboard 
Print this post

Thanks Dave, I had a quick look, will wait until the modules arrive. I read the data sheet and still had no idea.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 04:17am 05 Apr 2018
Copy link to clipboard 
Print this post

Hi Paul, The HTU21 modules i got all work fine, they even have temperature compensation. The only hassle i had was with the 2nd I2C channel and had to name some variables as per the Umite manual example, to get the Cfunction I2C working.
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 06:22am 05 Apr 2018
Copy link to clipboard 
Print this post

Thanks. Still waiting for modules.
Paul
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025