Advertisement

Quick Links

BreakBoard User Manual
RAK815(RAK813 BreakBoard)
User Manual V1.1
© 2017 Rakwireless all rights reserved .
Mentioned in this document , the actual company and product
names, trademarks are their respective owners.
After update the new version, this document without prior notice.
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
www.rakwireless.com
ETDX1801191302

Advertisement

Table of Contents
loading

Summary of Contents for RAK RAK815

  • Page 1 BreakBoard User Manual RAK815(RAK813 BreakBoard) User Manual V1.1 © 2017 Rakwireless all rights reserved . Mentioned in this document , the actual company and product names, trademarks are their respective owners. After update the new version, this document without prior notice.
  • Page 2: Table Of Contents

    BreakBoard User Manual Contents Introduction..........................3 Open Source Project....................... 4 2.1 Project Structure........................ 4 2.2 Application Switch......................6 2.3 Configuration LoRaWAN Parameters................6 2.4 Modify LoRaWAN Region....................7 Demo instructions........................9 3.1 Log Information........................9 3.1.1 Install Serial Port Driver..................9 3.3.2 See Log infomation....................10 3.2 LoRaWAN Demo......................
  • Page 3: Introduction

    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..
  • Page 4: Open Source Project

    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...
  • Page 6: Application Switch

    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.
  • Page 7: Modify Lorawan Region

    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.
  • Page 8 BreakBoard User Manual IAR: Keil: COPYRIGHT © SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD www.rakwireless.com ETDX1801191302...
  • Page 9: Demo Instructions

    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.
  • Page 10: See Log Infomation

    BreakBoard User Manual 3.3.2 See Log infomation After the driver is installed successfully, Connect the device to the PC via the Micro USB connector. then reset(The reset Butten is defined SW3) device will see the following log information in the serial port. COPYRIGHT ©...
  • Page 11: Lorawan Demo

    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 12 BreakBoard User Manual After installing APP, open the APP, select the device's Bluetooth radio "RAK813 BreakBoard" connection. After the connection is successful, click RX Characteristic to send the data. Here to send 123456 as an example to demonstrate. COPYRIGHT © SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD www.rakwireless.com ETDX1801191302...
  • 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...
  • Page 14 BreakBoard User Manual You can also see the data sent by the device on the TTN: COPYRIGHT © SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD www.rakwireless.com ETDX1801191302...
  • Page 15: Peripherals Demo

    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.
  • Page 16: Scan Demo

    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.
  • Page 19: Dfu Function

    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 20 Bootload firmware can be found in open source functions. For details on how to program the Bluetooth protocol stack and application firmware, see: RAK815(RAK813 BreakBoard) Firmware download manual. The following figure shows how to program bootloader firmware: COPYRIGHT ©...
  • 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 22 BreakBoard User Manual Use the phone APP to connect to the device's Bluetooth, click the DFU icon in the upper right corner. After selecting the imported zip upgrade firmware, the device will automatically start upgrading the firmware. COPYRIGHT © SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD www.rakwireless.com ETDX1801191302...
  • 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.
  • Page 24: Contact Information

    BreakBoard User Manual 5. Contact information Shenzhen Business E-Mail: ken.yu@rakwireless.com Address: Room 506, Bldg. 3, Minqi Technology Park, No.65 Taoyuan Road, Xili Block, Nanshan District, Shenzhen Shenzhen Technical E-Mail: steven.tang@rakwireless.com Tel : 0755-86108311 Address: Room 506, Bldg. 3, Minqi Technology Park, No.65 Taoyuan Road, Xili Block, Nanshan District, Shenzhen COPYRIGHT ©...
  • Page 25: Revision History

    BreakBoard User Manual 6. Revision History Author Version Date Change V1.0 2018-01-19 First release Chace V1.1 2018-03-09 Subdivided several cases and added DFU application Chace COPYRIGHT © SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD www.rakwireless.com ETDX1801191302...

This manual is also suitable for:

Rak813

Table of Contents