CMSIS DAP板
[attach]32586[/attach]
BLE板
[attach]32587[/attach]
合體圖[attach]32588[/attach]
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(三軸陀螺儀,三軸加速度計)
硬體介紹
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型號,開發板尺寸,供電方式
[attach]32589[/attach]
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上編譯,否則會缺少函式庫,下載供參考用
欢迎光临 烽火社区 (http://bbs.cnecport.com/) | Powered by Discuz! X3.2 |