by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ákos Lukács
    @AkosLukacs
    Dunno, whatever is the default. :) Previously called stopAP and disconnect while I was doing non-wifi stuff
    Current is jumping up and down as I have a CCS811 in periodic mode, but it was in the 160-180mA range while I wasn't connected to wifi. Now it goes down even to 99mA, and jumps up to ~120mA when the CCS811 is doing it's measurement. And LCD backlight is on too
    So at least 50mA current drop after connecting to an AP.
    Ákos Lukács
    @AkosLukacs
    Getting there:
    image.png

    Now need some LCD display, and should be close to finished*.

    (*I think this is probably in the famous last words)

    Mark Becker
    @MaBecker
    Nice
    Ákos Lukács
    @AkosLukacs
    Oh. There was an empty setWatch implementation in the docs, so added the pins there
    Mark Becker
    @MaBecker
    cool, so I can tick this for issue #1777 - thanks
    Ups, you added the pins that can be used, which is better
    Some pins can't be watched -> Pins that can be watched
    Mark Becker
    @MaBecker
    can you please change the headline - Thanks
    HyGy
    @HyGy
    @MaBecker Do you know when will the sd card implementation included to the esp32 port what U created? I still get no notify from github.
    Is it esp32 enough powerfull from espruino to record a 24bit 48k stereo wav file on 2 pins (stereo) save it to an sd card, and push it -trough 2 another pin- or -bluetooth- (or bt and pin in the same time?)
    Ákos Lukács
    @AkosLukacs
    @MaBecker thanks for catching that
    @HyGy Well, maybe not from Espruino. You can do some pretty cool things with the ESP32 if you go low level enough.
    Espruino on ESP32 is not really optimized.
    Ákos Lukács
    @AkosLukacs
    Back to my project: looks like it takes 9-10 seconds to update 6 values on that 240x135 LCD
    That effectively locks up the terminal :/
    Or only vector fonts are slow?
    Mark Becker
    @MaBecker
    you use sw spi
    Ákos Lukács
    @AkosLukacs
    Yes. And g.setFont('4x6', 4); is much faster than vector
    Mark Becker
    @MaBecker
    ok, what about 6x8 it has additional chars
    you can even resize it
    Ákos Lukács
    @AkosLukacs
    g.getFonts say only 4x6 and Vector. Only need numbers right now
    But probably 6x8 looks nicer :)
    Mark Becker
    @MaBecker
    go for a travis build
    Ákos Lukács
    @AkosLukacs
    hmmm, (386174) uart: uart_set_pin(541): tx_io_num error means pick another pin for UART, right?
    Mark Becker
    @MaBecker
    are you trying to setup a additional serial ?
    Ákos Lukács
    @AkosLukacs
    One (other than the terminal)
    Mark Becker
    @MaBecker
    What about Serial2, TX:D17 RX:D16 ?
    or go for a software serial
    Mark Becker
    @MaBecker

    Ups, better not use D17, D16

    On D2WD, pins GPIO16, GPIO17, SD_CMD, SD_CLK,
    SD_DATA_0, SD_DATA_1 are used to connect the built-in SPI Flash chip. Using them for some other purpose will interfere with code execution from flash, leading to illegal instruction exception. Also note that D2WD uses a 1.8V flash chip, so all pins in VDD_SDIO domain use 1.8V supply voltage.

    So it depends on the board you use ;-)
    Ákos Lukács
    @AkosLukacs
    Yeah, D16 is connected to the LCD
    And of course just soldered the pins on the "right" side, because that should be more than enough, if you can move anything to any pin, right? :)
    Ákos Lukács
    @AkosLukacs
    (ESP / arduino) Uart0 is (espruino) Serial1, Uart1 is Serial1, and Uart2 is Serial2, right? Or is there something else?
    And UART0 / Serial1 is the serial terminal. Pin0 and Pin3 is not available on the board
    Mark Becker
    @MaBecker

    Yes, just tried

    Serial1.write("hello")
    hello=undefined

    so use Serial2.setup()
    Ákos Lukács
    @AkosLukacs
    Yes, tried to use Serial2, but now time to get the kids to bed
    Mark Becker
    @MaBecker
    digitalWrite(D16,0);
    Serial2.setup(115200,{rx:D5, tx:D2});
    Serial2.write("Hello");
    digitalWrite(D16,1);
    D16 is just the trigger for the logic analyser
    Work ;-)
    Ákos Lukács
    @AkosLukacs
    It's working on D32 and D33. Just a piece of wire as loopback to verify :)
    rgomezwap
    @rgomezwap

    Hello I just installed the build environment for ESP32. The generated firmware version is 2v04.406.
    Can someone tell me how I can see what exact version of ESP-IDF was used for the build.

    Richard Gomez

    rgomezwap
    @rgomezwap
    I see from github that the last version we are using is -> esp_idf_branch = v3.1.3