View Single Post
  #96  
Old 20-06-2019, 04:53 AM
Corpze (Daniel)
Registered User

Corpze is offline
 
Join Date: May 2019
Location: Sweden
Posts: 5
Quote:
Originally Posted by ChrisV View Post
Yes, but you might want to put a diode across the fan for back EMF protection.
I will do that, thanks for the heads up!

I have now gotten all of my pieces and fired it up, the LCD works fine but i have problems with my ambient sensor, beeing the AM2301 (DHT21)

When i try with a stand alone "dhttype dht21" -code it works fine, but i get error (intermittent readings and at wrong values) when trying your code, do you know if the support for the DHT21 is not in the DHT.h you are using?

Both works on floats so i don't think it that kind of error.
Reply With Quote