Getting started with MtConnect05 on Nordic SDK

MtConnect05 packs with Nordic nRF52832 micro-controller. Nordic provides a rich and well-tested software development environment, nRF5 SDK, for the nRF52 Series modules. The nRF5 SDK is intended to be used as a foundation for any generic Bluetooth® low energy, ANT or proprietary 2.4Ghz product development.

To introduce you to development using the MtConnect5 applications with Nordic nRF5 SDK, we will provide you with step-by-step instructions.

MtConnect05 Kit

The MtConnect05 Kit includes 3 boards that we will use in this tutorial, MtConnnect05 with BLE mcu M905, and MtAid01, the extension board, and the programmer J-Link OB. You will also need an iPhone or Android phone to connect Bluetooth LE.

mtconnect05-kit.jpeg

Stack MtConnect05 with MtAid01. Connect J-Link OB programmer with MtAid01 then plug to your PC.

mtconnect05-mtaid01-stacked.jpeg

Setup SDK

Install ARM KEIL

Go to ARM KEIL site, sign up, then download KEIL installer. Open it and follow instructions.
https://www.keil.com/demo/eval/arm.htmParallels 圖片.png

Install nRF5 SDK

Download nRF5_SDK v11.0.0.zip from Nordic, and decompress it. There is an msi installer nRF5x_MDK_8_5_0_Keil4.msi, execute it to install the SDK.mtconnect05-sdk-unzip

Then, in the directory /example, find the project file ble_app_template_132_pca10040 which is located at nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_template\pca10040\s132\arm5_no_packsmtconnect05-sdk-uvision-project

Click the project file. It will be opened by the development tool uVision. When you launch the first time, it will tell that some packages are missing. Follow the dialog to install those packages.螢幕快照 2017-07-27 下午12.46.11

mtconnect05-sdk-missing-package.png

After installing required packages, click Project->Build Target or the button on the toolbar to compile this example project.mtconnect05-sdk-build

In the bottom, Build Output view will show progress and errors.mtconnect05-sdk-build-console

To program MtConnect05, click Flash-> Download or the button on the toolbar. It
mtconnect05-sdk-download

Voila! You can see that the MtConnect shows up as a BLE device with name Nordic_Template on your phone now. There are many apps to examine BLE, e.g. LightBlue for iOSnRF Connect for Mobile for Android .
mtconnect05-sdk-lightblue.png

Pin mapping and spec

Please feel free to contact us, if you need further information