1.. zephyr:board:: rak5010 2 3Overview 4******** 5 6WisTrio NB-IoT Tracker Pro (RAK5010) is a tracker 7with integrated LTE CAT M1 & NB1, GPS, BLE, and sensors. 8It is built on the Quectel BG96 LTE CAT M1 & NB1 module, 9which has an integrated GPS receiver. The MCU running 10the board is a Nordic nRF52840 controller. 11 12As it has both GPS and BLE it can be used for outdoor 13and indoor scenarios, where location-based services need be present. 14 15The built-in sensors for RAK5010 are temperature and 16humidity sensor, motion sensor, pressure sensor, and light sensor. 17The extension IOs allow adding more sensors in addition to the on-board ones. 18 19This board is particularly suitable to be used as a 20quick testing and prototyping tool for applications 21requiring NB-IoT connectivity. Application development 22supports the GCC environment. 23 24Hardware 25******** 26 27- nRF52840 ARM Cortex-M4F Processor 28- 32.768 kHz crystal oscillator 29- 1 Micro-AB USB OTG host/device 30- Quectel BG96, with LTE CAT M1, LTE NB1, and GNSS 31- iPEX connectors for the LTE and GPS antenna and an on-board ceramic antenna for the BLE. 32- nano-SIM and ESIM options. 33- Multiple interfaces, I2C, UART, GPIO, ADC 34- 1 user LED 35- 1 SHTC3 Humidity and Temperature Sensor 36- 1 OPT3001DNPR Ambient Light Sensor 37- 1 LPS22HB Pressure Sensor 38- 1 LIS3DH Motion Sensor 39- Powered by either Micro USB, 3.7V rechargeable battery or a 5V Solar Panel Port 40 41Supported Features 42================== 43 44.. zephyr:board-supported-hw:: 45 46Connections and IOs 47=================== 48 49LED 50--- 51 52* LED0 (green) = P0.12 53 54 55Programming and Debugging 56************************* 57 58The RAK5010 board shall be connected to a Segger Embedded Debugger Unit 59`J-Link OB <https://www.segger.com/jlink-ob.html>`_. This provides a debug 60interface to the NRF52840 chip. You can use JLink to communicate with 61the NRF52840. 62 63Flashing 64======== 65 66#. Download JLink from the Segger `JLink Downloads Page`_. Go to the section 67 "J-Link Software and Documentation Pack" and install the "J-Link Software 68 and Documentation pack for Linux". The application JLinkExe needs to be 69 accessible from your path. 70 71#. Run your favorite terminal program to listen for output. Under Linux the 72 terminal should be :code:`/dev/ttyACM0`. For example: 73 74 .. code-block:: console 75 76 $ minicom -D /dev/ttyACM0 -o 77 78 The -o option tells minicom not to send the modem initialization string. 79 Connection should be configured as follows: 80 81 - Speed: 115200 82 - Data: 8 bits 83 - Parity: None 84 - Stop bits: 1 85 86#. Connect the RAK5010 board to your host computer using the USB debug port. 87 Then build and flash the :zephyr:code-sample:`hello_world` application. 88 89 .. zephyr-app-commands:: 90 :zephyr-app: samples/hello_world 91 :board: rak5010/nrf52840 92 :goals: build flash 93 94 You should see "Hello World! rak5010_nrf52840" in your terminal. 95 96Debugging 97========= 98 99You can debug an application in the usual way. Here is an example for the 100:zephyr:code-sample:`hello_world` application. 101 102.. zephyr-app-commands:: 103 :zephyr-app: samples/hello_world 104 :board: rak5010/nrf52840 105 :maybe-skip-config: 106 :goals: debug 107 108References 109********** 110 111.. target-notes:: 112 113.. _RAK5010 Product Description: 114 https://doc.rakwireless.com/datasheet/rakproducts/rak5010-wistrio-nb-iot-tracker-datasheet 115 116.. _JLink Downloads Page: 117 https://www.segger.com/downloads/jlink 118