Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. ckuehnel
    3. Topics
    C
    • Continue chat with ckuehnel
    • Start new chat with ckuehnel
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by ckuehnel

    • C

      Measuring the Water Temperature
      PROJECTS • • ckuehnel

      2
      1
      Votes
      2
      Posts
      634
      Views

      Thanks for sharing. Have you considered adding one of these https://shop.m5stack.com/products/m5stamp-cat-m-module-sim7080g to act and the mobile phone so it can send the data out with a server without needing to take a mobile phone to it?
    • C

      Unit CatM
      Units • • ckuehnel

      2
      0
      Votes
      2
      Posts
      1883
      Views

      Hello @ckuehnel could you share some additional information? E.g. which M5Stack core is it connected to? which Groove port are you using? how do you initialize the serial connection? which GPIOs are you using for TX and RX? could you share your UiFlow or Arduino code? Also these SIM7xxx modems take some time to initialize before they react to AT commands. Try sending the AT command a couple of times. Thanks Felix
    • C

      M5CoreInk wake up by EXT0 (PIR Hat)
      Cores • • ckuehnel

      8
      0
      Votes
      8
      Posts
      7398
      Views

      T

      @twostick FYI; light sleep current pulled out of the battery depend on the battery voltage: <2.7V device wont wake up anymore 2.7V 4.4mA 3.0V 3.9mA 3.7V 3.1mA 4.2V 2.7mA This dependacy is caused by the DC-DC conversion that converts the Lipo voltage first to 5Vdc. (SY7088 chip). The 5Vdc gets also down converted to 3v3 (SY8089 chip) . According to the datasheet, the ESP itself should only use 0.8mA in light sleep. So 2mA gets waisted. What a pitty. dd.07-04-22: The above is not completely true. I'm using the M5GFX lib and when I execute the function display.sleep(); before going to deep sleep (esp_deep_sleep_start();) the sleep current drops to a 1.25mA. Still considerable...
    • C

      MQTT Unit
      Units • • ckuehnel

      3
      0
      Votes
      3
      Posts
      3201
      Views

      C

      @m5stack It works now as expected.
    • C

      M5Stack ID Unit (ATECC608)
      Units • atecc608 • • ckuehnel

      3
      0
      Votes
      3
      Posts
      3273
      Views

      Hello @ckuehnel I did some experiments with the ATECC608A version in the M5Core2 AWS kit. Using the aforementioned libraries with I2C address 0x35 I can make it wake up and read information from it. However for me it did not show up using an I2C scan, even after waking it. From the full datasheet I understand that 0x35 is the default I2C address which can be modified exactly once to something different. Looks like that has not yet happened with the ATECC608A in my M5Core2 AWS kit. In contrast the M5Stack ID Unit uses the ATECC608B version for which I was not able to find the full datasheet (it looks like it requires an NDA). I assume that either the same mechanism exists regarding I2C address for the B version and 0x60 is the default or it already has been modified from 0x35 to 0x60 by M5Stack. (I don't have the M5Stack ID Unit so I cannot confirm whether it uses 0x35 or 0x60.) Thanks Felix
    • C

      Core2 PortC not working
      Core 2 • • ckuehnel

      4
      0
      Votes
      4
      Posts
      4632
      Views

      Hello @ckuehnel glad to hear and thanks for letting me know. Thanks Felix
    • C

      CoreInk deepsleep
      Cores • • ckuehnel

      7
      0
      Votes
      7
      Posts
      7665
      Views

      Hello @ckuehnel Without opening M5CoreInk you probably cannot measure battery voltage with a multimeter. However you can use GPIO35 to read the battery voltage. Check out float getBatVoltage() here. BTW: I've opened my M5CoreInk today and added some photos to my page (link below). Measuring power consumption in light sleep, deep sleep and shutdown will be next. Cheers Felix
    • C

      M5Atom Pixel Tool
      SOFTWARE • • ckuehnel

      7
      0
      Votes
      7
      Posts
      9978
      Views

      The yellow bar means: This threat has been removed and no further action is required. You can exit your antivirus when you are downloading.
    • C

      PowerC
      M5 Stick/StickC • • ckuehnel

      4
      0
      Votes
      4
      Posts
      5369
      Views

      Thanks for posting that info, djhopkins2, it's hard to come across! I have found that this function keeps the board from shutting off after a few seconds, but I only started using an hour ago; I don't know if it has any adverse effects on the hardware yet: void disable_shutoff() { return M5.I2C.writeByte(0x75, 0x02, 0x00); } Also, here are the corrected voltage and current functions alluded to above; I don't think the voltage can go negative, but the current certainly does, and displays meaningless values without this correction: int16_t readBatV(uint8_t Reg) { uint8_t dataV[2] = {0, 0}; M5.I2C.readBytes(0x75, Reg, 2, dataV); if(dataV[1] & 0x20) dataV[1] |= 0xC0; // 14 bit 2's complement to 16 bit return (dataV[1]<<8) | dataV[0]; } int16_t readBatI(uint8_t Reg) { uint8_t dataI[2] = {0, 0}; M5.I2C.readBytes(0x75, Reg, 2, dataI); if(dataI[1] & 0x20) dataI[1] |= 0xC0; // 14 bit 2's complement to 16 bit return (dataI[1]<<8) | dataI[0]; }
    • C

      M5StickC &18650C Hat
      Units • 18650c hat • • ckuehnel

      5
      0
      Votes
      5
      Posts
      8034
      Views

      W

      @ckuehnel Did you ever figure this out? I just got my 18650 hat. I took it apart and also don't see any control circuitry. I'm now guessing that the USB connector on the hat simply feeds into the 5V input of the M5StickC, and the AXP192 inside the M5StickC controls the charge of the 18650 cell. There is some info in the AXP192 data sheet about a back-up battery, but it's been a while since I read it, and I'm not sure it's relevant. One interesting thing ... I'm working on a project where I turn the display off after a few seconds if the M5StickC is not plugged in. Either by shrewd design or by my dumb luck, that works when the M5StickC is on the hat. ("It works" means the display turns off after a few seconds.)
    • C

      M5Stack Basic Core w/ SIM800L Module
      Cores • • ckuehnel

      1
      0
      Votes
      1
      Posts
      3147
      Views

      No one has replied

    • C

      DS18B20 @ Grove Connector
      M5 Stick/StickC • • ckuehnel

      7
      0
      Votes
      7
      Posts
      11937
      Views

      @grelm I think (but i could be wrong) 10mA should be ok.