Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Issues Mon Dec 19 13:26:01 CST 2016 Dec 19, 2016
images Sat Dec 24 10:37:17 CST 2016 Dec 24, 2016
Building duktape from github.md fix typos Aug 3, 2017
Duktape module framework.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
NetVFS.md Update docs. Feb 16, 2018
README.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
browser based JavaScript editor.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
building for linux.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
classes.md Sync commit 2017-07-29 Jul 29, 2017
compiling JavaScript.md Sun Dec 25 16:55:31 CST 2016 Dec 25, 2016
contributing and collaborating.md Mon Jan 9 11:09:58 CST 2017 Jan 9, 2017
date and time.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
debugger.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
design for modules.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
duktape patterns.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
event processing.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
file systems.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
global variables.md Sync commit 2017-07-29 Jul 29, 2017
high level design.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
http.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
installation.md Merge branch 'master' of https://github.com/nkolban/duktape-esp32 Jun 11, 2017
interval and timeout processing.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
issues.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
making a distributable.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
module_aes.md Added simple doc. Jun 14, 2018
module_gpio.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
module_http.md 2016-11-21 Nov 21, 2016
module_linenoise.md Simple doc. Jun 14, 2018
network.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
saving ram.md Sync commit 2017-07-29 Jul 29, 2017
serial access.md Sync commit 2017-07-29 Jul 29, 2017
streams.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
todo.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017
working_with_code.md Sat Jun 10 19:13:21 CDT 2017 Jun 11, 2017

README.md

ESP32-Duktape - Documentation

This folder contains the documentation and project notes for the ESP32-Duktape project.

Status

The project was started in November 2016 and hence is still extremely new. Experience and feedback with it and upon it is very light. Any comments should be emailed to kolban1@kolban.com.

Binary install

Instructions for downloading and installing a binary version of ESP23-Duktape can be found here.

Running ESP32-Duktape

After flashing your ESP32 with the images, reboot the device. At this point the device will start and begin running ESP32-Duktape. Since this is the first time it has started, it will not know how to connect to your WiFi environment. Because network connection is required to attach a terminal to it, there is some setup required. Because ESP32-Duktape has determined it doesn't know how to connect to your WiFi, it becomes an access point ready for configuration. Take your smart phone and look for available WiFi networks. You will find one called "ESP32 Duktape". Connect your phone to that network. Now you should launch a browser on your phone and visit "http://192.168.4.1" (Note: Your own access point number may differ). You will now be presented with a page into which you can enter your local WiFi network name (SSID) and connection password. Once submitted, reboot your ESP32 again and this time it will connect to the network using the information you supplied. Now your ESP32 is addressable. You can test this with a ping command:

ping <IP Address of your ESP32>

which should respond successfully. At this point, your ESP32 is up and running and ready to execute JavaScript. As a quick test, open a "telnet" session to the IP address of your ESP32 and you should see an ESP32-Duktape> prompt. Enter JavaScript and you are off to the races.

Troubleshooting

Here is where we will record troubleshooting tips by category. In general, attach a serial terminal to the serial connections of your ESP32 as that is where diagnostics are written.

Network connection

  • If your ESP32 is configured to connect to a specific access point and it is no longer available, the device will go back to being an access point for reconfiguration.
  • You can force your ESP32 to become an access point for reconfiguration by holding GPIO25 high (3.3V) at boot.