Avatar for Will

Will

Member since Mar 2016 • Last active Dec 2019
  • 8 conversations
  • 48 comments

Most recent activity

  • in ESP32
    Avatar for Will

    I am able to flash it. The key change is to set baud to 115k.

  • in ESP32
    Avatar for Will

    The module is able to run arduino sketches for 10+ minutes. I have a second module that I could test.

  • in ESP32
    Avatar for Will

    I am unable to get the ESP32 image (V2.04 or V1.99) to run on M5StickC.

    It will stay up for about 2 mins, then cycles into infinite loop. Based on some googleing I believe the solution might be that I have to compile my own build without he PSRAM option?

     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    ýE (518) psram: ESP32PICOD4  do not support psram yet
    E (518) spiram: SPI RAM enabled but initialization failed. Bailing out.
    
    • 8 comments
    • 1,567 views
  • in ESP32
    Avatar for Will

    thank you!

  • in ESP32
    Avatar for Will

    Hi - thank you for any help you might provide. Dev board is running other code, so I pulled this from notes, not a working board.

    const SURLAPI = 'https://i66toll.firebaseio.com/eb/belt/­washington/tolls.json?orderBy=%22$key%22­&limitToLast=1';
    const HTTP = require("http");
    //ESP32.enableBLE(false);
    
    function onInit()
    {
        //console.log("main");
        //loadTolls();
    }
    
    var options = {
        host: 'i66toll.firebaseio.com', // host name
        port: 443,            // (optional) port, defaults to 80
        path: '/eb/belt/washington/tolls.json',           // path sent to server
        method: 'GET',       // HTTP command sent to server (must be uppercase 'GET', 'POST', etc)
        protocol: 'https:',   // optional protocol - https: or http:
        headers: { orderBy : "%22$key%22", limitToLast : 1 } // (optional) HTTP headers
      };
    
    function loadTolls()
    {
        //getting weather now, so allow another process to get weather
      
        HTTP.get(options, function(res) 
        {
            res.on('data', function(wunderString)
            {
              loadTolls.val = wunderString;
              console.log(wunderString);
              memUsage();
            });
            res.on('close', function(fLoaded)
            {
              memUsage();
            });
            res.on('error', function(e){console.log("error getting URL details");});    //TODO: test, and handle by saving values?
        });
    }
    
    function memUsage()
    {
      console.log(process.memory().usage);
    }
    
  • in ESP32
    Avatar for Will

    Is SSL available on ESP32? I know it wasn't at one point. If not, does anyone know URL/service that can be used to translate?

    I'm trying to pull information from https://firebaseio.com

    I get out of memory error, and have tried turning off bluetooth with no avail. Perhaps I should look into building my own?

    Using version 2.01.

    Thank you in advance.

  • in Interfacing
    Avatar for Will

    @patreon is this site still available? Can others use it?

Actions