開發板簡圖
CMSIS DAP板
BLE板
合體圖
Introduction
The Tiny BLE is a Bluetooth Low Energy development board designed
with low energy consumption and small size in mind. It\'s integrated with
current measurement feature to provide real time energy consumption
data, which is essential for developers to optimize software to design
long battery life devices. It supports ARM mbed cloud-based IDE with an
handy C/C++ SDK and a large number of open source libraries, which makes
prototyping and development extremely easy.
With its modular design, we can divide it into two parts - CMSIS
DAP interface part and BLE part. The CMSIS DAP interface part is like
the Swiss army knife. It provides drag-n-drop programming, CMSIS DAP
debug, USB virtual serial port, current measurement and battery
charging. The BLE part is built on the Nordic nRF51822 with Bluetooth
Low Energy 2.4GHz multiprotocol radio and a 32 bit ARM Cortex-M0 core
running 16MHz. MPU6050, a 6 DOF with 3D accelerometer and 3D gyroscope,
is integrated to provide motion detect feature.
主要是說此開發板低功耗,提供實際電流測量,方便開發者監控用電量,作為長期以電池為供電的應用方案,開發是利用ARM mbed 雲端IDE來進行編寫和編譯,有提供完整的開源函式庫,CMSIS DAP板主要負責燒寫,Debug,Serial console,電流檢測和充電,BLE板則搭載Nordic nRF51822 BLE和 Arm Cortex-M0 16MHz MCU,跟MPU6050(三軸陀螺儀,三軸加速度計)
Features
-
nRF51822: ARM Cortex-M0 + 2.4GHz radio (BLE or ANT+)
-
MPU-6050:3d accelemeter + 3d gyroscope
-
LPC11U35FHI33:CMSIS DAP
-
Current measurement
-
CN3065:battery charge port on USB part
-
Power supply:USB/battery(3.5-4.2V)
-
Output voltage:3.3V
-
4 I/Os, all can be used as analog input, digital input/output, I2C, SPI or UART
-
VCC output control
硬體介紹
Specification
Specification
|
Value
|
Microcontroller
|
nRF51822QFAA; LPC11U35FHI33
|
Outline Dimension
|
43.3mm x 29.0mm x 4.3mm
|
Power supply
|
USB/Battery(JST-1.0 Battery Holder)
|
CPU型號,開發板尺寸,供電方式
Get Started
-
Click this link to login or signup to mbed
-
Import the mbed_blinky program and change the code of main.cpp as following.
-
Click the Compile icon of the top toolbar to compile the program, then download a compiled hex file.
-
Drag-n-drop the downloaded hex file into the MBED disk
-
A blue LED will be blinking.
1. 註冊和登入mbed
2. 把blink專案工程匯入,修改成如下範例程式碼
3. 編譯和下載編譯好的bin檔案
4. 把bin檔案拖曳進板子所產生的USB Disk,進行燒寫
5. 觀看板上LED閃爍
#include "mbed.h"
DigitalOut red(p22); // RED LED
DigitalOut green(p21); // GREEN LED
DigitalOut blue(p23); // BLUE LED
int main()
{
while (true) {
blue = !blue;
wait(0.1);
}
}
範例程式碼
原網址
其他兩種開發板資料應該都很齊全了,注意原始碼的部份是要在Mbed上編譯,否則會缺少函式庫,下載供參考用
|