Download Print this page

Advertisement

Quick Links

Documentation Center
Quick Start Guide
What do you need?
Before going through the configuration guide of the RAK4600 Evaluation Board, make sure to prepare the items
listed below:
1. RAK4600 Evaluation Board
2. Micro USB cable
3. LoRA Gateway in Range for testing (not provided)
4. RAKDAP1 DapLink tool (not provided)
5. Windows PC
NOTE
This device released by RAKWireless is already pre-loaded with its latest firmware upon manufacture. If
you want to have your device's firmware burned or upgraded, please refer to the links below:
1.
Device Firmware Setup
2.
Device Firmware Upgrading
3.
Open Source Framework Development
What's Included in the Package?
1pc - RAK4600 Evaluation Board
1pc - Micro USB cable
1pc - LoRa Antenna (iPEX)
1pc - BLE Antenna (iPEX)
2pcs - 4-pin Header (not soldered)
9pcs - Dupont Lines
Interfacing with RAK4600
In order to interface with the Evaluation Board, using a Windows PC, you need to install the RAK Serial Port Tool
here
.
WARNING
Before powering the RAK4600 Evaluation Board , you should install the LoRa and BLE Antenna first. Not
doing so might damage the board.
Figure 1: LoRa and BLE Antennas

Advertisement

loading

Summary of Contents for RAKwireless RAK4600

  • Page 1 Documentation Center Quick Start Guide What do you need? Before going through the configuration guide of the RAK4600 Evaluation Board, make sure to prepare the items listed below: 1. RAK4600 Evaluation Board 2. Micro USB cable 3. LoRA Gateway in Range for testing (not provided) 4.
  • Page 2 Documentation Center Connect your RAK4600 Evaluation Board to your Windows PC using the provided micro USB cable. Figure 2: RAK4600 Evaluation Board to Windows PC Connection Open the RAK Serial Port Tool : Figure 3: RAK Serial Port Tool In order to choose the correct COM Port number for your device you need to open your Device Manager by...
  • Page 3 Documentation Center Figure 4: Device Manager Look for Ports (COM & LPT) and find the name USB-SERIAL CH340 . Take note of the COM Port Number. NOTE If you didn't find any Port with the name USB-Serial CH340, make sure you have installed the the CH340 Drivers on your Windows PC.
  • Page 4 Figure 5: Correct Port Number and Baud rate Checking Device Logs 1. Open the RAK Serial Port Tool 2. Press the reset button on the RAK4600 Evaluation Board then you will see the following contents in the Serial Port Tool. Figure 6: Log Checking through UART NOTE You still have to connect the micro usb cable to the RAK4600 Evaluation Board to power the board.
  • Page 5 Figure 7: RAK4600 Evaluation Board to Windows PC Connection 2. Try to send a simple AT command to RAK4600 to get the current firmware’s version by sending the command below using the RAK Serial Port Tool. Similarly, you can send other AT commands of RAK4600 in the same way.
  • Page 6 Figure 8: AT command for Firmware Version Through BLE 1. In order to configure the RAK4600 through BLE, download and install nRF Connect for Mobile. This tool is developed by Nordic Semiconductor and is available on the App Store and Google Play Store.
  • Page 7 Documentation Center Figure 9: nRF Connect App in Android and IOS 2. Make sure the Bluetooth on your mobile is turned on. Open the application and scan for BLE devices. You will see all BLE devices in range in the scan list:...
  • Page 8 Figure 10: Available Bluetooth Devices in the Nordic App 3. Press the reset button on the RAK4600 Evaluation Board and wait for a couple of seconds. Look for a BLE Device named "RUI-..." in the scan list of the app. Connect to this device and click "Nordic UART Service"...
  • Page 9 ⚠ WARNING By default, the BLE signal of the RAK4600 is turned off automatically if no connection is established after 60 seconds. Connect to RAK4600 over BLE immediately after pressing the reset button. 4. Click on the arrow which is marked by the red box in the picture below, you will see the following page:...
  • Page 10 Documentation Center Figure 12: RX Characteristic in the Nordic UART Service 5. You can now send AT commands to the RAK4600. For example, if you want to check the current firmware’s version send the following command:...
  • Page 11 Documentation Center Figure 13: Sending AT Command via Nordic App 6. Check the AT command response on Nordic UART Service Tx Characteristic.
  • Page 12 Documentation Center Figure 14: AT response over BLE Open Source Framework Before using RAK4600 on Arduino IDE you need to flash a new bootloader using RAKDAP1 Tool and pyOCD. 1. Install pyOCD. Please refer to RAKDAP1 Flash and Debug Tool 2.
  • Page 13 Before upload any Arduino example make sure that the RAK4600 is on DFU mode. 1. Connect the RX pin of RAK4600 to GND. 2. Press the reset button and then disconnect RX pin from GND. Now the RAK4600 is on DFU mode. Connecting to The Things Network (TTN)
  • Page 14: Bluetooth Connection Modes

    I2C2_SCL Bluetooth Connection Modes There are three BLE modes in RAK4600 from the firmware V3.0.0.6 on, the Peripheral Mode, the Central Mode and the Beacon Scan Mode. You can change the work mode of RAK4600’s BLE using the commands provided...
  • Page 15 For the Central Mode, RAK4600’s BLE will not broadcast so that your mobile devices will not be able to scan it. This is very useful if you want to make the RAK4600 act as a BLE Gateway wherein BLE Sensor Nodes (up to 20 Devices) can send sensor data.
  • Page 16 Figure 15: Available Bluetooth Devices in the Nordic App 3. Press the reset button on the RAK4600 and wait for a couple of seconds. Look for a BLE Device named "RUI-..." in the scan list of the app. Connect to this device and click on "Secure DFU Service"...
  • Page 17 Documentation Center Figure 16: Secure DFU Service in the Nordic App 4. On “Secure DFU Service” click on the button highlighted in red.
  • Page 18 Documentation Center Figure 17: Buttonless DFU 5. Now, click on the red box button as shown below and press "Send" in the Write Value pop-up window.
  • Page 19 Documentation Center Figure 18: Resetting the Bootloader via Bluetooth 6. Great! Now the RAK4600 is now working in DFU Mode. In the application, you will see the following:...
  • Page 20 Documentation Center Figure 19: RAK4600 Default Status Overview after Resetting 7. In the device list, find a BLE device named "DfuTarg" and then click on Connect.
  • Page 21 9. The DFU application automatically start to upgrade the firmware of your RAK4600 through DFU over BLE. After upgrading, the application restart the RAK4600 and the DFU mode is disabled. Now you can use the RAK4600...
  • Page 22 Figure 21: Distribution Packet File Type under DFU 9. The DFU application automatically start to upgrade the firmware of your RAK4600 through DFU over BLE. After upgrading, the application restart the RAK4600 and the DFU mode is disabled. Now you can use the RAK4600...
  • Page 23 Documentation Center Figure 22: DFU Upgrading of RAK4600 Firmware via BLE Last Updated: 2/15/2021, 4:50:53 AM...