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 Ryo Iizuka

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.

/media/uploads/nyatla/--_2.png

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

Reference

日本語

MiMicProject http://nyatla.jp/mimic/wp/

mbedJSはmbedをWebネットワークにつなぐためのアプリケーションです。 Javascript(ウェブブラウザ)、Processing、Javaから、mbedを操作することができます。 これらはmbedSDKのクラスライブラリとよく似たAPIなので、mbedを知っている方なら簡単に使うことができます。

/media/uploads/nyatla/--_2.png

特徴

  • 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

ドキュメント

関連記事

Revisions of fsdata.h

Revision Date Message Actions
52:7bb6d2f1cbbd 2014-11-10 update libmimic File  Diff  Annotate
46:e1dc84faee2b 2014-10-19 index.html???; libMiMic??? File  Diff  Annotate
44:dfb6ec288bae 2014-10-06 update mbedjs.min.js File  Diff  Annotate
41:acab31de3d22 2014-08-19 libMiMic???????; (serial?puts/gets???); mbed/mbed-rtos??? File  Diff  Annotate
39:a4844026e35b 2014-07-20 libMiMic??/javascriptAPI?????? File  Diff  Annotate
38:3bf2ddb88407 2014-07-11 1.JavascriptAPI?????; ??????JsAPI?2.0.3??????; 2.SD????????????; FatFS?Tiny?????????HTTP?????????????1024+512???????????7-8KB File  Diff  Annotate
37:ba7de395f009 2014-07-04 Serial,I2C/Slave,Memory?RPC????????? File  Diff  Annotate
35:09f21f5d6f77 2014-06-25 ????????????????????????? File  Diff  Annotate
33:8e869201db67 2014-06-24 mbedJS ??????; LPC4088/LPC1768 File  Diff  Annotate
28:3d7bac2a6278 2013-08-09 update libMiMic; support UPnP function. File  Diff  Annotate
25:cac6a29eda5d 2013-07-10 bugfix:; RemoteMCU javaecript editor.; compress codemirror modes File  Diff  Annotate
24:c05b1e6ae494 2013-07-09 update libMiMic; File  Diff  Annotate
23:1861be744ad1 2013-07-04 IE10 suport; add FileIO service; File  Diff  Annotate
21:6555a25e67e7 2013-06-20 update libmMiMic; add mDNS,DHCP,AUTOIP ; some configuration File  Diff  Annotate
19:7b66206888a1 2013-05-13 update; JSEditor support ipad and android browser.; bugfix; dir.html mime-type File  Diff  Annotate
18:0b1759b8d55f 2013-05-06 update index.html,MiMicIL asm; bugfix default http status code to 302; File  Diff  Annotate
15:35df376264a3 2013-05-04 update libMiMic File  Diff  Annotate
9:18e9bf764cc1 2013-04-28 MiMicRemoteMCU 1.4 beta3; Adjusted the robustness of the whole system.; File  Diff  Annotate
7:8cbfa0625c51 2013-04-27 Add LocalFileSystemLink(SD/LocalFile) File  Diff  Annotate
3:335512e81ba9 2013-04-16 update onchip content File  Diff  Annotate
0:6f25100e125b 2013-04-04 backup; File  Diff  Annotate