Hi everyone,
Im using CJMCU-8118 3in1 (co2, voc and temperature) sensor for my project of measuring outdoor air parameters along with DHT11 sensor for temperature and humidity. Its connected to nodemcu v2.0 board and it sends data to the database on remote server. Everything works fine when nodemcu is working non-stop. My plan was to reduce battery discharge by reducing power consumption of the module and I introduce deep sleep mode.DHT11 keeps sending normal values but CJMCU sends only zeroes. CJMCU is using I2C communication so Im not sure if deep sleep influences that in any way.
In first try I was powering the sensors directly from the board which was powered by externalpower source, but then I thought maybe voltage pins of the board were influenced by deep sleep mode so I connected the sensors directly to the external power source so that they are under power all of the time, but still the problem persists.
Any ideas on why this is happening?
Post schematics of your sensor board and a wiring diagram of your setup! Post your complete code!
Did you remember to wake the CJMCU-8118?
Paul