2
1 IB51822 - User Manual Armstart Makers helping makers http://www.armstart.com | http://twitter.com/armstart Introduction IB51822 is an mbed enabled Bluetooth 4.0/4.1 Low Energy ARM Cortex M0 Development board based on nRF51822 chip from NordicSemi. IB51822 runs in SUPER LOW POWER, which means you can power it with a coin battery for a very long time! You can use IB51822 to prototype your IoT projects like smart watch, step-counter, sleep tracker, smart home switches, Amazon dash-button, Beacon, and all kind of sensor projects like heart- rate sensor, brain wave sensor, muscle sensor, etc. There're so many ideas that can be achieved with IB51822. It's designed with flexibility, easy to use with all pin-outs accessible for any requirements of project prototyping. IB51822 can be used to with a variety of smart phone, here's a list of devices that are known having the BLE supported: Apple smart devices: iPhone 4S, iPhone 5, iPhone 5C, iPhone 5S, iPhone 6, iPhone 6C and iPhone 6S. iPAD, iPAD2, iPAD mini. Android phones: Google Nexus 4, 5, 6, 7; Samsung Note 3 / GT-I9300 / GT-I9500; Huawei Ascend P7; HTC One running Android OS v4.4.2+; HTC One M7 running Android OS v4.4.2+; Moto X/G running Android OS v4.4.2+; Samsung Galaxy S5; Sony Xperia E1 running Android OS v4.3; Sony Xperia Z1 running Android OS v4.4.4+; IB5 IB5182 https:/ Featu 51822 P 22 schematic //s3.amazonaw ures: 32-bit ARM 256kB flash QFAA BLE 4.0/4.1 Support BLE GATT Profile Supports bo Peripheral R Pinmap is provided a ws.com/armst M Cortex M0 CPU h + 16kB RAM, n 1 support, E standard and es. oth BLE Central Roles. 2 p and can be dow tart/BLE/IB518 U core nRF51822 d custom l and P 2 wnloaded from 822/IB51822_ Peripherals: 3 x 16 mode 16 cha Progra Interc Encryp ECB/C Rando RTC Integr senso Flexib 31 GP Up to m the followin _SCH-latest.p 6/24-bit timers e annel CPU inde ammable Perip connect (PPI) ption -128-bit A CCM/AAR co-pr om Number Ge rated on chip te or ble GPIO pin con PIO 4 PWM ng link: pdf with counter ependent pheral AES rocessor enerator emperature nfiguration

IB51822 - User Manual IB51822 - Seeed Studio · Getting Started - Programming Guide The following guide works for Windows, Linux and Mac OS users. Note: If you are a programming expert

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

  • 1

    IB51822 - User Manual Armstart – Makers helping makers

    http://www.armstart.com | http://twitter.com/armstart

    Introduction IB51822 is an mbed enabled Bluetooth 4.0/4.1 Low Energy ARM Cortex M0 Development board based on nRF51822 chip from NordicSemi. IB51822 runs in SUPER LOW POWER, which means you can power it with a coin battery for a very long time! You can use IB51822 to prototype your IoT projects like smart watch, step-counter, sleep tracker, smart home switches, Amazon dash-button, Beacon, and all kind of sensor projects like heart-rate sensor, brain wave sensor, muscle sensor, etc. There're so many ideas that can be achieved with IB51822.

    It's designed with flexibility, easy to use with all pin-outs accessible for any requirements of project prototyping.

    IB51822 can be used to with a variety of smart phone, here's a list of devices that are known having the BLE supported:

    Apple smart devices:

    iPhone 4S, iPhone 5, iPhone 5C, iPhone 5S, iPhone 6, iPhone 6C and iPhone 6S.

    iPAD, iPAD2, iPAD mini.

    Android phones:

    Google Nexus 4, 5, 6, 7; Samsung Note 3 / GT-I9300 / GT-I9500; Huawei Ascend P7; HTC One running Android OS v4.4.2+; HTC One M7 running Android OS v4.4.2+; Moto X/G running Android OS v4.4.2+; Samsung Galaxy S5; Sony Xperia E1 running Android OS v4.3; Sony Xperia Z1 running Android OS v4.4.4+;

    IB51822 IB51822 schematic is provided and can be downloaded from the followi

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH

    Features:• •

    • •

    IB51822 Pinmap

    IB51822 schematic is provided and can be downloaded from the followi

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH

    Features: 32-bit ARM Cortex M0 CPU core 256kB flash + 16kB RAM, nRF51822

    QFAA BLE 4.0/4.1 support Support BLE standard and custom

    GATT Profiles Supports both BLE Central

    Peripheral Roles.

    Pinmap

    IB51822 schematic is provided and can be downloaded from the followi

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH

    bit ARM Cortex M0 CPU core256kB flash + 16kB RAM, nRF51822

    BLE 4.0/4.1 support, Support BLE standard and custom GATT Profiles. Supports both BLE Central Peripheral Roles.

    2

    Pinmap

    IB51822 schematic is provided and can be downloaded from the followi

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH

    bit ARM Cortex M0 CPU core 256kB flash + 16kB RAM, nRF51822

    Support BLE standard and custom

    Supports both BLE Central and

    Peripherals

    2

    IB51822 schematic is provided and can be downloaded from the followi

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH

    Peripherals: • 3 x 16/24

    mode• 16 channel CPU independent

    Programmable Peripheral Interconnect (PPI)

    • Encryption ECB/CCM/AAR co

    • Random Number Generator• RTC • Integrated on chip temperature

    sensor• Flexible GPIO pin configuration• 31 GPIO• Up to 4 PWM

    IB51822 schematic is provided and can be downloaded from the following link:

    https://s3.amazonaws.com/armstart/BLE/IB51822/IB51822_SCH-latest.pdf

    3 x 16/24-bit timers with counter mode 16 channel CPU independent Programmable Peripheral Interconnect (PPI) Encryption -128-bit AES ECB/CCM/AAR co-processorRandom Number Generator

    Integrated on chip temperature

    or Flexible GPIO pin configuration31 GPIO Up to 4 PWM

    ng link:

    latest.pdf

    bit timers with counter

    16 channel CPU independent Programmable Peripheral

    bit AES

    processor Random Number Generator

    Integrated on chip temperature

    Flexible GPIO pin configuration

  • 3

    Getting Started - Programming Guide The following guide works for Windows, Linux and Mac OS users.

    Note: If you are a programming expert and want to have full control of codes, then you could use Nordic's official SDK. But here, for quick demonstration or quick prototyping, we'll be using mbed Online IDE.

    To find official documents, examples please visit Nordic Infocenter: http://infocenter.nordicsemi.com/index.jsp

    STEP1: Open mbed Online IDE: https://developer.mbed.org/

    STEP2: Choose "mbed Compiler":

    STEP 3: Import a BLE beacon example project and compile it:

    Before importing example project, click the top right button to choose the Nordic nRF51822 platform.

    4

    STEP4: Flash Application firmware using OpenOCD + IBDAP (CMSIS-DAP Debug Probe)

    First of all, install the OpenOCD v0.9+ on your computer. OpenOCD v0.9+ is available for Windows, Linux and Mac OS. Prebuilt binaries are ready for download at sourceforge: http://sourceforge.net/projects/gnuarmeclipse/files/OpenOCD/

    After installation, open a Terminal to navigate to the openocd(.exe) executable location(If openocd executable’s folder is not added the PATH environment), run the openocd server as follows:

    $ openocd.exe –f interface/cmsis-dap.cfg -f target/nrf51.cfg

    Open new Terminal and run the following command to flash the firmware:

    $ telnet localhost 4444

    > reset halt

    > flash write_image erase /file/path/to/downloaded/mbed/hex/file.hex 0x0

    nRF51822 has a memory protection mechanism where some of the codes can be protected from erasing and re-programming. If you ever encountered any firmware update problem, this usually happens if you ever used J-Link as a programmer and it by default protects code region 0, you can always disable that protection first and then do a firmware update:

    $ telnet localhost 4444

    > reset halt

    > flash info 0

    > nrf51 mass_erase

    > flash info 0

    > flash write_image erase /file/path/to/downloaded/mbed/hex/file.hex 0x0

    HistoryItem_V1 Nup 创建一个新文档 去除印张余的空白: 无 允许页面缩放: 是 边空: 左 0.00, 上 0.00, 右 0.00, 底 0.00 点 水平间距 (点): 0 垂直间距 (点): 0 各页添加边框: 无 印张大小: 8.268 x 11.693 inches / 210.0 x 297.0 mm 印张方向: 纵 缩放为 70.00 % 排列: 中

    0.0000 10.0000 20.0000 0 Corners 0.3000 ToFit 0 0 2 1 0.7000 0 0 1 0.0000 1 D:20151021100320 841.8898 a4 Blank 595.2756

    Wide 605 213 0.0000 C 0 CurrentAVDoc

    0.0000 0 2 1 1 0

    QITE_QuiteImposingPlus3 Quite Imposing Plus 3.0f Quite Imposing Plus 3 1

    1

    HistoryList_V1 qi2base