{"id":363,"date":"2017-03-27T14:12:23","date_gmt":"2017-03-27T12:12:23","guid":{"rendered":"http:\/\/systev.com\/?p=363"},"modified":"2020-04-27T08:27:02","modified_gmt":"2020-04-27T06:27:02","slug":"connecting-sts-lorawan-development-kit-to-oranges-lorawan-network","status":"publish","type":"post","link":"https:\/\/systev.com\/connecting-sts-lorawan-development-kit-to-oranges-lorawan-network\/","title":{"rendered":"Connecting ST LoRaWAN development kit to Orange LoRaWAN network"},"content":{"rendered":"
This post explains how to use ST LoRaWAN development kit to transmit data over French Orange LoRaWAN network. We will use a sample source code from ST, which we will compile and link using System Workbench for STM32<\/em>, based on Eclipse<\/em>.<\/p>\n You need an active Orange Live Objects LPWA<\/a> account.<\/p>\n ST LoRaWAN kit<\/a> is a bundle of the NUCLEO-L073RZ board<\/a> and a dedicated expansion board implementing a SX1272 radio transceiver. Libraries and application examples are provided by the I-CUBE-LRWAN<\/a> software package.<\/p>\n The UM2085 User Manual<\/a> explains how to use the LoRaWAN kit.<\/p>\n The UM2073 User manual<\/a> introduces I-CUBE-LRWAN<\/a> software package.<\/p>\n Unplug the LoRa shield (expansion board).<\/p>\n Set Nucleo board jumpers as follows:<\/p>\n On LoRa shield, connect the antenna to the ANT connector.<\/p>\n Plug the LoRa shield back on the Nucleo board. Connectors are asymetric, so you can’t plug it in the wrong way if you check that all pins are plugged in.<\/p>\n Software installation described below has been tested on Linux Mint 18.1<\/a> and macOS Sierra. It should work on Microsoft Windows as well.<\/p>\n Install a terminal emulator. On a Mac, this can be SerialTools<\/a>, for instance. On Linux, you can use CuteCom<\/a>.<\/p>\n Install Eclipse IDE for C\/C++ developers<\/a>.<\/p>\n After having signed up at OpenSTM32’s website<\/a>, follow Eclipse plugin installation instructions<\/a>. Do not request installation of deprecated tools. For Linux, do not forget to add the specific ST-Link udev rule, as stated by the installation instructions.<\/p>\n After having signed up at ST’s website<\/a>, download I-CUBE-LRWAN<\/a>. Unzip the file.<\/p>\n Start Eclipse, go to File \/ Import… \/ General \/ Projects from Folder or Archive<\/strong>. Click on Next<\/strong> button. Click on Directory…<\/strong> button, and select End_Node<\/tt> folder. Then, keep ticked End_Node<\/tt> and sx1272mb2das<\/tt> for STM32L073RZ-Nucleo<\/tt> projects only:<\/p>\n Click on Finish<\/strong> button.<\/p>\n The projects are now visible in the Project Explorer<\/strong> view. Go to Project \/ Build All<\/strong>. The Console<\/strong> view displays build messages:<\/p>\n The binary file resulting from the build can be found in the Debug<\/tt> folder:<\/p>\n Connect the LoRaWAN kit to the computer. The Nucleo board should become visible as a mass storage device.<\/p>\n Start the terminal emulator you installed. Select the (virtual) serial port created over the USB port. Set speed to 115200 b\/s, data bits to 8, stop bits to 1, parity to none, and flow control to none. For SerialTools, on a Mac, this gives:<\/p>\n Click on the Connect<\/strong> button.<\/p>\n Then copy the binary file resulting from the build to the Nucleo board, using the associated mass storage device as target of the copy operation. The Nucleo board LED placed near the USB port blinks for a few seconds. Then, the terminal emulator displays following lines:<\/p>\n The last three lines are repeated until the LoRaWAN kit is accepted by Orange LoRaWAN network.<\/p>\n Using your Live Objects credentials, connect to your account, and register the LoRaWAN kit using the information displayed by the terminal emulator:<\/p>\n The profile and the encoding were chosen more or less at random (!).<\/p>\n Wait until the word JOINED<\/tt> is displayed in the terminal emulator. The LoRaWAN kit is now seen as active by Live Objects:<\/p>\n That’s it!<\/p>\n You can now start modifying the LoRaWAN application source code, in order to adapt it to your requirements.<\/p>\n","protected":false},"excerpt":{"rendered":" This post explains how to use ST LoRaWAN development kit to transmit data over Orange French LoRaWAN network. We will use a sample source code from ST, which we will compile and link using System Workbench for STM32, based on Eclipse.<\/p>\n","protected":false},"author":2,"featured_media":365,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17],"tags":[],"_links":{"self":[{"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/posts\/363"}],"collection":[{"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/comments?post=363"}],"version-history":[{"count":35,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":1094,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/posts\/363\/revisions\/1094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/media\/365"}],"wp:attachment":[{"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/media?parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/categories?post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systev.com\/wp-json\/wp\/v2\/tags?post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}ST LoRaWAN development kit<\/h2>\n
Reference documentation<\/h3>\n
Getting started with the LoRaWAN kit<\/h3>\n
\n
Software installation<\/h3>\n
LoRa application compilation<\/h3>\n
<\/p>\n
<\/p>\n
<\/p>\n
Programming the Nucleo board<\/h3>\n
<\/p>\n
OTAA\nDevEui= 33-39-34-37-60-35-86-14\nAppEui= 01-01-01-01-01-01-01-01\nAppKey= 2B 7E 15 16 28 AB F7 15 88 09 CF 4F 3C\nVERSION: 44011000\n\ntxDone\nrxTimeOut\nrxTimeOut<\/pre>\n
Orange Live Objects configuration<\/h2>\n
<\/p>\n
<\/p>\n