🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • M5Stick Continuous operation

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • M5StickC: turn off screen completely

    25
    0 Votes
    25 Posts
    109k Views
    V
    This is how I init my M5StickC in a full black screen way. M5.begin(0,1,1); M5.Axp.SetLDO2(false); M5.Axp.SetLDO3(false);
  • [Solved]Schematics for M5StickC?

    21
    1 Votes
    21 Posts
    95k Views
    L
    It is for M5StickC Plus. M5StickC is nearly the same: https://docs.m5stack.com/assets/img/product_pics/core/minicore/m5stickc_plus/StickC_sch.webp
  • ToF HAT is not working in fw 1.6.3

    4
    0 Votes
    4 Posts
    6k Views
    world101W
    @jhonnytank I apologize. I missed the fact that you were testing the hat. I only have the unit.
  • 0 Votes
    2 Posts
    5k Views
    felmueF
    Hi @AucT did you check out the M5StickC microphone sample? There is a GAIN_FACTOR which I would guess is probably what you're looking for. https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino Cheers Felix
  • M5 StickC+ issues from previous versions solved ?

    6
    0 Votes
    6 Posts
    9k Views
    world101W
    @felmue I wouldn’t assume a change in the sticker also represents a change in hardware. For example, I have the initial release of the M5StickC (no copper nuts, which are actually copper mounting screw holes), red 5V IN on the sticker, and no “RTC” label on the sticker. However, my device actually has a functional RTC inside. So adding the RTC label on the sticker doesn’t mean they revisioned the hardware and added the RTC. It was always there. I also cannot assume that the M5stack documentation is accurate 🤣. I think they make little revisions over time and don’t always communicate or document what was done.
  • Power consumption in deepsleep

    3
    1
    0 Votes
    3 Posts
    6k Views
    A
    If You already didn't, read this post: https://community.m5stack.com/topic/1162/getting-longer-battery-run-time
  • PowerC

    4
    0 Votes
    4 Posts
    8k Views
    vkichlineV
    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]; }
  • Program runs on StickC but won't turn back on after power cycle

    2
    0 Votes
    2 Posts
    6k Views
    felmueF
    Hello @patf I just ran a test with an empty program (empty setup and loop functions) and yes, with that M5StickC can be turned off, but not turned on again via power button. Including M5StickC.h and instantiate M5.begin() fixes the power button and the device can be turned on again with a short press. Background info: M5.begin() calls M5.Apx.begin() which then properly sets up the PMU AXP192 chip in the M5StackC. Cheers Felix
  • How to use mic on M5stickC via UIFlow?

    3
    1 Votes
    3 Posts
    7k Views
    A
    this is a very useful function. Looking forward to!
  • M5StickC and Grove-Temperature_Sensor_V1.2

    4
    0 Votes
    4 Posts
    6k Views
    F
    I solved the issue, I am getting the correct temperature now. I changed the code to: #include <M5StickC.h> #include <math.h> const int B = 4275; const float R0 = 100000; const int PIN = 33; void setup() { M5.begin(); Serial.begin(115200); } void loop() { int a = analogRead(PIN); float R = 4095.0/a-1.0; R = R0*R; float temperature = 1.0 / (log(R / R0) / B + 1 / 298.15) - 273.15; Serial.println(temperature); delay(500); } The correct pin was 33, and modified the 1023.0 to 4095.0 in the formula because esp32 is returning values between 0 and 4096. But anyway, the temperature readings were too high. Then, I modified the grove cable (as is explained here https://tinkerfarm.net/projects/the-m5stickc/the-5-volt-danger-with-the-m5stickc/) feeding the temperature sensor with 3.3v instead of 5v. And, now, (with no additional code changes) the temperature is correct.
  • How to control m5stickc pins via uiflow?

    11
    0 Votes
    11 Posts
    22k Views
    R
    Thats mean the pin where you connect relay is set to low state. So if you want to turn off your relay you must set pin to high mode or use for example transistor inverter (or use not logic gate) to invert your signal if you want activate it in high state signal. [image: 1596220463390-bjt-amplifier-ce-positive-output.jpg]
  • M5Stick firmware Burn error

    3
    0 Votes
    3 Posts
    6k Views
    K
    Awesome thanks all working cheers
  • Atom

    2
    0 Votes
    2 Posts
    3k Views
    m5stackM
    ATOM LITE don't have build-in any I2C slave device. you could set any GPIO pin for i2c conmmuication.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Unable to wake M5StickC using SH200Q's activity interrupt

    4
    1 Votes
    4 Posts
    9k Views
    D
    @marsalkm This ability should work on M5StickC units with the MPU6886. There's more info on this thread here: https://community.m5stack.com/topic/2039/wake-up-on-pick-up
  • I think my StickC has died ... any suggestions?

    7
    0 Votes
    7 Posts
    15k Views
    sysdl132S
    You can try to reset your 'sick-C' by erase your flash and burn the firmware again? (my older m5stickC bought at 2017 .it never 'died'. I erase and burn the firmware for about 1,500 times and it never 'sicked')
  • 5V stops working m5stickc

    8
    0 Votes
    8 Posts
    14k Views
    m5stackM
    just like him said. don't comment the M5.begin();
  • M5StickC - Cannot upload FactoryTest, size too large

    3
    1
    1 Votes
    3 Posts
    6k Views
    G
    Thanks! It worked.