Giter VIP home page Giter VIP logo

nrf52832-mdk's Introduction

nRF52832-MDK

An Open Source, Micro Development Kit for IoT Embedded Applications

中文文档

Table of Contents

Introduction

The nRF52832-MDK is a fully open-source, versatile single board development kit for Bluetooth® low energy, ANT and 2.4GHz proprietary applications using the nRF52832 SoC.

The kit gives access to 24 I/Os and interfaces via headers and has a RGB LED which is user-programmable. It also has a 2.4GHz chip antenna onboard which is quite convenient to develop IoT wireless applications.

It supports the Nordic offical SDK using GCC, Keil and IAR. Program/Debug options on the kit is DAPLink.

The nRF52832-MDK can also be used to play with multi-frameworks such as: nRF5 SDK, nRF5 SDK for Mesh, Mbed OS 5, Zephyr, Mynewt, NuttX, JerryScript, Espruino, MicroPython, Web Bluetooth, Eddystone, etc.

There are two versions of nRF52832-MDK available:

  • V1: with Micro USB socket and headers soldered in

  • V2: without headers soldered in and can be connected to PC without any cable

Just choose one that's right for you!

V1&V2 image

Hardware Specification

nRF52832-MDK provides the following hardware features:

  • Nordic Semiconductor nRF52832

    • ARM® Cortex™-M4F
    • 512kB Flash Memory + 64kB RAM
    • Bluetooth low energy, ANT and 2.4GHz
    • NFC™-A tag
  • Program/Debug options with DAPLink

    • MSC - drag-n-drop programming flash memory
    • CDC - virtual com port for log, trace and terminal emulation
    • HID - CMSIS-DAP compliant debug channel
  • Up to 24 GPIOs at headers

  • Reset Button

  • RGB LED

  • 2.4GHz chip antenna

  • 3.3V regulator with 1A peak current output

  • VBUS & VIN Power-Path Management

  • Breadboard-friendly

  • Two dimensions available:

    • V1: 48mm x 18mm x 13mm with headers soldered in
    • V2: 63mm x 18mm x 4mm without headers soldered in

Pinout Diagram

Getting Started with nRF52832-MDK

Congratulations on getting the nRF52832-MDK. In this section we'll show you how to connect and power up your nRF52832-MDK, and what to expect when you do so. This will take about 20 minutes.

Connecting the board

You can connect the board by performing the following steps:

  1. Connect the nRF52832-MDK to one of your PC's USB host ports. This provides power to the board. Observe that two GREEN LEDs are on. One indicates that 3.3V power is good, and another indicates that the application is advertising.

  2. Open a file explorer. Confirm that the nRF52832-MDK has appeared as a removable drive named DAPLINK. This allows you to program the onboard chip. You'll do this under "how to program nRF52832-MDK" below.

Using terminal applications

Terminal applications (for example PuTTY or screen) run on your host PC. They provide a window where your board can print messages.

You can connect your board to your computer over USB. This should work out of the box on Linux and macOS, but for Windows earlier than Windows 10, you will probably need to install a serial port driver:

  1. Download the Arm Mbed Windows serial port driver.

  2. Plug in your board over USB. It mounts as a drive.

  3. Close all Explorer windows showing the drive.

  4. Run the installer. This may take some time or display a few "unsigned driver" warnings.

The default setup for the USB serial port is 115200 baud, 8 bits, 1 stop bit, no parity (115200-8-N-1)

On Windows

There are many terminal applications for Windows, PuTTY is recommended.

Start PuTTY and open the used COM port with the following configuration. If there is nothing printed, just press RESET button on the board.

On macOS

screen should work on macOS. In Terminal, run:

$ screen /dev/cu.usbmodem1412 115200

If there is nothing printed, just press RESET button on the board.

You can type screen /dev/cu.usb first, and then press tab. The device name will autocomplete.

To end a screen session, type Ctrl + A, and then Ctrl + K. At the bottom of the Terminal window, you should see a [y/n] prompt. Type y.

On Linux

screen should work on Linux. If for some reason it doesn't, you can try one of the following:

Here we will use screen on Ubuntu 16.04 for example. If there is nothing printed, just press RESET button on the board.

$ sudo apt-get install screen
$ sudo screen /dev/ttyACM0 115200

Using nRF Connect

You can also test the application with nRF Connect by performing the following steps:

  1. Get the nRF Connect app from App Store or Google Play.

  2. Connect to the device from nRF Connect (the device is advertising as nRF52832-MDK).

  3. Observe that BLUE LED is on and GREEN LED is off. This indicates that the connections is established.

  4. Observe that the services are shown in the connected device.

  5. Write 01 to the Nordic Blinky LED Characteristic (0x1525) and observe that RED LED is turned on.

  6. Write 00 to the Nordic Blinky LED Characteristic (0x1525) and observe that RED LED is turned off.

How to program nRF52832-MDK

You have the following two options to program your nRF52832-MDK:

Drag-n-drop Programming

Drag and drop the hex file into the DAPLINK removable drive mentioned above. The file contains firmware which will be automatically programmed onto the nRF52832 SoC. This happens immediately. The explorer window may close when programming starts. When programming is completed, the unit will be re-detected by the computer. The application will run after pressing the RESET button.

It's so easy, right?

Using pyOCD

pyOCD is an Open Source python 2.7 based library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP. Linux, OSX and Windows are supported.

The latest stable version of pyOCD may be done via pip as follows:

$ pip install --pre -U pyocd

Alternatively, to install the latest development version (master branch), you can do the following:

$ pip install --pre -U https://github.com/mbedmicro/pyOCD/archive/master.zip

Note that you may run into permissions issues running these commands. You have a few options here:

  • Run with sudo -H to install pyOCD and dependencies globally
  • Specify the --user option to install local to your user
  • Run the command in a virtualenv local to a specific project working set.

You can verify that your board is detected by pyOCD by running:

$ pyocd-flashtool -l

and then flash the board by running:

$ pyocd-flashtool -d debug -t nrf52 -se your-hex-file.hex

Hardware Resource

Releases Design Files
V2.0 nRF52832-MDK V2.0 Schematic
nRF52832-MDK V2.0 PCB
nRF52832-MDK V2.0 3D STEP
V1.1 nRF52832-MDK V1.1 Schematic
nRF52832-MDK V1.1 PCB
nRF52832-MDK V1.1 3D STEP
V1.0 nRF52832-MDK V1.0 Schematic
nRF52832-MDK V1.0 PCB
nRF52832-MDK V1.0 3D STEP

How to get an nRF52832-MDK

nRF52832-MDK is available on the following channels (click to go directly to the product):

makerdiary store

SeeedStudio

Tindie

Taobao

License

MIT License

Copyright (c) 2019 makerdiary.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

nrf52832-mdk's People

Contributors

caizelin avatar xiongyihui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf52832-mdk's Issues

About hex file

Hi,

I download the nRF52 SDK and would like to run the examples on the MDK device. Just simply drag the related 10040 hex file into MDK. But seems not work. Is there any other additional operation needed?

Thanks,

fs

Does the NRF52 has FS to store the python scripts or not

AES Support

espruino 1v97 supports AES, however there is no binary available for mdk. The latest supported is only 1v96. Any plans 1v97 will be available soon.

LPC appears to consume 17mA on average

Hi,
I checked my code with the official nRF52832 dev board from Nordic and then tried it to run on nRF52832-mdk. It works great. Thanks for the USB support.
However, I noticed that the LPC11U35 and other non-Nordic related components on the board appear to consume 17mA when doing nothing i.e. idle period.
Is it possible to lower the power consumption of the LPC11U35 or shutdown down the LPC11U35 after say 10 seconds after bootup and keep the nRF52832 running? Perhaps, can you point me to the source code for LPC11U35 so that I can perform these changes.

Looking forward to your reponse.

Thanks

Board lists as unsupported

Running firmware 245, pyocd-flashtool -l prints:

WARNING:root:Unsupported board found 1024
0 => Unknown Board [cortex_m] boardId => 102400000f00690c00000000000000000000000097969902

Nearby eddystone different output

Good afternoon, i have a problem, when i upload the default ".hex" file to the Nordic it works as beacon nearby, but when i compile the project "ble_app_eddystone" and i upload this new ".hex" file it is not recognized as beacon nearby.

The default ".hex" file isn't supposed to come from this project?

Or, how can i configure this project in order to get the ".hex" file works as beacon nearby when i upload it to Nordic?

DAPlink

你好,我看了daplink的github上看到,有很多个lpc11u35的bin文件,我应该下载哪个daplink的固件?我没看到有关于52832的daplink,还望大佬指示

My mobile phone can not connect to nrf52

Hi

  1. BLE LED image(nrf52-DK mbed source code) burn into the nrf52-DK
    使用mbed提供的BLE LED代碼,燒入到nrf52-DK

  2. download nRF Connect app for test
    手機下載nrf connect app 做測試

  3. Search device -> can search for LED
    可搜尋到LED這個裝置

  4. Click CONNECT
    點選connect連線

result:
CONNECTING ... -> DISCONVERING ... -> DISCONNECTED
結果無法連線成功,看起來是找不到character

[email protected]
Thanks
Fred

cmake

running this recipe for linux unbuntu and trying to build the project hello_world, the cmake is not up to date and fails!

README steps no longer work

If you run through the steps in the README there are a number of issues that arise, including that pyocd-gdbserver does not seem to run. I am running python 3.6.4.

No available boards are connected

  • 使用osx
  • 安裝完畢pyOCD

但是卻提示No available boards are connected

$ pyocd-flashtool -l
No available boards are connected

請問還需多安裝什麼嗎

Micro python IDE for nrf52832 Dongle (Maker Diary)

Can you please suggest an IDE supporting micro python for nrf52832 Dongle available at maker-diary. I am familiar with pycharm so if somehow I can use that, it would be great..!!

Looking forward to your reply.

md nrf52832-mdk分支不存在

mbedos5/getting-started/ 中提到的

# 获取 md 远程仓库 nrf52832-mdk 分支的最新代码 $ git pull md nrf52832-mdk

分支不存在

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.