πŸ€–Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • You can discuss ESPHome related issues here, share your yaml and projects.

    21 Topics
    34 Posts
    D
    Hey! I’m currently having an issue with my stick s3 which arrived literally a couple days ago. When plugged into power, it makes a sound similar to that of a clock ticking while the green LED flashes/blinks. Sometimes it’s a high pitched squeak. When plugged into my computer, it isn’t showing up on the m5burner or any other web based tools. It was working perfectly fine previously however. When unplugged the device does nothing. I’ve tried entering the flash firmware mode by pressing and holding the power button while plugging in but no luck. Also tried pressing the button twice in hopes that the blinking stops, but nope Was using Bruce firmware Thank you!
  • Squareline Studio and LVGL Discussion

    6 Topics
    19 Posts
    S
    @δΏΊγŒγ‚¬γƒ³γƒ€γƒ γ  said in LVGL performance problem: I applied LVGL on stickc-plus2,with TFT_eSPI's st7789v2 driver.But the refreshing rate is very low (while doing "load screen anim").I know stickc had good performance on drawing screen (by watching the video of M5stick T-Lite Thermal tutorial). And the LVGL also has a good performance through Dial-ESP32-S3 and Din-Meter demonstration video. So what is the reason of such low performance. Cound it be the TFT_eSPI library? I’ve seen similar issues on the StickC-Plus2. It could be due to TFT_eSPI settings, try increasing the SPI frequency or enabling DMA. Also, check your LVGL buffer config; full buffering helps with performance.
  • Discuss all things UIFlow here. Bugs, Improvements, Guides etc...

    1k Topics
    4k Posts
    S
    I have the same problem too. It works with 2.4.2.
  • M5Stack is programmable with the Arduino IDE. Here you can troubleshoot your issues and share Arduino code and libraries

    468 Topics
    2k Posts
    B
    This is the closest I got on a code which provides some sort of acceleration/deaceleration on jumping btw positions. I wonder if is there an official way to achieve this smoothly. Thanks #include "unit_rolleri2c.hpp" #include <M5Unified.h> /* Going to random position every 1 second - trying to move with ease in/out, but very artificial/jittery - not smooth. */ UnitRollerI2C RollerI2C; const int32_t UNITS_PER_DEGREE = 100; const int32_t POSITION_TOLERANCE = 150; // ~1.5Β° arrival threshold const uint32_t MOVE_DURATION_MS = 3000; // total time per move (ms) β€” tune 1000–5000 const uint32_t STEP_MS = 40; // trajectory update interval (ms) const uint32_t PAUSE_MS = 1000; // pause at target before next move int32_t basePosition = 0; // ── Ease-in / ease-out using a sine curve ────────────────────────────────── // t=0.0 β†’ 0.0 | t=0.5 β†’ 0.5 | t=1.0 β†’ 1.0 // Accelerates from rest, decelerates to rest β€” smooth S-curve. float easeInOut(float t) { return (1.0f - cosf(t * PI)) / 2.0f; } // Drives from startUnits β†’ targetUnits over MOVE_DURATION_MS with ease in/out. // Returns true when the motor confirms arrival within tolerance. bool easedMoveTo(int32_t startUnits, int32_t targetUnits) { uint32_t moveStart = millis(); while (true) { uint32_t elapsed = millis() - moveStart; float t = min((float)elapsed / (float)MOVE_DURATION_MS, 1.0f); // Compute eased intermediate setpoint float eased = easeInOut(t); int32_t intermediate = startUnits + (int32_t)((targetUnits - startUnits) * eased); RollerI2C.setPos(intermediate); // Once we've sent the final setpoint, check arrival if (t >= 1.0f) { int32_t actual = RollerI2C.getPosReadback(); if (abs(targetUnits - actual) <= POSITION_TOLERANCE) { return true; // βœ… arrived } // Give a small extra window for the PID to settle if (elapsed > MOVE_DURATION_MS + 1000) { return false; // ⏱️ timed out even after easing finished } } delay(STEP_MS); } } int32_t degreesToUnits(float deg) { return (int32_t)(deg * UNITS_PER_DEGREE); } float unitsToDegrees(int32_t u) { return u / (float)UNITS_PER_DEGREE; } void setup() { M5.begin(); Serial.begin(115200); delay(500); randomSeed(analogRead(0)); bool found = RollerI2C.begin(&Wire, 0x64, 2, 1, 400000); if (!found) { Serial.println("❌ Roller485 NOT found on I2C! Check wiring."); while (true) delay(1000); } Serial.println("βœ… Roller485 found!"); Serial.print("Vin (x0.01V): "); Serial.println(RollerI2C.getVin()); Serial.print("ErrorCode: "); Serial.println(RollerI2C.getErrorCode()); RollerI2C.setOutput(0); RollerI2C.setMode(ROLLER_MODE_POSITION); RollerI2C.setPosMaxCurrent(80000); RollerI2C.setOutput(1); delay(100); basePosition = RollerI2C.getPosReadback(); Serial.print("Base position (raw): "); Serial.println(basePosition); Serial.println("Ready. Starting eased random position loop...\n"); delay(500); } int32_t currentTarget = 0; // tracks last target so we ease FROM it void loop() { // Random angle offset from base: -180Β° to +180Β° float targetDegrees = random(-180, 181); int32_t targetUnits = basePosition + degreesToUnits(targetDegrees); int32_t fromUnits = RollerI2C.getPosReadback(); // start from actual current pos Serial.print("➑️ "); Serial.print(unitsToDegrees(fromUnits - basePosition), 1); Serial.print("Β° β†’ "); Serial.print(targetDegrees, 1); Serial.println("Β° (easing...)"); bool arrived = easedMoveTo(fromUnits, targetUnits); float actualDeg = unitsToDegrees(RollerI2C.getPosReadback() - basePosition); if (arrived) { Serial.print("βœ… Arrived at "); } else { Serial.print("⏱️ Stopped at "); } Serial.print(actualDeg, 1); Serial.println("Β°"); Serial.print(" ErrorCode: "); Serial.println(RollerI2C.getErrorCode()); Serial.println(); delay(PAUSE_MS); // pause 1 second at target }
  • Discuss all things Micropython here. Get help, Recommend Libraries, Report Bugs and Improvements

    218 Topics
    898 Posts
    J
    @pabou try using uiflow to generate the code, then peek copy from there.
  • For discussion and assistance with M5EZ.

    13 Topics
    62 Posts
    J
    using the mentioned changes hello_world example did compile and got uploaded to my core2. However , nothing is shown on screen, screen remains black.
  • Discuss all things related to ESP - IDF, Espressifs IoT Development Framework

    29 Topics
    101 Posts
    felmueF
    Hello @daniyyel ah, ok. So the correct documentation is here. Have a look at the code examples in Quick Start Guide to see how the M5IOE1 needs to be programmed to turn on power etc. The function is called SIM7028_EN() and first turns on power then resets the modem. Thanks Felix
  • UiFlow 2.0 related issues discussion.

    363 Topics
    2k Posts
    T
    Similar here, UIFlow 1 doesn't work either. Password reset didn't help.
  • truetype2gfx - Converting fonts from TrueType to Adafruit GFX

    Pinned Moved
    6
    1 Votes
    6 Posts
    23k Views
    H
    This is a fantastic tool, it fills a real gap for those working with Adafruit GFX and custom fonts on Arduino/M5Stack. The interface is clean and easy to use
  • M5StickC Plus2 Not working

    10
    0 Votes
    10 Posts
    839 Views
    M
    @robski while waiting i bought a new display in case that is the problem.
  • M5Burner - Configure Button for User Custom Firmware

    1
    0 Votes
    1 Posts
    229 Views
    No one has replied
  • M5 Burner Installation

    3
    1 Votes
    3 Posts
    3k Views
    M
    For future reference to people who search for M5 burner shows nothing... Go into your app data folder in C:/Users/appdata/roaming Delete the M5 stack folder Also delete m5 burner and its associated files from where you keep it/run it. Re-extract the files to the place you keep your m5 burner program and run it, log-in again.
  • M5Burner and commenting FWs

    3
    1 Votes
    3 Posts
    646 Views
    felmueF
    Hi guys I looked at some of the comments - they are all dated from last year. I did not see anything recent. That makes me believe that the commenting feature has been turned off. Thanks Felix
  • Core2 with 4IN8OUT module in Arduino IDE

    2
    3
    0 Votes
    2 Posts
    973 Views
    H
    To anyone trying something similar in the future MODULE_4IN8OUT module; MFRC522_I2C mfrc522(0x28, -1, &Wire); void setup() { M5.begin(true, true, true, true); Serial.begin(115200); delay(500); Serial.println("Starting setup..."); M5.Lcd.println("Init..."); // POWER MANAGEMENT dla Port A (RFID) M5.Axp.SetBusPowerMode(0); M5.Axp.SetLDOEnable(2, true); delay(200); // --- I2C BUSES --- Wire.begin(32, 33, 100000); Wire1.begin(21, 22, 100000); delay(100); M5.Lcd.println("Init 4IN8OUT..."); // Start module 4IN8OUT if (!module.begin(&Wire1, 21, 22, MODULE_4IN8OUT_ADDR)) { M5.Lcd.setTextColor(RED); M5.Lcd.println("4IN8OUT INIT FAIL"); Serial.println("4IN8OUT INIT FAIL"); while (1) delay(1000); } M5.Lcd.setTextColor(GREEN); M5.Lcd.println("4IN8OUT OK!"); Serial.println("4IN8OUT OK!"); M5.Lcd.setTextColor(WHITE); // Init RFID mfrc522.PCD_Init(); M5.Lcd.println("RFID OK!"); Serial.println("RFID OK!");
  • m5burner choose file error

    1
    0 Votes
    1 Posts
    569 Views
    No one has replied
  • stick s3 troubleshooting help

    9
    0 Votes
    9 Posts
    4k Views
    M
    @TimmyProgamsStuff I'm glad about that. Have a lot of fun
  • Serial connection problem and connection to server failed

    8
    0 Votes
    8 Posts
    3k Views
    PitDuranP
    Serial and server connection issues can be tricky β€” been there! Sometimes it’s just a port config or baud mismatch. Hope you find the root cause soon!
  • 0 Votes
    3 Posts
    2k Views
    wayner.dW
    @seahope Interesting post! Leveraging HF models like Realistic Vision with the AX8850 module sounds like a solid step toward faster, more efficient on-device AI workflows.
  • Cardputer ADV Noobie

    3
    0 Votes
    3 Posts
    1k Views
    O
    @DocDatenschutz I did some reading and it seems that the Cardputer Adv handles the keyboard differently then on the Cardputer, meaning older firmware is unable to sense keyboard input. As far as I am aware, there is no current fix for this issue besides getting new firmware made for the Adv, though it seems like they are currently trying to fix the issue.
  • I found a bug "line_0.set_line_color(0xFF0000, 255, lv.PART.MAIN)"

    1
    0 Votes
    1 Posts
    303 Views
    No one has replied
  • Having trouble with Bluetooth LE on Cardputer

    2
    0 Votes
    2 Posts
    2k Views
    Q
    Hi! Have you been able to solve the problem? If so, please tell me how. I am using the ESP32_BLE_KEYBOARD library, and when I connect my PC/phone via Bluetooth (BLE) to my Cardputer on STAMPS3A, it causes the Cardputer to reboot
  • M5Stack Core2 will not enter download mode

    3
    0 Votes
    3 Posts
    2k Views
    B
    @richardd672 a mi me sale JTAG/serial debug unit no piuerto com dicen que es probelma de firmware
  • M5Stack Tab5 camera supported in Arduino Ide

    2
    1 Votes
    2 Posts
    996 Views
    J
    Bumping this topic, it's months since @AgreeDK asked it and, as far as I know, there's no way to use the Camera in Tab5 with Arduino code
  • M5 Burner cannot Publish with M1 MacBook Pro

    1
    0 Votes
    1 Posts
    475 Views
    No one has replied
  • M5Unified FreeRTOS (ESP-IDF) Application not Compiling

    2
    0 Votes
    2 Posts
    785 Views
    N
    I finally managed to get an application working with graphics and touch on the Tab5. My solution: Removed any reference to managed components in the idf_component.yml files. Clone the M5Unified and M5GFX repositories and put them in the components directory. Added references to CMakeLists.txt for the added components. Application now builds and I have tested the display with the BarGraph anf the TouchTest applications. Hope this helps anyone experiencing the same issue. Regards, Mark
  • M5Burner: Firmware list is empty

    7
    1
    0 Votes
    7 Posts
    4k Views
    G
    @BobPossible same error, any solutions?
  • How to debug Module LLM Kit when it silently dies?

    llm
    4
    0 Votes
    4 Posts
    1k Views
    R
    Ok, it worked finally. At least, I needed to use module_llm.melotts instead of module_llm.tts. The model specification in tts_config doesn't matter for my case. It picks melotts-en-default somehow automatically even though the default value is melotts_zh-cn. The module is very unstable when the controller is powered on. It requires several clicks of the reset button until it finally speaks. (The return value of melotts.inference is -97 when it's successful.)
  • M5Burner Crashes on Open

    2
    0 Votes
    2 Posts
    2k Views
    T
    same issue happened Windows 11 Home 24H2 No updates pending Ryzen 7 9700X 32 GB Ram