Originally posted by marekd1
View Post
Announcement
Collapse
No announcement yet.
ESP8266 - Proof of Concept
Collapse
X
-
Another question. I have the API for DHT22 running for a bit now but I do not beleive the data for humidity is correct. Looks like I am off by 30 points in most cases So when the humidity should show 57 it shows 27.
Tried number of different DHT22's with same result. Is there anything in the code that could potentiay skew this reading?
I did see some folks are using this in the same way as mine, are the humidity readings in line with actuals?
THanks
Mark
Comment
-
Originally posted by marekd1 View PostAnother question. I have the API for DHT22 running for a bit now but I do not beleive the data for humidity is correct. Looks like I am off by 30 points in most cases So when the humidity should show 57 it shows 27.
Tried number of different DHT22's with same result. Is there anything in the code that could potentiay skew this reading?
I did see some folks are using this in the same way as mine, are the humidity readings in line with actuals?
THanks
Mark
Do all the DHT22's you've tried read roughly the same number?
Comment
-
Originally posted by AllanMar View PostI don't use these sensors so I can't say. What DHT Arduino library are you using though? There isn't anything in this API sketch that would do anything, although there could be something with the library/ESP8266.
Do all the DHT22's you've tried read roughly the same number?
Not sure where the problem could be..Last edited by marekd1; June 16, 2016, 08:08 PM.
Comment
-
Originally posted by marekd1 View PostI get consistant reading between sensors so I would say there is no error in the read. The reading also changes as I put the sensors in more humid conditions. Temeprature is dead on. Library is 1.2.3 by Adafruit
Not sure where the problem could be..
Comment
-
Originally posted by AllanMar View PostThat's a pretty popular lib so Id be skeptical the problem is there. I don't know, theres lots of sites on the web where people have tested the accuracy of DHT22 and found it within 2-5%. Are you sure whatever your using for comparison might not also be off?
Thanks for you input AllanMar
Comment
-
I/O control
I have a most likely stupid question.
I am not able to read/control the D0 through D8 pins. Is there anything special that I need to do in the configuration at HS3 Arduino plugin level other that specify which are Inputs or Outputs?
Unless the mapping is different...
I connect fine but state does not seem to change.
Also can I use all 8 D pins or some are used by the wireless ?
Thanks
Mark
Comment
-
Originally posted by marekd1 View PostI have a most likely stupid question.
I am not able to read/control the D0 through D8 pins. Is there anything special that I need to do in the configuration at HS3 Arduino plugin level other that specify which are Inputs or Outputs?
Unless the mapping is different...
I connect fine but state does not seem to change.
Also can I use all 8 D pins or some are used by the wireless ?
Thanks
Mark
The arduino plugin is GPIO numbers, not D numbers. So in the plugin 2 is not necessarily D2.
If you have NodeMCU board check here:
https://raw.githubusercontent.com/no...1.0_PINMAP.png
Comment
-
Originally posted by AllanMar View PostIt's likely that the mapping is different. No pins are used for Wifi (built in), but there are some reserved pins.
The arduino plugin is GPIO numbers, not D numbers. So in the plugin 2 is not necessarily D2.
If you have NodeMCU board check here:
https://raw.githubusercontent.com/no...1.0_PINMAP.png
Comment
-
Originally posted by NickStrong View PostAnybody been able to get the plugin to connect to a WeMos D1 Mini? Cant get mine to connect. It is pingable on the network.
I assume your using the basic sketch I posted?
Check what the serial monitor says. If its WDT Reset then see previous posts.
Comment
Comment