# Full Arduino Mini LoraWAN below 1uA Sleep Mode

**URL:** <https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059>\
**Category:** End Devices (Nodes)\
**Created:** [June 22, 2017, 3:45pm UTC](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059 "2017-06-22T15:45:10Z")\
**Posts on this page:** 1\
**Showing post:** 56

<div class="post-metadata">

**Author:** ![ursm](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ursm/32/46475_2.png) [@ursm](https://www.thethingsnetwork.org/forum/u/ursm)\
**Post date:** [July 26, 2017, 4:17pm UTC](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059/56 "2017-07-26T16:17:57Z")

</div>

> [@Charles](#):
>
> Take care that firmware on the board is far from Low Power, no sleep mode used when sensor is doing nothing

it consumes 48mA forever 😉  
the command powerOff does not reduce current.

//-------------------------------------------------------------------------------------  
// get some data from the sensor  
\*include “Wire.h”  
\*include “MutichannelGasSensor.h”  
\*define SENSOR\_ADDR 0X04 // default to 0x04

void setup()  
{  
Serial.begin(115200);  
gas.begin(SENSOR\_ADDR);  
gas.powerOn();  
}

void loop()  
{  
delay(5000);  
float c;  
c = gas.measure\_NH3();  
Serial.print("NH3 is “);  
if(c\>=0) Serial.print(c);  
c = gas.measure\_CO();  
Serial.print(” CO is “);  
if(c\>=0) Serial.print(c);  
c = gas.measure\_NO2();  
Serial.print(” NO2 is ");  
if(c\>=0) Serial.println(c);  
}  
//-------------------------------------------------------------------------------  
Sketch uses 8246 bytes (26%) of program storage space. Maximum is 30720 bytes. ☹

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059)._
