• I just merged in my changes to allow multiple different connection types.

    The Web IDE and instructions on installing the development version from GitHub are here.

    It's a bit of a change so it'd be great if some of you could help to try it and make sure that connection and disconnection to your Espruino still works as expected.

    Connect over TCP/IP

    If you go into Settings then Communications then enter an address in Connect over TCP Address, next time you click connect you'll see an option to connect to Espruino via TCP/IP.

    This is probably of a lot of interest to @Kolban, @JumJum, and @tve as it'll work on the ESP8266 firmware (when the Telnet interface gets done).

    However for the rest of us, we can still program our Espruinos wirelessly by uploading the following code (this assumes a new ESP8266 v0.25 and a Pico - but you can change the network code and it should work for anything - the important bit is between the // ----- lines.

    digitalWrite(B9,1); // enable on Pico Shim V2
    Serial2.setup(115200, { rx: A3, tx : A2 });
    var wifi = require("ESP8266WiFi_0v25").connect(Seri­al2, function(err) {
      if (err) throw err;
      wifi.reset(function(err) {
        if (err) throw err;
        console.log("Connecting to WiFi");
        wifi.connect(WIFI_NAME, WIFI_KEY, function(err) {
          if (err) throw err;
          // -----
          require("net").createServer(function (connection) {
          // -----
    function reset() {
      console.log("Can't reset properly - we'd break the network.");

    So upload via USB, wait until it gives you the IP address and type that with :23 on the end into Connect over TCP Address in Settings -> Communications. You can then connect with the terminal.

    Connect over Audio

    You can enable this from Settings as well. I'll document it properly, but for now you can find details of the simple circuit you need here: https://github.com/espruino/EspruinoOrio­n#how-it-works

    It's potentially of use for you in the Web IDE if:

    • You want to talk to a board without USB, and you don't have a USB-TTL converter (like the STM32VLDISCOVERY board)
    • You bought one of those stupid new MacBooks with no USB Type A connectors

    But the big one is that you can run the Web IDE in the browser, and can program your Espruino board with no drivers or anything.

    Please help to make this better - it's pretty awesome that you can now theoretically run the Web IDE instantly from anywhere, without drivers, including Android and iOS. It just needs a bit more work put into it and I have very little time.

    The Web IDE is all HTML, JS, and CSS - so it shouldn't be completely daunting.


Avatar for Gordon @Gordon started