Chat freely about the open source Javascript projects for ESP8266
User avatar
By sfranzyshen
#56874 There is a new player in town ... and it's from Samsung ... JerryScript is a lightweight JavaScript engine for resource-constrained devices such as microcontrollers. It can run on devices with less than 64 KB of RAM and less than 200 KB of flash memory. ... ts/esp8266
User avatar
By captain-normal
#70073 I'm looking for an open source browser for the ESP8266 (or something I can port to it), with Javascript support. Aim is to display web pages which contain embedded Javascript. I'm happy to accept some limitations on the HTML and Javascript implementations.

I came across this post. Jerryscript looks like it could be what I am after. Can anyone recommend a browser that would interface with it? Or does anyone have an alternative solution they could suggest if they think I'm barking up the wrong tree?
User avatar
By Mansi Rao
#72182 [img=]ESP8266[/img]

The ESP8266 is a popular WiFi chip that provides a relatively transparent connection between the TX and RX pins of a microcontroller and a WiFi network. It was released a little more than a year ago, and since then developers and hardware hackers have turned the ESP into much more than a serial to WiFi bridge. It’s a microcontroller platform unto itself, with a real development environment and support for the scripting language Lua.

Lua is okay, but a real win would be a JavaScript interpreter for this tiny WiFi platform. It’s taken months of work, but finally there’s an open source version of JavaScript available for the ESP8266.

This build is based on the Espruino firmware, a JavaScript interpreter for microcontrollers. This interpreter runs on dozens of different microcontrollers, but being the latest, greatest, and most popular new microcontroller platform means a new solution for the ESP is very, very exciting.

Right now the JS interpreter for the ESP is in testing, with expectations high that everything will be brought over into the main branch of the Espruino firmware. There are samples of JavaScript running on the ESP available, and binaries that can be flashed onto an ESP are available here.

Thanks [Richard] for sending this one in. He’s set up an Espruino board on the ESP8266 community forum, that should eventually be filled with new examples of JavaScript running on an ESP.
You do not have the required permissions to view the files attached to this post.