前言:
ARM 推出了全面性的物聯網(IoT: Internet of Things)運用平台,該平台包括了 mbed OS 與 mbed 伺服器設備.
keyword:
iot,mbed ,nordic 51422
年前,ARM正式推出mbed IDE(整合開發平台) , 其介紹可見what is mbed.
內容有致有
1.MBED MCU
2.MBED compiler
3.MBED SDK
而其中,MBED compiler及SDK都是在線上完成的.
這邊我把手上一個nrf51422 (nordic dongle)為範例操作.
1.去mbed 註冊
2.進入右上方的develop site
3.再進入右上方的compiler
4.select device
5.new a project(select device)
6.new a file(main) and lib(mbed)
(Click the right button on the mouse at the project name,example "blink"))
(the file must *.cpp),it use the c++
7.program (you should reference the mbed lib (or other lib))
select the mbed lib and export it to click the DigitalOut
write follow in main.cpp
#include "mbed.h"
DigitalOut led(LED1);int main(){ while(1){ wait(1); led=!led;}
}
8.compiler and download
(the loader ,the brower will download the bin file)
9.loader (by your develop board,put the into loader mode)
10.reboot your device ,should be work.
“
MBED 的用途
MBED 是专为实验及反覆操作而设计的,主要是测验某种东西或方法而不是优化解决方案。因此,它适合专业嵌入式工程师,也适合想初次尝试的门外汉
”
最後,這讓我感覺這個像是另一個"arduino". 然而這個應是現階段的部份.
而在之後在在mbed OS出來後.一定會變成下一個arduino.(只是在只是AVR平台而已)
而且也可以跟著不同板子有不同的功能.如nrf5144有radio(ble 'ant and proprotal)
ref:
https://github.com/mbedmicro/nRF51822
http://developer.mbed.org/cookbook/mbed-application-board
https://mbed.org/technology/os/
http://www.chinatimes.com/realtimenews/20141008004930-260412
ARM發表物聯網專用作業系統MBED,正式版將在2015年釋出
沒有留言:
張貼留言