RAK811 Node Big Picture

Hello,
I am a noob in the world of Rakwireless and TTN. A while back I picked up a RAK7246G gateway and a few RAK811 nodes. As of yesterday everything is up and running; being able to connect and join the TTN. My goal is to have each node monitor several sensors and if the conditions are right, flip a relay. In addition, I would like to send the state and state changes of each system to the gateway. I know this isn’t rocket science, just a little GPIO and logic.

How do I do this:

  1. Use the serial tool and the configuration options
  2. Use the Application and Device settings on TTN
  3. Use a micro controller to drive the node via UART
  4. Use the node as a micro controller and code it up

Options 1-2 seem doable but I don’t know the system well enough.
Option 3 seems to waste the GPIO on the node since the micro controller will have GPIO
Seems like the right answer if option 1 or 2 won’t work.

Before I over engineer anything I would like a little guidance to get to the most elegant solution.

Thanks!

Hi.
The most elegant solution will be to use the RAK811 MCU. First check the RUI Compiler docs here : https://github.com/RAKWireless/Products_practice_based_on_RUI and here https://github.com/RAKWireless/Products_practice_based_on_RUI/blob/master/RUI%20online%20compiler/How%20to%20use%20RUI%20online%20compiler.pdf
And then you can view some example here https://github.com/RAKWireless/Products_practice_based_on_RUI/tree/master/based%20on%20RAK811

1 Like

Thank you for the info!
That does seem the cleanest way to go. Is there a password recovery on the Online Compiler site? I can’t get in.

Hi, please mail to [email protected] with the registration mail for the RUI. As it is in beta the recovery procedure of password may not work as expected.