Avatar for davem

davem

Member since Nov 2015 • Last active Nov 2019
  • 1 conversations
  • 8 comments

Most recent activity

    • 3 comments
    • 163 views
  • in Pico / Wifi / Original Espruino
    Avatar for davem

    Hi, just received my Pixl.js and Espruino Wifi boards.

    • Pixl.js board working great.
    • Wifi board not working great.

    1) when the sample wifi code (https://www.espruino.com/WiFi#connecting­-to-an-ap) is run, I get this:

    ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    
    Connection error: WiFi connect failed: FAIL
    

    Wifi name and password correct.
    Original firmware was v1.91, I updated to latest firmware (v2.04) successfully, as seen in the output above, but still had the error.

    2) Espruino Wifi board runs really hot.

    Seems much hotter than other boards.
    (I've used Pico and the Original since the Kickstarter in 2014).
    Heat seems to be coming from the STM not the ESP8266.

    David

  • in ESP8266
    Avatar for davem

    any update on this? I'm getting A0 undefined (v 1.87)

    thx
    David

  • in Tutorials
    Avatar for davem

    Nice! Which IR sensor are you using?

  • in ESP8266
    Avatar for davem

    Might be useful documenting what's not working too, just a thought, and, crucially, which MCU you are using!

  • in ESP8266
    Avatar for davem

    I ran into similar issue trying to get I2C working with the Wii Nunchuck.

    • works fine with Pico, but not at all on ESP8266.
  • in Interfacing
    Avatar for davem

    Thanks Gordon, somehow i lost track of this thread, that's exactly what I need.
    Dave

  • in ESP8266
    Avatar for davem

    Thanks so much for this, I can confirm that it works on the WeMosD1 board, see pic of board (NOTE: I couldn't get NodeMcu working on this board!).

    esptool.py --port  /dev/tty.wchusbserial1410 --baud 9600 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m  0x0000 "boot_v1.4(b1).bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin
    
    var wifi = require("Wifi");
    var http = require("http");
    
    wifi.connect("ssid",{password:"pwd"},fun­ction(err){
      console.log("connected: err:", err, ", IP:", wifi.getIP());
      http.createServer(function(req, res){
        res.writeHead(200, {'Content-Type': 'text/html'});
        res.write('Hello World');
        res.end();
      }).listen(80);
    });
    
  • in Interfacing
    Avatar for davem

    Not sure if this is related, but working with neopixel leds, which require array arguments to be 'splatted' is odd.
    Just wondering if you have any functional array handling, e.g. lodash?

    Dave

Actions