SlideShare uma empresa Scribd logo
1 de 10
Baixar para ler offline
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!

Mais conteúdo relacionado

Destaque

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 もくもく会#2sonycsl
 
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 4Shun Sasaki
 

Destaque (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
 

Semelhante a 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 microcontrollerKiwamu 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 MCUKiwamu 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 @ OsakaKiwamu 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 @ NagoyaKiwamu 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 planKiwamu Okabe
 
Safer IoT using functional language
Safer IoT using functional languageSafer IoT using functional language
Safer IoT using functional languageKiwamu Okabe
 
ATS programming on ESP8266
ATS programming on ESP8266ATS programming on ESP8266
ATS programming on ESP8266Kiwamu 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 ChefChef Software, Inc.
 
Functional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformFunctional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformKiwamu 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 deadFederico Panini
 
From printed circuit boards to exploits
From printed circuit boards to exploitsFrom printed circuit boards to exploits
From printed circuit boards to exploitsvirtualabs
 
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 jvmPawel 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 MCUKiwamu 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 + MCUKiwamu 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 BentonSpark 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, againKiwamu Okabe
 
Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Vilas Fulsundar
 
Introduction to VeriFast @ Kyoto
Introduction to VeriFast @ KyotoIntroduction to VeriFast @ Kyoto
Introduction to VeriFast @ KyotoKiwamu 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
 

Semelhante a 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...
 

Último

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Último (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

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!