# The BARGAIN basement part 2

**URL:** <https://www.thethingsnetwork.org/forum/t/the-bargain-basement-part-2/5977>\
**Category:** Hardware\
**Created:** [March 10, 2017, 11:05am UTC](https://www.thethingsnetwork.org/forum/t/the-bargain-basement-part-2/5977 "2017-03-10T11:05:41Z")\
**Posts on this page:** 1\
**Showing post:** 233

<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:** [September 22, 2017, 6:14pm UTC](https://www.thethingsnetwork.org/forum/t/the-bargain-basement-part-2/5977/233 "2017-09-22T18:14:09Z")

</div>

got it today and after soldering the usual connection DIO1 --\> pinX it worked with the LMIC library and the prviously used code for the adafruit feather M0.  
the board is 2.54mm wider than the original feather, but it could be a cheap substitute.  
attention: the documentation notes the pin wron. look in LoRa.h  
and you don’t need to install suggested libryry, because that’s forseen for node to node connection  
 ![DIYmall_LoRa32u4](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/b/b09dc4606a53a93d96ce43056f31f05b47f9a9f4.jpg)

````auto
// Adapted for DIYmall feather clone DIYLoRa32u4 Doc: ss = 19 , Reset = 9 , DIO0 = 26 (from LoRa.h)
// from Exemple Sender: ss = 8 , Rst = 4 , DIO0 = 7
const lmic_pinmap lmic_pins = {
    .nss = 8, // chip select on clone (rf95module) see LoRa.h
    .rxtx = LMIC_UNUSED_PIN, // 
    .rst = 4, // reset pin (M0=4)
    .dio = {7, // DIO0 is hardwired to 7
             5, // DIO1 is jumpered to 5
             LMIC_UNUSED_PIN}, // DIO1 is jumpered to unused
};```
have fun :slight_smile:
````

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/the-bargain-basement-part-2/5977)._
