Where i wrong Connect DH11 - Temp is -1 and RH is -1 #5593
Replies: 1 comment
-
Posted at 2016-10-01 by ClearMemory041063 Hi @aleksandrs http://crufti.com/getting-started-with-espruino-on-esp8266/ These links may be of use to you. http://forum.espruino.com/conversations/640/ Posted at 2016-10-01 by Aleksandrs Pin is correct .. NodeMCU + DH11 work in Arduino.. but not working in ESPRUINO + DH11 ESPRUINO result
Posted at 2016-10-01 by ClearMemory041063 http://www.espruino.com/EspruinoESP8266 Use this link to make sure you are naming the pin correctly in the call function.
Posted at 2016-10-01 by Aleksandrs Ohh.
this is GPI14 My script
Posted at 2016-10-01 by Aleksandrs On Arduino all is working
Posted at 2016-10-01 by ClearMemory041063 Try it with Pin D4. Posted at 2016-10-02 by Aleksandrs Maybe this help
Firmware latest:
Attachments: Posted at 2016-10-02 by ClearMemory041063 Try the example at the end of this link to see if the pin is correct. http://crufti.com/getting-started-with-espruino-on-esp8266/
There is also a DH22 module that you could try in the software require(DH22). Posted at 2016-10-02 by ClearMemory041063 Pull up resistor. Posted at 2016-10-02 by Aleksandrs I in This sensor have resistor. Interesting in Attachments: Posted at 2016-10-02 by @MaBecker @aleksandrs so what you are saying is that the hardware is the same and that Arduino and Lua code ist working - so compare Lua code for DH11 with Espruino DH11. Posted at 2016-10-02 by @allObjects @aleksandrs, were you successful with the example [crufti.com/getting-started-with-espruino-on-esp8266/](crufti.com/getting-started-with-espruino-on-esp8266/ that @ClearMemory041063 was asking you to begin with to verify 'the pin story'? At least you will find out wether the Espruino setup on you particular NodeMCU board and ESP866-ESP12 is ok and operation is as expected... After that, you venture into the next thing, like connecting the sensor. After that, you step back and just try the simplest communication - first just with connecting to an access point and pulling down what is coming from this url: http://www.pur3.co.uk/hello.txt. With that you will find out whether you can connect or not... From there, you take the next steps... Posted at 2016-10-03 by Aleksandrs Ok thanks all for .. help... all working with AM2301(DHT21) he working properly. But do not working with DH11. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-10-01 by Aleksandrs
But result Temp is -1 and RH is -1
Beta Was this translation helpful? Give feedback.
All reactions