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



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.



  • 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



  • 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 "". Open this address and click Setup page. You can change ipaddress at here.

Other APIs




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



  • Websocket+JSONRPCによる低遅延なRPC
  • ワンチップでブラウザ向けの開発環境を提供
  • UPnP/Bonjurによるディスカバりに対応
  • mbedSDKのAPIと同じ構成のAPI
  • mbed LPC1768/LPCXpresso1769/LPC4088/FRDM-K64Fに対応



  • ファームウェアをmbedに書き込みます。
  • 設定ファイルにネットワークに合わせたIPアドレスを指定します。
  • mbedをリセットして、設定したIPアドレスをブラウザで開きます。
  • JavascriptEditorを開きます。
  • Startボタンを押してLEDがチカチカすれば成功です。

mbedJS APIs




RevisionDateWhoCommit message
62:d6b1c203849e 2016-06-04 nyatla libMiMic ->r114 default tip
61:42d95ef05018 2015-09-15 nyatla update libMiMic
60:62155ed4348d 2015-06-10 nyatla update libmimic
59:a78c858a3bea 2015-03-15 nyatla update libMiMic; ; The libMiMic network interface has been changed.; main.c was changed.
58:0dd7e0fb07db 2014-11-13 nyatla update libMiMic
57:6922beb9c30b 2014-11-12 nyatla update libMiMic
56:b3f6fabd5ea2 2014-11-11 nyatla update libMiMic
55:034ece76e37d 2014-11-10 nyatla fix repository problems
54:10205168708e 2014-11-10 nyatla update libMiMic version
53:63fa4bd706b6 2014-11-10 nyatla update libMiMic
52:7bb6d2f1cbbd 2014-11-10 nyatla update libmimic
51:4c4982bb6dfa 2014-10-30 nyatla update; LibMiMic
50:af8232c6c4e6 2014-10-28 nyatla update libMiMIc
49:d860d810d7d7 2014-10-27 nyatla Fix hidden stack overflow
48:e75b44c68b61 2014-10-27 nyatla update libMiMic
47:c4d51c28fb41 2014-10-26 nyatla FriendlyName????????
46:e1dc84faee2b 2014-10-19 nyatla index.html???; libMiMic???
45:fbc8cc4604ec 2014-10-09 nyatla update libMiMic
44:dfb6ec288bae 2014-10-06 nyatla update mbedjs.min.js
43:c44f0d376c4f 2014-10-02 nyatla FRDM-K64F??
42:cb988aabc8b6 2014-09-06 nyatla update libMiMic
41:acab31de3d22 2014-08-19 nyatla libMiMic???????; (serial?puts/gets???); mbed/mbed-rtos???
40:d9223b5334cb 2014-07-23 nyatla libMiMic??; ArchPro???????
39:a4844026e35b 2014-07-20 nyatla libMiMic??/javascriptAPI??????
38:3bf2ddb88407 2014-07-11 nyatla 1.JavascriptAPI?????; ??????JsAPI?2.0.3??????; 2.SD????????????; FatFS?Tiny?????????HTTP?????????????1024+512???????????7-8KB
37:ba7de395f009 2014-07-04 nyatla Serial,I2C/Slave,Memory?RPC?????????
36:4c25fc190082 2014-06-29 nyatla update libMiMic;
35:09f21f5d6f77 2014-06-25 nyatla ?????????????????????????
34:aa0217bcef47 2014-06-25 nyatla update libMiMic
33:8e869201db67 2014-06-24 nyatla mbedJS ??????; LPC4088/LPC1768
32:4908a17d9587 2014-05-30 nyatla update libMiMic; LPC4088 patch
31:48ba03202d4c 2013-10-23 nyatla update libMiMic
30:831cda1f84e9 2013-10-23 nyatla update libMiMic; 1.fix Ethernet driber problem.; 2.fix Http stream problem.
29:87b4f0c5b5c8 2013-08-10 nyatla update libMiMic; fix DHCP problem
28:3d7bac2a6278 2013-08-09 nyatla update libMiMic; support UPnP function.
27:a3b49b4a814d 2013-07-18 nyatla bugfix main.cpp
26:c28cf177af0f 2013-07-11 nyatla update libMiMic
25:cac6a29eda5d 2013-07-10 nyatla bugfix:; RemoteMCU javaecript editor.; compress codemirror modes
24:c05b1e6ae494 2013-07-09 nyatla update libMiMic;
23:1861be744ad1 2013-07-04 nyatla IE10 suport; add FileIO service;
22:de3916da88f3 2013-06-20 nyatla update libMiMic
21:6555a25e67e7 2013-06-20 nyatla update libmMiMic; add mDNS,DHCP,AUTOIP ; some configuration
20:226fe3f6491f 2013-05-14 nyatla update libMiMic
19:7b66206888a1 2013-05-13 nyatla update; JSEditor support ipad and android browser.; bugfix; dir.html mime-type
18:0b1759b8d55f 2013-05-06 nyatla update index.html,MiMicIL asm; bugfix default http status code to 302;
17:0d2911b6f337 2013-05-05 nyatla add SDcard wait
16:06dee6eef0bc 2013-05-04 nyatla update libMiMic
15:35df376264a3 2013-05-04 nyatla update libMiMic
14:6e056a695be2 2013-04-29 nyatla update libMiMic
13:98ab6f09e6e9 2013-04-29 nyatla update libMiMic(mistake of previous commitment
12:5a7bab063626 2013-04-29 nyatla update libMiMic; version 1.4.4
11:0a09fd3f639b 2013-04-29 nyatla bugfix libMiMic::Netconfig.cpp
10:c28cfdbefb9c 2013-04-28 nyatla update libMiMic
9:18e9bf764cc1 2013-04-28 nyatla MiMicRemoteMCU 1.4 beta3; Adjusted the robustness of the whole system.;
8:67cfd3a3b8b1 2013-04-28 nyatla MiMic/1.4beta2
7:8cbfa0625c51 2013-04-27 nyatla Add LocalFileSystemLink(SD/LocalFile)
6:59a8fc87d29a 2013-04-24 nyatla Support SDFilesystem ModLocalFileSystem
5:227d20070da4 2013-04-24 nyatla backup; 1.local directory listing support; 2.SDFileSystem support;
4:00b4e7596014 2013-04-21 nyatla update libMiMic; add local file configuration support.
3:335512e81ba9 2013-04-16 nyatla update onchip content