# One shot message IBM LMIC abp Arduino RFM95w

**URL:** <https://www.thethingsnetwork.org/forum/t/one-shot-message-ibm-lmic-abp-arduino-rfm95w/17791>\
**Category:** LMIC\
**Created:** [September 12, 2018, 3:57pm UTC](https://www.thethingsnetwork.org/forum/t/one-shot-message-ibm-lmic-abp-arduino-rfm95w/17791 "2018-09-12T15:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_B](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paul_b/32/25844_2.png) [@Paul\_B](https://www.thethingsnetwork.org/forum/u/Paul_B)\
**Post date:** [September 12, 2018, 3:57pm UTC](https://www.thethingsnetwork.org/forum/t/one-shot-message-ibm-lmic-abp-arduino-rfm95w/17791/1 "2018-09-12T15:57:31Z")

</div>

Please excuse my dumb questions as I’m a complete noob, but I’ve built a node using an Atmega328p and Hope RFM95w on a breadboard, which works nicely with the matthijskooijman IBM LMiC abp code - [https://github.com/matthijskooijman/arduino-lmic](https://github.com/matthijskooijman/arduino-lmic). However, I am now trying to adapt it for ultra low power consumption, so I need to turn power to the radio module on and off. This (not too surprisingly) causes a few issues for my code. Starting from the example code, I have tried putting the setup code in the loop so that it does a full reset every time around, but then nothing is sent at all. If I put just the os\_start() into the setup it just sends retrys very rapidly.

Could anyone point me in the direction I should be heading, or give me some idea which parts of the code need to occur at setup, and which I can keep running every time the power cycles?

Any suggestions would be much appreciated!

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 12, 2018, 4:02pm UTC](https://www.thethingsnetwork.org/forum/t/one-shot-message-ibm-lmic-abp-arduino-rfm95w/17791/2 "2018-09-12T16:02:50Z")

</div>

did you use search first ?

- [LMIC-1.51 fitting in Arduino Atmega 328](https://www.thethingsnetwork.org/forum/t/lmic-1-51-fitting-in-arduino-atmega-328/1239/38)
- [Full Arduino Mini LoraWAN below 1uA Sleep Mode](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059/3)

you need to use a ’ low power library ’ in your code
