# Arduino pin interrupts

**URL:** <https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018>\
**Category:** Hardware\
**Created:** [April 27, 2019, 9:45am UTC](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018 "2019-04-27T09:45:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jenertsA](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jenertsa/32/37682_2.png) [@jenertsA](https://www.thethingsnetwork.org/forum/u/jenertsA)\
**Post date:** [July 7, 2019, 3:37pm UTC](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018/3 "2019-07-07T15:37:26Z")

</div>

> [@Full Arduino Mini LoraWAN below 1uA Sleep Mode](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059/312):
>
> **board still consume ~8 mA in sleep** ,

Can’t see any place in your code where you send Atmega to sleep. 8mA seem like normal working current if MCU is doing nothing.

Check out [Atmega328P datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061A.pdf) page 48. There is details about how to put it in different types of sleep modes. To wake it up you should use pinchange interrupt (as TPL5110 drv pin is not connected to hardware INT but A2)

Kevin Darrah has [great video](https://youtu.be/urLSDi7SD8M) about deep sleep mode on Atmega

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018)._
