BreakBoard User Manual 1. Introduction RAK815(RAK813 BreakBoard) is a wireless remote solution based on the RAK813 + GPS + MEMS + HT+LCD design. It integrates the latest LoRaWAN 1.0.2 protocol and the latest Bluetooth 5.0 protocol, supports LoRaWAN working mode, supports Bluetooth transparent transmission, Bluetooth up to 300 meters away..
BreakBoard User Manual 2. Open Source Project RAK815(RAK813 BreakBoard) is an open source hardware. So the user can get all the information about the product. Includes schematics and program code. Here for everyone a brief introduction to the structure and basic use of open source code.
Page 5
BreakBoard User Manual Apps -main.c application code Commissioning.h LoRaWAN parameter configuration file -sdk_config.h nRF52832 chip configuration file Board -device iar_startup_nrf52.s system_nrf52.c nRF52832 startup file -lora_board -./* Control LoRa chip hardware related file -peripherals -./* Driver peripheral related file -boards.c bsp.c… nRF52832 Hardware related files LoRa_Lib -mac...
BreakBoard User Manual 2.2 Application Switch In the open source project, there are three Demo cases. Users only need to replace main.c app_lora.c files in the project to switch between different applications. 2.3 Configuration LoRaWAN Parameters In the project, if you want to modify the way(OTAA or ABP) the device joins the network and the parameters of joining the network, these parameters include Dev_EUI, APP_EUI, APP_KEY, DEV_ADDR, NWKS_KEY, APPS_KEY.
BreakBoard User Manual If you want to modify Dev_EUI, APP_EUI, APP_KEY, DEV_ADDR, NWKS_KEY, APPS_KEY these parameters, please modify here: 2.4 Modify LoRaWAN Region The open source code is based on LoRaWAN1.0.2 modified from, so the supported regions have: EU868, US915, AS923, AU915, IN865, KR920. If you want to modify the region, you can modify the macro definition.
3. Demo instructions The following describes the use of open source project demo. The Demo firmware see the open source project. How to download the open source project firmware, Please RAK815(RAK813 BreakBoard) Firmware download manual document. 3.1 Log Information When you finish writing Demo firmware. You can view the Log information through the serial port defined by Demo firmware.
3.2 LoRaWAN Demo If you use the application LoRaWAN Demo,When the device is activated, a Bluetooth radio with the device name "RAK815 LoRaWAN Demo" will be activated. You can view the device via the phone's Bluetooth. If you want to achieve Bluetooth transmission data capabilities, you need to download Nordic official mobile APP “nRF...
Page 13
After getting OTAA or ABP parameters of LoRa device from TTN. You can write data into the flash of RAK815(RAK813 BreakBoard) by the function of transmitting data through Bluetooth, The format of the data you are sending must be as shown below: lora_cfg:dev_eui=xxxxxxxxxxxxxxxx&app_eui=xxxxxxxxxxxxxxxx&app_key=xxxxxxxxxxx...
If you use the application Peripherals Demo, When the device is activated, a Bluetooth radio with the device name "RAK815 Peripherals Demo" will be activated, and the device's log information serial port will print the device's sensor information every five seconds.
If you use the application Scan Demo, When the device is activated, a Bluetooth radio with the device name "RAK815 Scan Demo" will be activated. As mentioned earlier, you can also use the mobile phone APP nRF Connect to connect to the device's Bluetooth and send LoRaWAN parameters to configure the device.
Page 17
BreakBoard User Manual After the configuration parameters are successful, if your LoRaWAN gateway has been set in advance, reset the device at this time and you will receive the message that the device OTAA has joined successfully. Next, if you press the first button of the device, see the figure below. The device will scan the surrounding Bluetooth device for 1s.
Page 18
BreakBoard User Manual If the device scans a Bluetooth BLE device, the scanned device information is printed out from the log information serial port. If your device is in a LoRaWAN connection state. At this point your device will send the Bluetooth BLE device information you scanned to the LoRaWAN server.
BreakBoard User Manual In addition, if you connect the LCD to the device LCD expansion interface, you can view the real-time status of the device on the LCD. 4. DFU Function DFU full name Device Firmware Upgrade, this is a way to upgrade the firmware. In the open source project, we have created a new project specifically for the DFU project.
Page 21
BreakBoard User Manual After all firmware is written, the device will automatically restart. At this time, use your mobile phone Bluetooth scan, you will see a device named "RAK813_DFU". Use the nRF official phone app nRF Connect to connect to the device's Bluetooth. You can start DFU to upgrade the firmware.
Page 23
BreakBoard User Manual At this point the program will jump to the bootload, execute the bootload, click on the RAK813_DFU above, you can see the progress of the program sent. After the program upgrade is complete, reset the device and you will see that your device's Bluetooth broadcast name has changed.