Hello,
I am new to the RakWireless family and have just set up my RAK7246 with a RAK811 breakout board. Now it is time to do some work. Can I code the RAK811 using PlatformIO or Arduino? Is there a setup guide? I saw that there is a library for the RAK811 Winsnode, but not the breakout board. Are they same when it comes to development? All I am looking to do is take read some sensors, send some data to the gateway and do a little IO.
Arduino firmware
You can run Arduino libraries on RAK811 (module/breakout boar/Wisnode), and you can find all of the source code and guide here: https://github.com/RAKWireless/RAK811_LoRaWAN_Arduino
(But now, there is an issue in this project: when RAK811 want to join in OTAA mode, sometimes it will fail. It is caused by another Arduino liberary we used in this project, and we haven’t fixed it.)
Out of the box, I have been unable to join OTAA to TTN with my RAK7246 and RAK811 node. Using the serial tool I have tried msb and lsb for the Device EUI and the Application EUI. The Node tries to reconnect six times then goes to sleep.
Thank you!
So i can´t really connect some custom logic behind it?
Only ADC and UART. For example how did RAK pair it with the BME680? For what i read it only supports SPI and I2C.
Or I can just pair it with a esp32 and send AT commands from there…
Using an external MCU is the easiest way since you only have to think of the at commands which is well documented.
If you want to use the internal STM32 of RAK811, you can check the RUI https://docs.rakwireless.com/RUI/#overview. Go the SPI section under RUI Interface General Format. That might be what you are looking for.