Avatar for jsbaekke

jsbaekke

Member since Dec 2015 • Last active Jan 2022
  • 1 conversations
  • 9 comments

Most recent activity

  • in ESP8266
    Avatar for jsbaekke

    I am not able to use serial1 at 19200 baud.
    Do I need to move to C ?

  • in ESP8266
    Avatar for jsbaekke

    Thank you again - this did the trick - now it works again.
    It compresses from 22400 bytes to 6687, how close am I to the limit ?

  • in ESP8266
    Avatar for jsbaekke

    I moved another project to 1v84.
    It runs fine, but I am not able to save() it, I get an ERR>
    Is there less flash to save() in with 1v84, can you hint me to debug it ?

  • in ESP8266
    Avatar for jsbaekke

    Thank you - this did the trick - now it works again.

  • in ESP8266
    Avatar for jsbaekke

    I build an array that I submit to remote sockets (RF433) using digitalPulse(D14,1, ps);

    It worked fine with 1v83 Copyright 2015 G.Williams.
    With 1v84, it seems being interrupted and puts out wrong data.
    I have attached the file that works with 1v83.
    Maybe you can help me point out a better way, or if it something with 1v84 look into it.
    (a few things need to be change in the file to compile with 1v84:
    require("wifi")-> "Wifi" and ESP8266.getAddressAsString(ipInfo.ip) ->wifi.getIP().ip

  • in ESP8266
    Avatar for jsbaekke

    Thanks tve and Gordon

    I still need some help, if you have time I would appreciate that.

    I have saved this script on ESP8266.

    E.on('init', function() {
    LoopbackA.setConsole();
    Serial1.setup(19200,{bytesize:8,parity:'­none',stopbits:1,flow:'none'});
    Serial1.println("my command");
    });

    My intension is to use the RX and TX to communicate with an instrument instead of the consol.

    I expected to get "my command" sent out on the TX pin with a baud of 19200.

    But i get this continuous repeated on baud 115200:

    -> LoopbackA
    ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    load 0x40100000, len 1396, room 16
    tail 4
    chksum 0x89
    load 0x3ffe8000, len 776, room 4
    tail 4
    chksum 0xe8
    load 0x3ffe8308, len 540, room 4
    tail 8
    chksum 0xc0
    csum 0xc0
    2nd boot version : 1.4(b1)
    SPI Speed : 40MHz
    SPI Mode : DIO
    SPI Flash Size & Map: 32Mbit(512KB+512KB)
    jump to run user1 @ 1000
    rl??rl??â?büLoading 5123 bytes from flash...
    -> LoopbackA
    ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    ..

  • in ESP8266
    Avatar for jsbaekke

    Is it possible to change the baudrate on ESP8266 running espruino ?

    I am trying to wifi enable some old RS232 equipment.
    This equipment need a baudrate of 19200.
    I tried :
    Serial1.setup(19200,{bytesize:8,parity:'­none',stopbits:1,flow:'none'});
    Serial1.println("testing 123");
    I prints the "testing 123" on the connected terminal, but is still uses 115200, as the firmware setup.

Actions