by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mark Becker
    @MaBecker
    there are pins that an not handle irqs
    or the pin type setup is wrong
    in firmware
    so lets check the source code
    Ákos Lukács
    @AkosLukacs
    Changed to D38, and it's working.
    :sheep:
    Ákos Lukács
    @AkosLukacs
    Re ESP32 power consumption: before connecting to my AP, the ESP + stuff consumed about 160-180mA, after connecting it consumes 100-120mA
    After wifi.disconnect() it jumped up again to 168mA :O
    Connect to AP again -> lower current consumption again. Not yet doing any network stuff...
    Mark Becker
    @MaBecker
    How do you measure it?
    What power Wi-Fi setting do you use?
    Ákos Lukács
    @AkosLukacs
    Ruideng USB power meter thingy
    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? :)