ICEINSPACE
Most Read Articles
Moon Phase
CURRENT MOON Waxing Crescent
39.1%
The Sun Now
Time Zones
Sydney
4:07 pm
Perth
2:07 pm
Auckland
6:07 pm
New York*
2:07 am
Paris*
8:07 am
GMT
6:07 am




Go Back   IceInSpace > Equipment > ATM and DIY Projects

Reply
 
Thread Tools Rate Thread
  #81  
Old 22-07-2018, 11:27 AM
adavis's Avatar
adavis (Andrew)
Registered User

adavis is offline
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 166
Hi Chris, I am having a few issues with the dew heater, I was hoping that you might be able to help me out.

1. the DHT22 is reading WAY his, like 235 degrees high, and a corresponding 1000% humidity.

2. the temp sensor is not reading at all. When I run the test code it errors out citing pin 3,5,6 but the instructions say to use pin 12, though Ising 3,5,6 produce the same results.

I am wondering if you have a version of the code that works with a single sensor and heater, Im wanting to use it for camera use, so only need one.

cheers
Andrew
Reply With Quote
  #82  
Old 22-07-2018, 05:50 PM
ChrisV's Avatar
ChrisV (Chris)
Registered User

ChrisV is offline
 
Join Date: Aug 2015
Location: Sydney
Posts: 641
Its been a while since I've looked at the build.

Are you using a nano?

To start, have you tried the v4a-test-DHT22, its on the github link from post #80. That will just test the DHT22 - on pin 2. Don't worry about connecting the DS18B20 sensors or the heater mosfets. This will print the data via the serial monitor on your computer (rather than the OLED display).

When you get that sorted I can help you out with a single channel version - its a minor change.
Reply With Quote
  #83  
Old 23-07-2018, 08:55 AM
adavis's Avatar
adavis (Andrew)
Registered User

adavis is offline
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 166
Hey, THANKS for picking up the response so fast.

Yes, Nano, and the latest test file from GitHub.
Heres the output.

Dew Heater Controller
DHT22 test - serial output to computer
Digital pin Status Temp (C) Humidity (%) Dew Point
2 OK 230.4 998.4 397.0
2 OK 230.4 1024.0 399.5
2 OK 230.4 998.4 397.0
Reply With Quote
  #84  
Old 24-07-2018, 03:32 PM
adavis's Avatar
adavis (Andrew)
Registered User

adavis is offline
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 166
To round out the solution in case anyone else has the same issue that I did......


It turns out that I have a DHT11 temp/humidity sensor, not the DHT22.
The fix was to simply replace every occurrence of DHT22 with DHT11 in the code and it works a treat now.


cheers
Andrew
Reply With Quote
  #85  
Old 25-07-2018, 03:08 PM
ChrisV's Avatar
ChrisV (Chris)
Registered User

ChrisV is offline
 
Join Date: Aug 2015
Location: Sydney
Posts: 641
Glad to see you got it resolved. Be interesting to see how it goes.

Looks like the DHT11 has lower temperature accuracy than the DHT22, 2C versus 0.5C. Also it says its best for 20-80% humidity versus 0-100% humidity for the DHT22.

I'm sure it will all be fine as its all pretty gross control - fuzzy logic-like.
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 04:07 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Advertisement
SkyWatcher WiFi Adaptor
Advertisement
Bintel
Advertisement
Atik Horizon
Advertisement
FLI Cameras and Imaging Accessories
Advertisement
Lunatico Astronomical
Advertisement
Interest Free Finance
Advertisement
SkyWatcher 2018 Catalogue
Advertisement
NexDome Observatories
Advertisement
OzScopes Authorised Dealer
Advertisement
Astronomy and Electronics Centre
Advertisement