This is a Json-RPC/2.0 server with websocket and httpd. You can control mbed(s) by Javascript, processing, Java. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependencies: NyFileSystems libMiMic mbed-rtos mbed
Fork of MiMicRemoteMCU-for-Mbed by
English
MiMicProject http://nyatla.jp/mimic/wp/
This application allow to control the remote mbed through the network. It allows to control the mbed without a firmware update. It has some Interface. There are Javascript(WebBrowser), Procesing, Java. API waits for a function very similar to mbedSDK.
Feature
- Low delay RPC by Websocket+JSON-RPC.
- OnChip programing environment (Javascript).
- Zero configuration support (UPnP/mDNS/AutoIP/DHCP)
- mbedAPI like APIs.
- Supports mbed LPC1768/LPCXpresso1769/LPC4088/FRDM-K64F
GettingStarted
mbed(LPC1768)
- Compile and write mbedJS to your mbed.
- Create mimic.cfg file to the mbed drive. This is network configuration.
- Connect to Ethernet cable to the mbed.
- Reset mbed.
- Open http://[mbed IP address]/ by web browser.
- Click JavascriptEditor.
- Click StartButton. LED will be blinking.
LPCXpresso1769 and LPC4088 QuickStartBoard and FRDM-K64F
Those do not have LocalFileSystem. mbedJS initial IP address is "192.168.0.39". Open this address and click Setup page. You can change ipaddress at here.
Other APIs
- mbedJS Javascript API https://github.com/nyatla/mbedJS-Javascript-API
- mbedJS Java API https://github.com/nyatla/mbedJS-Java-API
- mbedJS processing API https://github.com/nyatla/mbedJS-Processing-API
Reference
- QuickStart manual http://mimic.sourceforge.jp/doc/pdf/mbedJS.quickstart.en.pdf
- javascriptAPI referencehttp://mimic.sourceforge.jp/doc/mbedjs/current/
- javascriptAPI driver referencehttp://mimic.sourceforge.jp/doc/mbedjs.driver/current/
- http://mbed.org/users/nyatla/notebook/how-to-control-mbed-from-processing/
æ¥æ¬èª
MiMicProject http://nyatla.jp/mimic/wp/
mbedJSã¯mbedãWebãããã¯ã¼ã¯ã«ã¤ãªãããã®ã¢ããªã±ã¼ã·ã§ã³ã§ãã Javascript(ã¦ã§ããã©ã¦ã¶)ãProcessingãJavaãããmbedãæä½ãããã¨ãã§ãã¾ãã ãããã¯mbedSDKã®ã¯ã©ã¹ã©ã¤ãã©ãªã¨ããä¼¼ãAPIãªã®ã§ãmbedãç¥ã£ã¦ããæ¹ãªãç°¡åã«ä½¿ããã¨ãã§ãã¾ãã
ç¹å¾´
- Websocket+JSONRPCã«ããä½é 延ãªRPC
- ã¯ã³ãããã§ãã©ã¦ã¶åãã®éçºç°å¢ãæä¾
- UPnP/Bonjurã«ãããã£ã¹ã«ããã«å¯¾å¿
- mbedSDKã®APIã¨åãæ§æã®API
- mbed LPC1768/LPCXpresso1769/LPC4088/FRDM-K64Fã«å¯¾å¿
ãã®ã¢ããªã±ã¼ã·ã§ã³ã¯MiMicRemoteMCUã¨ããä¼¼ã¦ãã¾ãããJavascriptAPIããã使ãããããªãã¾ããã
ã¯ãããã
- ãã¡ã¼ã ã¦ã§ã¢ãmbedã«æ¸ãè¾¼ã¿ã¾ãã
- è¨å®ãã¡ã¤ã«ã«ãããã¯ã¼ã¯ã«åãããIPã¢ãã¬ã¹ãæå®ãã¾ãã
- mbedããªã»ãããã¦ãè¨å®ããIPã¢ãã¬ã¹ããã©ã¦ã¶ã§éãã¾ãã
- JavascriptEditorãéãã¾ãã
- Startãã¿ã³ãæ¼ãã¦LEDããã«ãã«ããã°æåã§ãã
mbedJS APIs
- mbedJS Javascript API https://github.com/nyatla/mbedJS-Javascript-API
- mbedJS Java API https://github.com/nyatla/mbedJS-Java-API
- mbedJS processing API https://github.com/nyatla/mbedJS-Processing-API
ããã¥ã¡ã³ã
- ã¯ã¤ãã¯ã¹ã¿ã¼ãããã¥ã¢ã« http://mimic.sourceforge.jp/doc/pdf/mbedJS.quickstart.ja.pdf
- javascriptAPIãªãã¡ã¬ã³ã¹ http://mimic.sourceforge.jp/doc/mbedjs/current/
- javascriptAPIãªãã¡ã¬ã³ã¹(ãã©ã¤ã) http://mimic.sourceforge.jp/doc/mbedjs.driver/current/
é¢é£è¨äº
- MiMicProject http://nyatla.jp/mimic/wp/
- mbedJS + p5.jsã§Webãã©ã¦ã¶ããmbedãå¶å¾¡ããhttp://nyatla.hatenadiary.jp/entry/20141103/1415021260
- エェェェェï¾ï¾ï¾ï½¯ï¾ï¾JS (mbedJS) betaçããªãªã¼ã¹ãã¾ãã http://nyatla.hatenadiary.jp/entry/20140625/1403701589
- Processingã¨Javaããmbedãæä½ãã¦éã¹ãããã«ãã http://nyatla.hatenadiary.jp/entry/20140720/1405861733
- mbedJSãã¤ã³ã¿ã¼ãããã§å ±æããã·ã¹ãã ãä½ã£ãhttp://nyatla.hatenadiary.jp/entry/20140912/1410528645
Files at revision 62:d6b1c203849e
Name | Size | Actions |
---|---|---|
[up] | ||
NyFileSystems.lib | 72 | Revisions Annotate |
fsdata.h | 965461 | Revisions Annotate |
libMiMic.lib | 67 | Revisions Annotate |
main.cpp | 4441 | Revisions Annotate |
mbed-rtos.lib | 75 | Revisions Annotate |
mbed.bld | 65 | Revisions Annotate |
rpctbl.cpp | 885 | Revisions Annotate |
rpctbl.h | 75 | Revisions Annotate |