This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nblocks:n-pro-40 [2019/10/01 07:45] faizan |
nblocks:n-pro-40 [2020/06/02 12:33] (current) engineer |
||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right 220px nblock round :en> | <WRAP right 220px nblock round :en> | ||
<WRAP centeralign>//**n-PRO-40**// </WRAP> | <WRAP centeralign>//**n-PRO-40**// </WRAP> | ||
- | {{n-pro-40-03.jpg}} | + | {{n-pro-40-09.jpg}} |
<WRAP centeralign> | <WRAP centeralign> | ||
n-PRO-40</WRAP> | n-PRO-40</WRAP> | ||
- | | License | GPL 2.0 | | + | | License | GPL 2.0 | |
- | | Status | Tested | | + | | Status | Tested | |
- | | Buy at: | | | + | | Buy at: | | |
- | | Categories | | | + | | Categories | | |
- | | Hardware repo | [[https://bitbucket.org/nimbus_it/n-pro-40|Bitbucket]] | | + | | Hardware repo | [[https://bitbucket.org/nimbus_it/pcba-n-pro-40|Bitbucket]] | |
- | | Firmware repo | [[https://bitbucket.org/nimbus_it/n-pro-40|Bitbucket]] | | + | | Firmware repo | | |
</WRAP> | </WRAP> | ||
n-PRO-40 has been designed to offer cost effective solution for users seeking to add LoRa connectivity to their projects with minimal previous experience in networking. This board from the n-Blocks family is based on [[nblocks:proformfactor|n-Blocks PRO form factor]]. | n-PRO-40 has been designed to offer cost effective solution for users seeking to add LoRa connectivity to their projects with minimal previous experience in networking. This board from the n-Blocks family is based on [[nblocks:proformfactor|n-Blocks PRO form factor]]. | ||
- | <WRAP centeralign>{{:nblocks:n-pro-40-01.jpg?300|}}</WRAP> | + | <WRAP centeralign>{{nblocks::n-pro-40-v21.jpg?300|}}</WRAP> |
===== Overview===== | ===== Overview===== | ||
<poem> | <poem> | ||
- | [[nblocks:n-PN LoRaWAN|n-PRO-40]] board is a low-cost and easy-to-use development kit for quick evaluation and to start some development with LoRaWAN protocol. It uses an ARM® 32-bit Cortex™-M and is totally compatible with n-Best ecosystem. It is based on Murata CMWX1ZZABZ LoRa module and also features STM32L082 microcontroller. The exclusive combination of an Arm® Cortex®-M0+ core and STM32 ultra-low-power features, makes the STM32L082 the best fit for applications operating on batteries or supplied by energy harvesting. It is the ideal solution for the users having no or little experience of networking to design Ultra Low-power IoT projects. | + | [[nblocks:n-PN LoRaWAN|n-PRO-40]] board is a low-cost and easy-to-use development kit for quick evaluation and to start some development with LoRaWAN protocol. It uses an ARM® 32-bit Cortex™-M and is totally compatible with n-Blocks ecosystem. It is based on Murata CMWX1ZZABZ LoRa module and also features STM32L082 microcontroller. The exclusive combination of an Arm® Cortex®-M0+ core and STM32 ultra-low-power features, makes the STM32L082 the best fit for applications operating on batteries or supplied by energy harvesting. It is the ideal solution for the users having no or little experience of networking to design Ultra Low-power IoT projects. |
Communication with the module can be achieved via UART, SPI, or I2C peripheral interfaces. GPIOs provide plenty of flexibility for connecting sensors, switches and status LEDs, and the module is powered from a 1.6 to 3.6 VDC supply. | Communication with the module can be achieved via UART, SPI, or I2C peripheral interfaces. GPIOs provide plenty of flexibility for connecting sensors, switches and status LEDs, and the module is powered from a 1.6 to 3.6 VDC supply. | ||
Line 76: | Line 76: | ||
* Built-in temperature sensor and low battery indicator | * Built-in temperature sensor and low battery indicator | ||
\\ | \\ | ||
- | ===== n-PRO-40 Board Features ==== | + | ===== n-PRO-40 Features ==== |
<WRAP left 600px :en> | <WRAP left 600px :en> | ||
* CMWX1ZZABZ Murata LoRaWAN module with Semtech (SX1276) + STM (STM32L0) | * CMWX1ZZABZ Murata LoRaWAN module with Semtech (SX1276) + STM (STM32L0) | ||
Line 102: | Line 102: | ||
- | =====Board Pinout projected to Top side===== | + | =====Board Pinout===== |
- | n-PRO-40 is a **HOST** board with 4 x 60 pin MOLEX SLIMSTACK connectors at bottom side, following the [[nblocks:nproformfactor|n-Blocks PRO form factor]].\\ | + | n-PRO-40 is a **HOST** board with four Hirose DF30-series 60-pin low profile connectors at bottom side, following the [[nblocks:nproformfactor|n-Blocks PRO form factor]].\\ |
- | <WRAP centeralign>{{nblocks:n-pro-40-bp.png?900|}}</WRAP> | + | <WRAP centeralign>{{nblocks:n-pro-40-v22.jpg?300|}}</WRAP> |
\\ | \\ | ||
- | + | <WRAP centeralign>{{:nblocks:n-pro-40-nbusa.jpg|}}</WRAP> | |
- | + | ||
- | + | ||
- | + | ||
\\ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-40-nbusb.jpg|}} </WRAP> | ||
\\ | \\ | ||
- | **NBUS1** | + | <WRAP centeralign>{{:nblocks:n-pro-40-nbusc.jpg|}}</WRAP> |
+ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-40-nbusd.jpg|}}</WRAP> | ||
- | <csv> | ||
- | Pin No.,Pin Name,Description | ||
- | 2,GND, | ||
- | 4,RXD-1, | ||
- | 5,TXD-1, | ||
- | 6,SDA, | ||
- | 7,SCL, | ||
- | 8,MISO, | ||
- | 9,MOSI, | ||
- | 10,SCK, | ||
- | 11,SS, | ||
- | 12,RESET-CPU, | ||
- | 23,SLEEP, | ||
- | 24,SENSOR-1, | ||
- | 25,SENSOR-2, | ||
- | 26,SENSOR-3, | ||
- | 27,SENSOR-4, | ||
- | 28,5V-IN, | ||
- | 29,GND, | ||
- | 30,3.3V-LOAD, | ||
- | 31,3.3V-LOAD, | ||
- | 32,GND, | ||
- | 33,5V-IN, | ||
- | 51,SDA, | ||
- | 59,SCL, | ||
- | 60,MISO, | ||
- | </csv> | ||
- | **NBUS2** | ||
- | <csv> | ||
- | Pin No.,Pin Name,Description | ||
- | 2,GND, | ||
- | 12,RESET-CPU, | ||
- | 28,5V-IN | ||
- | 29,GND | ||
- | 30,3.3V-LOAD | ||
- | 31,3.3V-LOAD, | ||
- | 32,GND, | ||
- | 33,5V-IN, | ||
- | 47,SWCLK, | ||
- | 49,SWDIO, | ||
- | 57,BOOT0, | ||
- | 59,GND, | ||
- | 60,1-WIREON, | ||
- | </csv> | ||
\\ | \\ | ||
\\ | \\ | ||
- | **NBUS3** | ||
- | |||
- | <csv> | ||
- | Pin No.,Pin Name,Description | ||
- | 2,GND, | ||
- | 4,RXD-1, | ||
- | 5,TXD-1, | ||
- | 6,SDA, | ||
- | 7,SCL, | ||
- | 8,MISO, | ||
- | 9,MOSI, | ||
- | 10,SCK, | ||
- | 11,SS, | ||
- | 12,RESET-CPU, | ||
- | 23,SLEEP, | ||
- | 24,SENSOR-1, | ||
- | 25,SENSOR-2, | ||
- | 26,SENSOR-3, | ||
- | 27,SENSOR-4, | ||
- | 28,5V-IN, | ||
- | 29,GND, | ||
- | 30,3.3V-LOAD, | ||
- | 31,3.3V-LOAD, | ||
- | 32,GND, | ||
- | 33,5V-IN, | ||
- | 51,SDA, | ||
- | 59,SCL, | ||
- | 60,MISO, | ||
- | |||
- | </csv> | ||
- | |||
- | |||
- | **NBUS4** | ||
- | <csv> | ||
- | Pin No.,Pin Name,Description | ||
- | 2,GND, | ||
- | 12,RESET-CPU, | ||
- | 28,5V-IN | ||
- | 29,GND | ||
- | 30,3.3V-LOAD | ||
- | 31,3.3V-LOAD, | ||
- | 32,GND, | ||
- | 33,5V-IN, | ||
- | 47,SWCLK, | ||
- | 49,SWDIO, | ||
- | 57,BOOT0, | ||
- | 59,GND, | ||
- | 60,1-WIREON, | ||
- | </csv> | ||
===== Getting started===== | ===== Getting started===== | ||
- | http://www.n-blocks.net/nmodules/doku.php?id=nblocks:lorawan_setup | + | [[http://www.n-blocks.net/nmodules/doku.php?id=nblocks:lorawan_setup|LoRaWAN Setup]] |
- | To configure all the necessary tools to start working with the n-PRO-50 board, two main elements need to be downloaded by the user. | + | To configure all the necessary tools to start working with the n-PRO-40 board, two main elements need to be downloaded by the user. |
- | * An **Integrated development environment (IDE)**. Although the n-PRO-50 board can support a wide variety of IDEs to work with, KEIL environment can be chosen for two main reasons: | + | * An **Integrated development environment (IDE)**. Although the n-PRO-40 board can support a wide variety of IDEs to work with, KEIL environment can be chosen for two main reasons: |
- | - STM provides all the necessary LoRaWAN protocol drivers for the microcontroller embedded in the n-PN board for this IDE. | + | - STM provides all the necessary LoRaWAN protocol drivers for the microcontroller embedded in the n-PRO-40 board for this IDE. |
- | - KEIL IDE (MDK Version 5) is free for STM32F0 and STM32L0 microcontrollers and due to the n-PN board has an STM32L0 microcontroller, we are allowed to activate the license for this software environment (follow the instructions [[http://www2.keil.com/stmicroelectronics-stm32/mdk|here]]). | + | - KEIL IDE (MDK Version 5) is free for STM32F0 and STM32L0 microcontrollers and due to the n-PRO-40 board has an STM32L0 microcontroller, we are allowed to activate the license for this software environment (follow the instructions [[http://www2.keil.com/stmicroelectronics-stm32/mdk|here]]). |
- | * The **Nimbus SDK** which contains the minimum files to start working with the n-PRO-50 board as well as some basic examples that the user can use as templates (Nimbus SDK is based on STM32CubeExpansion_LRWAN_V1.1.4 and can be found in the next repository: https://bitbucket.org/nimbus_it/pn_lora_node). | + | * The **Nimbus SDK** which contains the minimum files to start working with the n-PRO-40 board as well as some basic examples that the user can use as templates (Nimbus SDK is based on STM32CubeExpansion_LRWAN_V1.1.4 and can be found in the next repository: https://bitbucket.org/nimbus_it/pn_lora_node). |
* After installing KEIL (MDK) IDE(and the license activated) and downloading the Nimbus SDK, there are several basics examples (using LoRaWAN technology) which the user can start working with. The examples can be found following the path: LoRaWAN_Examples / STM32CubeExpansion_LRWAN_V1.1.4 / Projects / Multi / Applications / LoRa /. | * After installing KEIL (MDK) IDE(and the license activated) and downloading the Nimbus SDK, there are several basics examples (using LoRaWAN technology) which the user can start working with. The examples can be found following the path: LoRaWAN_Examples / STM32CubeExpansion_LRWAN_V1.1.4 / Projects / Multi / Applications / LoRa /. | ||
- | * Open Any Example folder (Button folder for this example) and open MDK-ARM folder.\\ | + | * Open Any Example folder (Temperature_Humidity folder for this example) and open MDK-ARM folder.\\ |
- | {{:nblocks:n-pn_gs1.png?700|}} | + | {{:nblocks:n-pro-40-sc1.jpg}} |
* Open N-PN folder.\\ | * Open N-PN folder.\\ | ||
- | {{:nblocks:n-pn_gs2.png?700|}} | + | {{:nblocks:n-pro-40-sc2.jpg}} |
- | * Open Button project (Double click on Button.uvprojx).\\ | + | * Open Temperature_Humidity project (Double click on Temperature_Humidity.uvprojx).\\ |
- | {{:nblocks:n-pn_gs3.png?700|}} | + | {{:nblocks:n-pro-40-sc3.jpg}} |
* The project is ready to be tested.\\ | * The project is ready to be tested.\\ | ||
- | {{:nblocks:n-pn_gs4.png?700|}} | + | {{:nblocks:n-pro-40-sc4.jpg}} |
Line 246: | Line 153: | ||
**NOTES:** | **NOTES:** | ||
- | - KEIL IDE (MDK) may not have the libraries installed for the microcontroller embedded in the n-PRO-50 board, so a pop-up window will appear asking us to install those libraries. Just follow the instructions to install them up. You may reset your computer after the installation. | + | - KEIL IDE (MDK) may not have the libraries installed for the microcontroller embedded in the n-PRO-40 board, so a pop-up window will appear asking us to install those libraries. Just follow the instructions to install them up. You may reset your computer after the installation. |
- If we double click on Button.uvprojx (a project file) and Windows does not recognise the extension file, just choose KEIL (MDK). | - If we double click on Button.uvprojx (a project file) and Windows does not recognise the extension file, just choose KEIL (MDK). | ||