You are reading a single comment by @d0773d and its replies. Click here to read the full conversation.
  • I'm trying to use an ESP8226 and I managed to screw up a couple of picos while trying to solder on the ESP8226 shim. I no longer have shims for the ESP8226 and I am now using: There is a switch located on the sparkfun's ESP8266 shield for Software Serial and Hardware Serial. I'm using the Software Serial pins on the ESP8266 shield and used jumper wires from the Hardware Serial RX and TX to pin A2 and A3 for successful communication.

    I ran the firmware js code:

    //var serial = Serial2;
    var pins = { rx: A3, tx : A2 };
    function test(baud) {
      var l="";
      Serial2.on('data', function(d) {l+=d;});
      Serial2.setup(baud, pins);
    //digitalWrite(B9,1); // enable on Pico Shim V2
    setTimeout(function() { test(9600); }, 2000);
    setTimeout(function() { test(115200); }, 3000);
    setTimeout(function() { test(57600); }, 4000);
    setTimeout(function() { console.log("Done!"); }, 5000);

    Which resulted:

    "AT+GMR\r\r\nAT version: 3 2015 19:35:49)\r\nSDK
    version:1.2.0\r\ncompile time:Jul 7 2015 18:34:26\r\nOK\r\n" "\x00"
    "àà\x00\x00" Done!

    I'm assuming that I should use the serial baud rate of 115200 because the ESP8226 firmware is

    I am now attempting to get basic communication from the ESP8226 and using the code below. However, I am receiving

    Module NetworkJS not found


    Module http not found


    Serial2.setup(115200, { rx: A3, tx : A2 });
    var wifi = require("ESP8266WiFi_0v25").connect(Seri­al2, function(err) {
      //                ^^^^^^^^^^^^^^^^
      //                Use ESP8266WiFi here (and 9600 baud) if you have an ESP8266 with firmware older than 0.25
      if (err) throw err;
      wifi.reset(function(err) {
        if (err) throw err;
        console.log("Connecting to WiFi");
        wifi.connect("WiFi_Name","WPA2_Key", function(err) {
          if (err) throw err;
          // Now you can do something, like an HTTP request
          require("http").get("­uk/hello.txt", function(res) {
            console.log("Response: ",res);
            res.on('data', function(d) {

Avatar for d0773d @d0773d started