# Rak2245 is connected but nothing received from Arduino Mega 2560 + rfm95 868Mhz

**URL:** <https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805>\
**Category:** LMIC\
**Tags:** gateways\
**Created:** [April 17, 2021, 7:02pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805 "2021-04-17T19:02:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulcastor30](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulcastor30/32/37440_2.png) [@paulcastor30](https://www.thethingsnetwork.org/forum/u/paulcastor30)\
**Post date:** [April 17, 2021, 7:02pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/1 "2021-04-17T19:02:27Z")

</div>

Hello there, my gateway is connected to TTN, however, it does not seem to receive message from my node. i am trying to get this thing working for more than 3 months and i am still unsuccessful. I used the MCCI-LMIC library for my arduino node Arduino Mega 2560 + rfm95 868Mhz and got the NWKSKEY, APPSKEY and DEVADDR filled up from the values in TTN application \> devices. can someone help me to pinpoint what is wrong with my setup?

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/9/c/9c48c7461c2b269f2d2b943c9ab0636dd093ae5a.png)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 17, 2021, 7:24pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/2 "2021-04-17T19:24:01Z")

</div>

1. What is the gateway?
2. What does its log say is going on?
3. What version of MCCI LMiC?
4. How did you decide the which pin settings to use?
5. Did you solder those pins to the RFM95?
6. Have you retouched those solder joints?
7. What does the device serial output say?

Even if I do say so myself, I am one of the subject matter experts here for Arduino AVR + RFM95 using the LMiC, so please help me to help you, I will need SEVEN answers please.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 17, 2021, 7:31pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/3 "2021-04-17T19:31:38Z")

</div>

I’ve seen your ‘other’ post.

If you can change the debug level in config.h in LMiC, we’ll get to see far more information from the Arduino serial log.

---

<div class="post-metadata">

**Author:** ![paulcastor30](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulcastor30/32/37440_2.png) [@paulcastor30](https://www.thethingsnetwork.org/forum/u/paulcastor30)\
**Post date:** [April 17, 2021, 7:35pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/4 "2021-04-17T19:35:30Z")

</div>

> [@descartes](#):
>
> Did you solder those pins to the RFM95?

Thank you very much for your reply sir. Here is my answer to the following questions below.

1. What is the gateway?  
I am currently using rak2245 pi hat 433Mhz Lora Concetrator with Raspberry Pi 3B+.

2. What does its log say is going on?  
This is my latest log results at the moment sir.  

3. What version of MCCI LMiC?  
I am using the MCCI LIbrary version 3.3.0 sir.

4. How did you decide the which pin settings to use?  
I decide the pins i use based on the arduino mega 2560 pinouts.  
here is my current pin mapping with arduino mega 2560 + frm95:  
Nss/CS - pin 53  
SCK - pin 52  
MOSI - pin 51  
MISO - pin 50  
DIO0 - pin 2  
DIO1 - pin 3  
DIO2 - pin 4  
Reset - pin 5

I am also using a bidirectional level shifter between my arduino mega 2560 and rfm95.  
5. Did you solder those pins to the RFM95?  
yes sir, i soldered it my own since this is the board i use at the moment.

 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/f/3/f350362503a3ae26f260cb1d2aad50b521c37926.jpeg)  
6. Have you retouched those solder joints?  
not yet sir.  
7. What does the device serial output say?  
Here is my arduino serial output:  
03:25:41.666 → Packet queued  
03:25:43.763 → 120455725: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:26:44.287 → 124206236: EV\_TXSTART  
03:26:44.287 → Packet queued  
03:26:46.404 → 124336905: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:27:46.896 → 128087411: EV\_TXSTART  
03:27:46.896 → Packet queued  
03:27:48.985 → 128218078: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:28:49.503 → 131968585: EV\_TXSTART  
03:28:49.503 → Packet queued  
03:28:51.596 → 132099253: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:29:52.126 → 135849761: EV\_TXSTART  
03:29:52.126 → Packet queued  
03:29:54.215 → 135980431: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:30:54.747 → 139730939: EV\_TXSTART  
03:30:54.747 → Packet queued  
03:30:56.847 → 139861606: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:31:57.333 → 143612115: EV\_TXSTART  
03:31:57.333 → Packet queued  
03:31:59.474 → 143742868: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:32:59.956 → 147493376: EV\_TXSTART  
03:32:59.956 → Packet queued  
03:33:02.048 → 147624046: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:34:02.568 → 151374554: EV\_TXSTART  
03:34:02.568 → Packet queued  
03:34:04.693 → 151505223: EV\_TXCOMPLETE (includes waiting for RX windows)  
03:35:05.167 → 155255731: EV\_TXSTART  
03:35:05.167 → Packet queued  
03:35:07.311 → 155386401: EV\_TXCOMPLETE (includes waiting for RX windows)

---

<div class="post-metadata">

**Author:** ![paulcastor30](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulcastor30/32/37440_2.png) [@paulcastor30](https://www.thethingsnetwork.org/forum/u/paulcastor30)\
**Post date:** [April 17, 2021, 7:40pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/5 "2021-04-17T19:40:19Z")

</div>

May i know which part of the config.h to change sir?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 17, 2021, 7:40pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/6 "2021-04-17T19:40:58Z")

</div>

I think if you look at your answers, you’ll see what the problem is.

The RAK2245 is listening on 433MHz and you are transmitting on 868MHz.

Apart from that rather significant detail, the rest looks OK. Please read [about formatting posts](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735).

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [April 17, 2021, 7:41pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/7 "2021-04-17T19:41:33Z")

</div>

> [@paulcastor30](#):
>
> currently using rak2245 pi hat 433Mhz Lora Concetrator

Your problems start there - no 433Mhz support and also using a 433Mhz system to receive signals from

> [@paulcastor30](#):
>
> rfm95 868Mhz

Should have already struck you as a none starter…

_Update_ - sorry Nick posts crossed 🙂 Same mesage to OP 😉

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 17, 2021, 7:42pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/8 "2021-04-17T19:42:34Z")

</div>

The one that changes the **`debug log level`** somewhere around line 85

---

<div class="post-metadata">

**Author:** ![paulcastor30](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulcastor30/32/37440_2.png) [@paulcastor30](https://www.thethingsnetwork.org/forum/u/paulcastor30)\
**Post date:** [April 17, 2021, 7:46pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/9 "2021-04-17T19:46:28Z")

</div>

is this the log sir?  
 ![image|1000x534 75%](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/f/6/f65c319248e8fdfc15bbcda14a016b7a63d8aade.png)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 17, 2021, 7:48pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/10 "2021-04-17T19:48:24Z")

</div>

No, that’s the gateway log, **NOT** the LMiC log, I did explicitly ask that you not post images for text based information AND I’ve told you what the problem is in my answer above.

There is nothing more for you to post until you have compatible hardware.

---

<div class="post-metadata">

**Author:** ![paulcastor30](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulcastor30/32/37440_2.png) [@paulcastor30](https://www.thethingsnetwork.org/forum/u/paulcastor30)\
**Post date:** [April 17, 2021, 7:49pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-is-connected-but-nothing-received-from-arduino-mega-2560-rfm95-868mhz/46805/11 "2021-04-17T19:49:42Z")

</div>

Noted sir, thank you very much for your time and response.
