![]() |
Forum Index : Microcontroller and PC projects : E-Ink Weather
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
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: AustraliaPosts: 1097 |
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: AustraliaPosts: 1993 |
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: AustraliaPosts: 6283 |
That is a nice looking display. If you are using the DHT22 CSUB, Make sure you have the types declared correctly Jim VK7JH MMedit |
||||
Chopperp![]() Guru ![]() Joined: 03/01/2018 Location: AustraliaPosts: 1097 |
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: AustraliaPosts: 1993 |
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: AustraliaPosts: 1993 |
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 ZealandPosts: 44 |
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: AustraliaPosts: 1993 |
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 ZealandPosts: 44 |
Ok , I will dig it out on the coming weekend |
||||
DaveC166 Regular Member ![]() Joined: 13/09/2012 Location: New ZealandPosts: 44 |
Paul,I PM'ed you with code examples for HTU21's |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
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 ZealandPosts: 44 |
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: AustraliaPosts: 1993 |
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" |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |