Avatar for Ollie

Ollie

Member since Jul 2014 • Last active May 2017
  • 25 conversations
  • 407 comments

Most recent activity

  • in ESP32
    Avatar for Ollie

    @PressAnyKey, there's a port in progress. @Wilberforce and @JumJum are leading it. You can also get them on the gitter channel here gitter.im/espruino/esp32

  • in ESP8266
    Avatar for Ollie

    I expect, you'll have no issues there - that's where I went after the Wifi-NodeM. Specifically I wanted an unpinned board, and they've been great.

    • 16 comments
    • 631 views
  • in JavaScript
    Avatar for Ollie

    Re space - I think a part of it is that the port was designed to accommodate the entire ESP8266 family, including the ESP8266-01. You can use that flash, but as a key/val store. save() doesn't use it all.

    Re the module, and subscribe reconnection. It's been a while since I've used, but I seem to think subscriptions resume or at least aren't cancelled by the disconnection, but don't hold me to that. Please feedback how you get on.

    BTW the Espruino Gitter channel might be useful. There are people in there who know more about the ESP8266 port than I, so could advise what might be possible on the space front, there's also one user of ESP8266/tinyMQTT who's been managing his home with it for 12 months, so he'd be a good person to pick up with.

  • in JavaScript
    Avatar for Ollie

    @Scargill. Hello there! How are you approaching it? Generally, I put a call to connect in the disconnect event handler. Which module are you using? Myself and others have had good success with this cut down module (github.com/olliephillips/tinyMQT­T).

    So something like this:

    mqtt.on("disconnected", function(){
        console.log("disconnected");
        mqtt.connect();
    });
    

    At the time of the espruino to ESP8266 port, there wasn't the room for the full MQTT module, though we now have 1700 jsvars I think some have squeezed it in, but can't save much application code.

  • in ESP8266
    Avatar for Ollie

    Hi I can't replicate this. I have 34 APs available in my location. Following a reset() and wifi.scan() , process.memory().free reports 1649 jsvars.

    Maybe the issue is what you are doing with the data post-scan? Can you provide more info on what your code is doing?

  • in ESP8266
    Avatar for Ollie

    It works.

  • in ESP8266
    Avatar for Ollie

    Check out the Flash EEPROM module here espruino.com/FlashEEPROM

  • in ESP8266
    Avatar for Ollie

    Yes. On the Wifi NodeM there's a tiny hole in antenna which is embedded in the PCB. I don't know whether I grounded it, or powered it, but one of the two massively improved the reception. Without that, a scan of APs returned 1, or 2 at best, when a NodeMCU would return all in range.

    Odd though, you say Micropython Wifi runs fine on yours, and others seem to have also had success with the Wifi-NodeM running Arduino, so maybe there is an Espruino related quirk on the Robodyn boards.

  • in ESP8266
    Avatar for Ollie

    @citizen12123

    I had their Wifi-NodeM board. It detected virtually no Access Points. I concluded the radio was very poor, maybe since it was embedded in the board on the Wifi-NodeM.

    There was an odd trick that got it to work - which I don't fully remember but - it involved shorting a a pin to the hole in the antenna. Do that and reception good.

    This workaround, worked very well, but I felt the chips got very hot. Again, because the chipset is uncovered I couldn't tell you if this is hotter than a nodeMCU board would run.

    Tried to return and get money back, which seller agreed to, but postage terms and costs made it infeasible.

Actions