Witty Cloud NodeMCU ESP8266: Needs Reset after Power-On?
Posted: Tue Sep 20, 2016 3:52 pm
NOTE: I still consider myself a newbie after only working with NodeMCU stuff for a week or so!
As my very first (and successful!) NodeMCU project, I connected a DHT22 and BMP180 sensor to a LoLin V3 NodeMCU board, and it works fine -- after powering off/on it immediately makes the measurements available to me at the IP address I coded in the lua code I used.
I had separately ordered a Witty Cloud NodeMCU, since I was intrigued by the extra built-in features i.e. light sensor and RGB light. Well, it was fun to play with that, but I have concluded that it is a poor substitute for a 'regular' NodeMCU, at least for my purposes (less pins, hassle to plug in sensors when using the UART/USB interface, etc.). Anyways, I took my code from the LoLin board, modified it to work with my BME280 chip, and got it to work as well -- but it does *not* respond immediately after a power-on sequence -- I have to press the 'reset' button, or enter 'node.restart()' while connected to the serial port. In other words, this device does not (for me) nicely recover from a power outage, making it useless to me. In the meantime, I have ordered a LoLin V3 NodeMCU as a replacement, since it appears to not have this problem. Am I doing something silly?
As my very first (and successful!) NodeMCU project, I connected a DHT22 and BMP180 sensor to a LoLin V3 NodeMCU board, and it works fine -- after powering off/on it immediately makes the measurements available to me at the IP address I coded in the lua code I used.
I had separately ordered a Witty Cloud NodeMCU, since I was intrigued by the extra built-in features i.e. light sensor and RGB light. Well, it was fun to play with that, but I have concluded that it is a poor substitute for a 'regular' NodeMCU, at least for my purposes (less pins, hassle to plug in sensors when using the UART/USB interface, etc.). Anyways, I took my code from the LoLin board, modified it to work with my BME280 chip, and got it to work as well -- but it does *not* respond immediately after a power-on sequence -- I have to press the 'reset' button, or enter 'node.restart()' while connected to the serial port. In other words, this device does not (for me) nicely recover from a power outage, making it useless to me. In the meantime, I have ordered a LoLin V3 NodeMCU as a replacement, since it appears to not have this problem. Am I doing something silly?