Help with interfacing Arduino Uno with RAK811

Hello there
I’m fairly new to LoRa/LoRaWAN and its part of my college internship, and in short, i need help with setting up a RAK811 with an arduino uno; i know this has probably been asked many times here - I’ve been checking the other topics about simillar issues, and even after following most of the tips/solutions it still does not work.
I have a V1.2 WisKey RAK811, it works fine by AT with the RAK Serial Port Tool, and it sends just fine, problem starts when i try with the arduino. I’ve tried:

  • Mounting the RAK on top of the arduino

  • Connecting both to the pc by cable and only connecting the TX/RX, to which i’ve done 2>RX / 3>TX, 0>RX / 1>TX (and the opposite 1>TX / 0>RX as some other topics suggested)

  • Connecting only the arduino and connecting the 5V to 5V of the RAK811 and GND to GND

I have the most recent firmware, and i’ve recently downloaded the new and improved arduino library (from a post not long ago). I’m just unsure that the problem is due to the code (i’m using one of the examples from the libraries) or from wiring. I’d also like to know if it’s possible to connect and program sensors directly to the RAK811
Any help would be greatly appreciated, thanks in advance :slight_smile:

Hi @Mplank,

Maybe you have looked this topic? I think it is useful for you.


Hello @Fomi
Yes i have followed that topic very closely and it still does not work with those connections and the library linked in the topic.
Even after altering the library a bit to my regions band (EU868) and the SoftwareSerial as in the post linked, i get no response from the RAK811; When i try and run a simple AT command such as getting the version (by sending it through arduino IDE serial) i get a blank return message

OK, please wait for several days, we’ll use an Arduino UNO board to connect with Wisnode-lora board and make a tutorial about how to use.

2 Likes

Thank you very much! I will patiently wait for the tutorial/guide :blush:
If possible, please mention when it is completed

1 Like

Hi Mplank,
I have WisNode-Lora and I followed the topic but no luck!
I tested the connections between RAK811 chip and the headers using AVO meter, but it appears there is no connection.
also there is no documentation at all about the header or the schematic.
Finally I was able to connect the node to ESP32 successfully by connecting the Rx,Tx directly to the jumper as in the photo, and I changed the UART baude rate to 9600
changing the baude rate will help you to avoid many problems.

1 Like

Hi all,

We’ve just use an Arduino board connecting with Wisnode-LoRa board to connect with LoRa gateway in OTAA mode successfully.
I will write a document to show more details about how to use it tomorrow. Please wait.

3 Likes

Thank you for the reply @Mustafa!
Unfortunately I dont have a ESP32, but I will try it with a ESP8266 tomorrow and test my luck :slight_smile:
May I ask what code did you upload to the ESP (is it one of the examples on the topic linked?), and if you powered both boards?

Hi Mplank,
You can use any micro-controller you want.
I’m using MicroPython, I wrote a code just to send AT commands to the WisNode and print the response for testing.
yes I powered both boards and make common GND, because me ESP32 is the cheap one, I don’t think it can supply both boards.

Hi all,

We’ve made an Arduino library repo on Github, and write a tutorial to show how to use Arduino board + WisNode RAK811 board.

Please have a look at this link for more details:

I have the same problem like the others here and I can’t get it working…

@Fomi: Have you tried your library with an Arduino UNO? It somehow feels like there is a difference.

I am using an Arduino UNO with a WisNode LoRa RAK811 board V1.2

Wiring
UNO GND <–> WisNode GND
UNO 5V <–> WisNode 5V
UNO 2 <–> WisNode RX
UNO 3 <–> WisNode TX

Jumpers (WisNode)
RXD <–> TX
TXD <–> RX

I tried it using your library and I tried doing it on my own by extracting the important parts from your library, but i am receiving an empty string after sending “at+version”…

at+version --> Firmware Version: RUI v3.0.0.12.H.T

Oh my god… I finally got it working :wink: I always used the wrong AT command to change the baudrate from 115200 to 9600!

I now used the RAK SERIAL PORT TOOL (v1.2.1) to set the baudrate:

at+set_config=device:uart:1:9600

After that I needed to switch the RX/TX jumpers to:

RXD <--> TX
TXD <--> RX

Now everything is working fine with your library :partying_face:

2 Likes

Well,that’s great. :smile: :smile: