SlideShare a Scribd company logo
Smart.js: JavaScript engine running
on tiny MCU
Smart.js: JavaScript engine running
on tiny MCU
Smart.js: JavaScript engine running
on tiny MCU
Smart.js: JavaScript engine running
on tiny MCU
Smart.js: JavaScript engine running
on tiny MCU
Kiwamu OkabeKiwamu OkabeKiwamu OkabeKiwamu OkabeKiwamu Okabe
ESP8266 hardwareESP8266 hardwareESP8266 hardwareESP8266 hardwareESP8266 hardware
☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/
☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module
☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks
☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...
☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm
☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!
Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266
https://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjs
Write Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmware
Download flashnchips-win.zip from https://
github.com/cesanta/smart.js/releases, and
write the firmware into ESP8266 using
esptool.py https://github.com/
themadinventor/esptool.
Download flashnchips-win.zip from https://
github.com/cesanta/smart.js/releases, and
write the firmware into ESP8266 using
esptool.py https://github.com/
themadinventor/esptool.
Download flashnchips-win.zip from https://
github.com/cesanta/smart.js/releases, and
write the firmware into ESP8266 using
esptool.py https://github.com/
themadinventor/esptool.
Download flashnchips-win.zip from https://
github.com/cesanta/smart.js/releases, and
write the firmware into ESP8266 using
esptool.py https://github.com/
themadinventor/esptool.
Download flashnchips-win.zip from https://
github.com/cesanta/smart.js/releases, and
write the firmware into ESP8266 using
esptool.py https://github.com/
themadinventor/esptool.
$�unar�flashnchips-win.zip
$�cd�flashnchips-win/firmware/ESP8266/Smart.js
$�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000�
0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
$�unar�flashnchips-win.zip
$�cd�flashnchips-win/firmware/ESP8266/Smart.js
$�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000�
0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
$�unar�flashnchips-win.zip
$�cd�flashnchips-win/firmware/ESP8266/Smart.js
$�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000�
0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
$�unar�flashnchips-win.zip
$�cd�flashnchips-win/firmware/ESP8266/Smart.js
$�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000�
0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
$�unar�flashnchips-win.zip
$�cd�flashnchips-win/firmware/ESP8266/Smart.js
$�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000�
0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
JavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminal
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
Device�id:�//api.cesanta.com/d/dev_84227�
Device�psk:�psk_36751�
Cloud:�//api.cesanta.com�
HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.�
smartjs�28904/2256$�1+1
2
smartjs�28904/2256$�1+"hoge"
1hoge
smartjs�29184/2256$�File.list(".")
["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes
t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js","
sys_rts.js","user.js","sys_config.json"]
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
Device�id:�//api.cesanta.com/d/dev_84227�
Device�psk:�psk_36751�
Cloud:�//api.cesanta.com�
HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.�
smartjs�28904/2256$�1+1
2
smartjs�28904/2256$�1+"hoge"
1hoge
smartjs�29184/2256$�File.list(".")
["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes
t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js","
sys_rts.js","user.js","sys_config.json"]
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
Device�id:�//api.cesanta.com/d/dev_84227�
Device�psk:�psk_36751�
Cloud:�//api.cesanta.com�
HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.�
smartjs�28904/2256$�1+1
2
smartjs�28904/2256$�1+"hoge"
1hoge
smartjs�29184/2256$�File.list(".")
["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes
t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js","
sys_rts.js","user.js","sys_config.json"]
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
Device�id:�//api.cesanta.com/d/dev_84227�
Device�psk:�psk_36751�
Cloud:�//api.cesanta.com�
HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.�
smartjs�28904/2256$�1+1
2
smartjs�28904/2256$�1+"hoge"
1hoge
smartjs�29184/2256$�File.list(".")
["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes
t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js","
sys_rts.js","user.js","sys_config.json"]
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
Device�id:�//api.cesanta.com/d/dev_84227�
Device�psk:�psk_36751�
Cloud:�//api.cesanta.com�
HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.�
smartjs�28904/2256$�1+1
2
smartjs�28904/2256$�1+"hoge"
1hoge
smartjs�29184/2256$�File.list(".")
["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes
t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js","
sys_rts.js","user.js","sys_config.json"]
Connect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.com
Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY')
true
smartjs�29208/2376$�Wifi.ip()
192.168.179.3
smartjs�29016/2280$�Wifi.status()
got�ip
smartjs�29112/2280$�demo()
Initializing�demo�data�source
Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see�
activity
undefined
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY')
true
smartjs�29208/2376$�Wifi.ip()
192.168.179.3
smartjs�29016/2280$�Wifi.status()
got�ip
smartjs�29112/2280$�demo()
Initializing�demo�data�source
Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see�
activity
undefined
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY')
true
smartjs�29208/2376$�Wifi.ip()
192.168.179.3
smartjs�29016/2280$�Wifi.status()
got�ip
smartjs�29112/2280$�demo()
Initializing�demo�data�source
Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see�
activity
undefined
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY')
true
smartjs�29208/2376$�Wifi.ip()
192.168.179.3
smartjs�29016/2280$�Wifi.status()
got�ip
smartjs�29112/2280$�demo()
Initializing�demo�data�source
Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see�
activity
undefined
$�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0
smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY')
true
smartjs�29208/2376$�Wifi.ip()
192.168.179.3
smartjs�29016/2280$�Wifi.status()
got�ip
smartjs�29112/2280$�demo()
Initializing�demo�data�source
Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see�
activity
undefined
Watch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.com
Other products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta Software
*�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS
��https://github.com/cesanta/mongoose
*�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c
��https://github.com/cesanta/v7
*�Frozen:�JSON�parser�and�generator
��https://github.com/cesanta/frozen/
*�SLRE:�Regular�Expression�library
��https://github.com/cesanta/slre/
*�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset
��https://github.com/cesanta/krypton
*�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X
��https://github.com/cesanta/smart.js/tree/master/flashnchips
*�GDB�server:�Debugger�stub�for�remote�debug
��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb
*�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product)
��https://github.com/pellepl/spiffs
*�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS
��https://github.com/cesanta/mongoose
*�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c
��https://github.com/cesanta/v7
*�Frozen:�JSON�parser�and�generator
��https://github.com/cesanta/frozen/
*�SLRE:�Regular�Expression�library
��https://github.com/cesanta/slre/
*�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset
��https://github.com/cesanta/krypton
*�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X
��https://github.com/cesanta/smart.js/tree/master/flashnchips
*�GDB�server:�Debugger�stub�for�remote�debug
��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb
*�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product)
��https://github.com/pellepl/spiffs
*�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS
��https://github.com/cesanta/mongoose
*�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c
��https://github.com/cesanta/v7
*�Frozen:�JSON�parser�and�generator
��https://github.com/cesanta/frozen/
*�SLRE:�Regular�Expression�library
��https://github.com/cesanta/slre/
*�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset
��https://github.com/cesanta/krypton
*�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X
��https://github.com/cesanta/smart.js/tree/master/flashnchips
*�GDB�server:�Debugger�stub�for�remote�debug
��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb
*�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product)
��https://github.com/pellepl/spiffs
*�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS
��https://github.com/cesanta/mongoose
*�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c
��https://github.com/cesanta/v7
*�Frozen:�JSON�parser�and�generator
��https://github.com/cesanta/frozen/
*�SLRE:�Regular�Expression�library
��https://github.com/cesanta/slre/
*�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset
��https://github.com/cesanta/krypton
*�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X
��https://github.com/cesanta/smart.js/tree/master/flashnchips
*�GDB�server:�Debugger�stub�for�remote�debug
��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb
*�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product)
��https://github.com/pellepl/spiffs
*�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS
��https://github.com/cesanta/mongoose
*�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c
��https://github.com/cesanta/v7
*�Frozen:�JSON�parser�and�generator
��https://github.com/cesanta/frozen/
*�SLRE:�Regular�Expression�library
��https://github.com/cesanta/slre/
*�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset
��https://github.com/cesanta/krypton
*�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X
��https://github.com/cesanta/smart.js/tree/master/flashnchips
*�GDB�server:�Debugger�stub�for�remote�debug
��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb
*�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product)
��https://github.com/pellepl/spiffs
PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!

More Related Content

Viewers also liked

JavaScriptでも鉄道模型
JavaScriptでも鉄道模型JavaScriptでも鉄道模型
JavaScriptでも鉄道模型
ayasehiro
 
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
Seigo Tanaka
 
JS Board Shibuya もくもく会#2
JS Board Shibuya もくもく会#2JS Board Shibuya もくもく会#2
JS Board Shibuya もくもく会#2
sonycsl
 
JavaScript と Arduino でオリジナルデバイスを作ろう
JavaScript と Arduino でオリジナルデバイスを作ろうJavaScript と Arduino でオリジナルデバイスを作ろう
JavaScript と Arduino でオリジナルデバイスを作ろう
Yoshihiro Iwanaga
 
暮らしに寄り添うラズパイケース
暮らしに寄り添うラズパイケース暮らしに寄り添うラズパイケース
暮らしに寄り添うラズパイケース
Shunsuke Tadokoro
 
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
Futomi Hatano
 
はじめてのUnreal Engine 4
はじめてのUnreal Engine 4はじめてのUnreal Engine 4
はじめてのUnreal Engine 4
Shun Sasaki
 

Viewers also liked (7)

JavaScriptでも鉄道模型
JavaScriptでも鉄道模型JavaScriptでも鉄道模型
JavaScriptでも鉄道模型
 
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
JS Board Shibuya #2 もくもく会「littleBitsとMilkcocoa」
 
JS Board Shibuya もくもく会#2
JS Board Shibuya もくもく会#2JS Board Shibuya もくもく会#2
JS Board Shibuya もくもく会#2
 
JavaScript と Arduino でオリジナルデバイスを作ろう
JavaScript と Arduino でオリジナルデバイスを作ろうJavaScript と Arduino でオリジナルデバイスを作ろう
JavaScript と Arduino でオリジナルデバイスを作ろう
 
暮らしに寄り添うラズパイケース
暮らしに寄り添うラズパイケース暮らしに寄り添うラズパイケース
暮らしに寄り添うラズパイケース
 
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
Webエンジニアのためのスマートホームハック ~ Node.js で家電とArduinoを操作 ~
 
はじめてのUnreal Engine 4
はじめてのUnreal Engine 4はじめてのUnreal Engine 4
はじめてのUnreal Engine 4
 

Similar to Smart.js: JavaScript engine running on tiny MCU

Hands-on VeriFast with STM32 microcontroller
Hands-on VeriFast with STM32 microcontrollerHands-on VeriFast with STM32 microcontroller
Hands-on VeriFast with STM32 microcontroller
Kiwamu Okabe
 
Metasepi team meeting #20: Start! ATS programming on MCU
Metasepi team meeting #20: Start! ATS programming on MCUMetasepi team meeting #20: Start! ATS programming on MCU
Metasepi team meeting #20: Start! ATS programming on MCU
Kiwamu Okabe
 
Hands-on VeriFast with STM32 microcontroller @ Osaka
Hands-on VeriFast with STM32 microcontroller @ OsakaHands-on VeriFast with STM32 microcontroller @ Osaka
Hands-on VeriFast with STM32 microcontroller @ Osaka
Kiwamu Okabe
 
Hands-on VeriFast with STM32 microcontroller @ Nagoya
Hands-on VeriFast with STM32 microcontroller @ NagoyaHands-on VeriFast with STM32 microcontroller @ Nagoya
Hands-on VeriFast with STM32 microcontroller @ Nagoya
Kiwamu Okabe
 
RTOS application verified by VeriFast, and future plan
RTOS application verified by VeriFast, and future planRTOS application verified by VeriFast, and future plan
RTOS application verified by VeriFast, and future plan
Kiwamu Okabe
 
Safer IoT using functional language
Safer IoT using functional languageSafer IoT using functional language
Safer IoT using functional language
Kiwamu Okabe
 
ATS programming on ESP8266
ATS programming on ESP8266ATS programming on ESP8266
ATS programming on ESP8266
Kiwamu Okabe
 
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with ChefThe Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
Chef Software, Inc.
 
Functional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformFunctional IoT: Hardware and Platform
Functional IoT: Hardware and Platform
Kiwamu Okabe
 
Long life to vagrant… Vagrant is dead
Long life to vagrant… Vagrant is deadLong life to vagrant… Vagrant is dead
Long life to vagrant… Vagrant is dead
Federico Panini
 
From printed circuit boards to exploits
From printed circuit boards to exploitsFrom printed circuit boards to exploits
From printed circuit boards to exploits
virtualabs
 
44CON London 2015 - Is there an EFI monster inside your apple?
44CON London 2015 - Is there an EFI monster inside your apple?44CON London 2015 - Is there an EFI monster inside your apple?
44CON London 2015 - Is there an EFI monster inside your apple?
44CON
 
Know your platform. 7 things every scala developer should know about jvm
Know your platform. 7 things every scala developer should know about jvmKnow your platform. 7 things every scala developer should know about jvm
Know your platform. 7 things every scala developer should know about jvm
Pawel Szulc
 
Metasepi team meeting #14: ATS programming on MCU
Metasepi team meeting #14: ATS programming on MCUMetasepi team meeting #14: ATS programming on MCU
Metasepi team meeting #14: ATS programming on MCU
Kiwamu Okabe
 
Metasepi team meeting #16: Safety on ATS language + MCU
Metasepi team meeting #16: Safety on ATS language + MCUMetasepi team meeting #16: Safety on ATS language + MCU
Metasepi team meeting #16: Safety on ATS language + MCU
Kiwamu Okabe
 
Spark Summit EU talk by William Benton
Spark Summit EU talk by William BentonSpark Summit EU talk by William Benton
Spark Summit EU talk by William Benton
Spark Summit
 
Emacs verilog-mode is coming to Debian, again
Emacs verilog-mode is coming to Debian, againEmacs verilog-mode is coming to Debian, again
Emacs verilog-mode is coming to Debian, again
Kiwamu Okabe
 
Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015
Vilas Fulsundar
 
Introduction to VeriFast @ Kyoto
Introduction to VeriFast @ KyotoIntroduction to VeriFast @ Kyoto
Introduction to VeriFast @ Kyoto
Kiwamu Okabe
 
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Codemotion
 

Similar to Smart.js: JavaScript engine running on tiny MCU (20)

Hands-on VeriFast with STM32 microcontroller
Hands-on VeriFast with STM32 microcontrollerHands-on VeriFast with STM32 microcontroller
Hands-on VeriFast with STM32 microcontroller
 
Metasepi team meeting #20: Start! ATS programming on MCU
Metasepi team meeting #20: Start! ATS programming on MCUMetasepi team meeting #20: Start! ATS programming on MCU
Metasepi team meeting #20: Start! ATS programming on MCU
 
Hands-on VeriFast with STM32 microcontroller @ Osaka
Hands-on VeriFast with STM32 microcontroller @ OsakaHands-on VeriFast with STM32 microcontroller @ Osaka
Hands-on VeriFast with STM32 microcontroller @ Osaka
 
Hands-on VeriFast with STM32 microcontroller @ Nagoya
Hands-on VeriFast with STM32 microcontroller @ NagoyaHands-on VeriFast with STM32 microcontroller @ Nagoya
Hands-on VeriFast with STM32 microcontroller @ Nagoya
 
RTOS application verified by VeriFast, and future plan
RTOS application verified by VeriFast, and future planRTOS application verified by VeriFast, and future plan
RTOS application verified by VeriFast, and future plan
 
Safer IoT using functional language
Safer IoT using functional languageSafer IoT using functional language
Safer IoT using functional language
 
ATS programming on ESP8266
ATS programming on ESP8266ATS programming on ESP8266
ATS programming on ESP8266
 
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with ChefThe Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
 
Functional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformFunctional IoT: Hardware and Platform
Functional IoT: Hardware and Platform
 
Long life to vagrant… Vagrant is dead
Long life to vagrant… Vagrant is deadLong life to vagrant… Vagrant is dead
Long life to vagrant… Vagrant is dead
 
From printed circuit boards to exploits
From printed circuit boards to exploitsFrom printed circuit boards to exploits
From printed circuit boards to exploits
 
44CON London 2015 - Is there an EFI monster inside your apple?
44CON London 2015 - Is there an EFI monster inside your apple?44CON London 2015 - Is there an EFI monster inside your apple?
44CON London 2015 - Is there an EFI monster inside your apple?
 
Know your platform. 7 things every scala developer should know about jvm
Know your platform. 7 things every scala developer should know about jvmKnow your platform. 7 things every scala developer should know about jvm
Know your platform. 7 things every scala developer should know about jvm
 
Metasepi team meeting #14: ATS programming on MCU
Metasepi team meeting #14: ATS programming on MCUMetasepi team meeting #14: ATS programming on MCU
Metasepi team meeting #14: ATS programming on MCU
 
Metasepi team meeting #16: Safety on ATS language + MCU
Metasepi team meeting #16: Safety on ATS language + MCUMetasepi team meeting #16: Safety on ATS language + MCU
Metasepi team meeting #16: Safety on ATS language + MCU
 
Spark Summit EU talk by William Benton
Spark Summit EU talk by William BentonSpark Summit EU talk by William Benton
Spark Summit EU talk by William Benton
 
Emacs verilog-mode is coming to Debian, again
Emacs verilog-mode is coming to Debian, againEmacs verilog-mode is coming to Debian, again
Emacs verilog-mode is coming to Debian, again
 
Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015
 
Introduction to VeriFast @ Kyoto
Introduction to VeriFast @ KyotoIntroduction to VeriFast @ Kyoto
Introduction to VeriFast @ Kyoto
 
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
 

Recently uploaded

20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 

Recently uploaded (20)

20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 

Smart.js: JavaScript engine running on tiny MCU

  • 1. Smart.js: JavaScript engine running on tiny MCU Smart.js: JavaScript engine running on tiny MCU Smart.js: JavaScript engine running on tiny MCU Smart.js: JavaScript engine running on tiny MCU Smart.js: JavaScript engine running on tiny MCU Kiwamu OkabeKiwamu OkabeKiwamu OkabeKiwamu OkabeKiwamu Okabe
  • 2. ESP8266 hardwareESP8266 hardwareESP8266 hardwareESP8266 hardwareESP8266 hardware ☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/☆ http://espressif.com/en/products/wroom/ ☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module☆ 32-bit low power MCU Wi-Fi Module ☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks☆ Having integrated TCP/IP network stacks ☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ...☆ Including ADC, SDIO, UART, PWM, I2C ... ☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm☆ Small form factor of only 18mm x 20mm ☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!☆ 550 yen at Akizukidenshi!
  • 3. Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266Smart.js can run on ESP8266 https://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjshttps://www.cesanta.com/developer/smartjs
  • 4. Write Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmwareWrite Smart.js firmware Download flashnchips-win.zip from https:// github.com/cesanta/smart.js/releases, and write the firmware into ESP8266 using esptool.py https://github.com/ themadinventor/esptool. Download flashnchips-win.zip from https:// github.com/cesanta/smart.js/releases, and write the firmware into ESP8266 using esptool.py https://github.com/ themadinventor/esptool. Download flashnchips-win.zip from https:// github.com/cesanta/smart.js/releases, and write the firmware into ESP8266 using esptool.py https://github.com/ themadinventor/esptool. Download flashnchips-win.zip from https:// github.com/cesanta/smart.js/releases, and write the firmware into ESP8266 using esptool.py https://github.com/ themadinventor/esptool. Download flashnchips-win.zip from https:// github.com/cesanta/smart.js/releases, and write the firmware into ESP8266 using esptool.py https://github.com/ themadinventor/esptool. $�unar�flashnchips-win.zip $�cd�flashnchips-win/firmware/ESP8266/Smart.js $�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000� 0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin $�unar�flashnchips-win.zip $�cd�flashnchips-win/firmware/ESP8266/Smart.js $�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000� 0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin $�unar�flashnchips-win.zip $�cd�flashnchips-win/firmware/ESP8266/Smart.js $�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000� 0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin $�unar�flashnchips-win.zip $�cd�flashnchips-win/firmware/ESP8266/Smart.js $�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000� 0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin $�unar�flashnchips-win.zip $�cd�flashnchips-win/firmware/ESP8266/Smart.js $�esptool.py�--baud�115200�--port�/dev/ttyUSB0�write_flash�0x00000� 0x00000.bin�0x11000�0x11000.bin�0x6d000�0x6d000.bin
  • 5. JavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminalJavaScript REPL on terminal $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 Device�id:�//api.cesanta.com/d/dev_84227� Device�psk:�psk_36751� Cloud:�//api.cesanta.com� HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.� smartjs�28904/2256$�1+1 2 smartjs�28904/2256$�1+"hoge" 1hoge smartjs�29184/2256$�File.list(".") ["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js"," sys_rts.js","user.js","sys_config.json"] $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 Device�id:�//api.cesanta.com/d/dev_84227� Device�psk:�psk_36751� Cloud:�//api.cesanta.com� HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.� smartjs�28904/2256$�1+1 2 smartjs�28904/2256$�1+"hoge" 1hoge smartjs�29184/2256$�File.list(".") ["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js"," sys_rts.js","user.js","sys_config.json"] $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 Device�id:�//api.cesanta.com/d/dev_84227� Device�psk:�psk_36751� Cloud:�//api.cesanta.com� HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.� smartjs�28904/2256$�1+1 2 smartjs�28904/2256$�1+"hoge" 1hoge smartjs�29184/2256$�File.list(".") ["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js"," sys_rts.js","user.js","sys_config.json"] $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 Device�id:�//api.cesanta.com/d/dev_84227� Device�psk:�psk_36751� Cloud:�//api.cesanta.com� HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.� smartjs�28904/2256$�1+1 2 smartjs�28904/2256$�1+"hoge" 1hoge smartjs�29184/2256$�File.list(".") ["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js"," sys_rts.js","user.js","sys_config.json"] $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 Device�id:�//api.cesanta.com/d/dev_84227� Device�psk:�psk_36751� Cloud:�//api.cesanta.com� HELO!�Type�some�JS.�See�https://github.com/cesanta/smart.js�for�more�info.� smartjs�28904/2256$�1+1 2 smartjs�28904/2256$�1+"hoge" 1hoge smartjs�29184/2256$�File.list(".") ["cloud.js","clubby.js","demo.js","gpio.js","I2C.js","MC24FC.js","MC24FC_tes t.js","MCP9808.js","MCP9808_test.js","MPL115A1.js","smart.js","swupdate.js"," sys_rts.js","user.js","sys_config.json"]
  • 6. Connect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.comConnect dashboard.cesanta.com
  • 7. Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266Send random data from ESP8266 $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY') true smartjs�29208/2376$�Wifi.ip() 192.168.179.3 smartjs�29016/2280$�Wifi.status() got�ip smartjs�29112/2280$�demo() Initializing�demo�data�source Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see� activity undefined $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY') true smartjs�29208/2376$�Wifi.ip() 192.168.179.3 smartjs�29016/2280$�Wifi.status() got�ip smartjs�29112/2280$�demo() Initializing�demo�data�source Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see� activity undefined $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY') true smartjs�29208/2376$�Wifi.ip() 192.168.179.3 smartjs�29016/2280$�Wifi.status() got�ip smartjs�29112/2280$�demo() Initializing�demo�data�source Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see� activity undefined $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY') true smartjs�29208/2376$�Wifi.ip() 192.168.179.3 smartjs�29016/2280$�Wifi.status() got�ip smartjs�29112/2280$�demo() Initializing�demo�data�source Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see� activity undefined $�picocom�-b�115200�--omap�crcrlf�/dev/ttyUSB0 smartjs�29032/2268$�Wifi.setup('XXXXXXXXXXXXX','YYYYYYYYYY') true smartjs�29208/2376$�Wifi.ip() 192.168.179.3 smartjs�29016/2280$�Wifi.status() got�ip smartjs�29112/2280$�demo() Initializing�demo�data�source Starting�temperature�push�demo�in�background,�type�Debug.mode(1)�to�see� activity undefined
  • 8. Watch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.comWatch dashboard.cesanta.com
  • 9. Other products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta SoftwareOther products by Cesanta Software *�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS ��https://github.com/cesanta/mongoose *�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c ��https://github.com/cesanta/v7 *�Frozen:�JSON�parser�and�generator ��https://github.com/cesanta/frozen/ *�SLRE:�Regular�Expression�library ��https://github.com/cesanta/slre/ *�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset ��https://github.com/cesanta/krypton *�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X ��https://github.com/cesanta/smart.js/tree/master/flashnchips *�GDB�server:�Debugger�stub�for�remote�debug ��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb *�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product) ��https://github.com/pellepl/spiffs *�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS ��https://github.com/cesanta/mongoose *�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c ��https://github.com/cesanta/v7 *�Frozen:�JSON�parser�and�generator ��https://github.com/cesanta/frozen/ *�SLRE:�Regular�Expression�library ��https://github.com/cesanta/slre/ *�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset ��https://github.com/cesanta/krypton *�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X ��https://github.com/cesanta/smart.js/tree/master/flashnchips *�GDB�server:�Debugger�stub�for�remote�debug ��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb *�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product) ��https://github.com/pellepl/spiffs *�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS ��https://github.com/cesanta/mongoose *�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c ��https://github.com/cesanta/v7 *�Frozen:�JSON�parser�and�generator ��https://github.com/cesanta/frozen/ *�SLRE:�Regular�Expression�library ��https://github.com/cesanta/slre/ *�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset ��https://github.com/cesanta/krypton *�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X ��https://github.com/cesanta/smart.js/tree/master/flashnchips *�GDB�server:�Debugger�stub�for�remote�debug ��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb *�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product) ��https://github.com/pellepl/spiffs *�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS ��https://github.com/cesanta/mongoose *�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c ��https://github.com/cesanta/v7 *�Frozen:�JSON�parser�and�generator ��https://github.com/cesanta/frozen/ *�SLRE:�Regular�Expression�library ��https://github.com/cesanta/slre/ *�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset ��https://github.com/cesanta/krypton *�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X ��https://github.com/cesanta/smart.js/tree/master/flashnchips *�GDB�server:�Debugger�stub�for�remote�debug ��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb *�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product) ��https://github.com/pellepl/spiffs *�Mongoose:�Net�library�supporting�TLS/HTTP/Websocket/JSON-RPC/MQTT/CoAP/DNS ��https://github.com/cesanta/mongoose *�V7:�JavaScript�engine�deployed�in�two�files�v7.h�and�v7.c ��https://github.com/cesanta/v7 *�Frozen:�JSON�parser�and�generator ��https://github.com/cesanta/frozen/ *�SLRE:�Regular�Expression�library ��https://github.com/cesanta/slre/ *�Krypton:�TLS/DTLS�library,�source�and�binary�compatible�OpenSSL�subset ��https://github.com/cesanta/krypton *�Flashnchips:�Firmware�writer�for�Windows�and�Mac�OS�X ��https://github.com/cesanta/smart.js/tree/master/flashnchips *�GDB�server:�Debugger�stub�for�remote�debug ��https://github.com/cesanta/smart.js/tree/master/platforms/esp8266#gdb *�SPIFFS:�SPI�Flash�File�System�(not�Cesanta�product) ��https://github.com/pellepl/spiffs
  • 10. PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!PR: Join the Functional IoT Meetup!