🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

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

    23 Topics
    36 Posts
    B
    The link to the PowerHub esphome code returns a 404. Is there another source for the code?
  • 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
    1
    安装删除应用可以安装M5Lancher,自己编写的话建议烧录uflow进行编程
  • M5Stack is programmable with the Arduino IDE. Here you can troubleshoot your issues and share Arduino code and libraries

    470 Topics
    2k Posts
    D
    Just to share what I have done to get the debugging start working. Setup Windows 11 Adruino IDE Version 2.3.9 M5Stack StickS3 Symptom when clicking the Start Debugging button, encounter error messages as follows: Waiting for gdb server to start...[2026-06-07T13:03:42.505Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions. "C:\\Users\\dandu\\AppData\\Local\\Arduino15\\packages\\m5stack\\tools\\openocd-esp32\\v0.12.0-esp32-20251215/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\dandu\\Documents\\M5Stack\\StickS3\\Pong" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f board/esp32s3-builtin.cfg Open On-Chip Debugger v0.12.0-esp32-20251215 (2025-12-15-18:17) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html DEPRECATED! use 'gdb port', not 'gdb_port' DEPRECATED! use 'tcl port' not 'tcl_port' DEPRECATED! use 'telnet port', not 'telnet_port' CDRTOSConfigure Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Info : esp_usb_jtag: capabilities descriptor set to 0x2000 Info : Listening on port 50001 for tcl connections Info : Listening on port 50002 for telnet connections Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: esp_usb_jtag: could not find or open device! Diagnosis It is the driver for USB JTAG/serial debug unit (Interface 2) that causes issue. Reasons Using Zadig, found that the current driver is WINUSB (v10.0.26100.1150) The v10.0.x WinUSB driver is Microsoft's newer inbox driver that Windows sometimes auto-installs. It has been observed to be incompatible with OpenOCD's libusb on ESP32-S3 JTAG, causing exactly the LIBUSB_ERROR_NOT_FOUND error you saw. Visual Micro's own documentation explicitly warns about this: visualmicro Fix install Zadig replace/downgrade driver for USB JTAG/serial debug unit (Interface 2) to WinUSB (v6.1.7600.16385). NOTE: select "Install Driver" by clicking the dropbox on the button. The default option in the dropbox should be "Install WCID Driver" which will not help, it will still be the incompatible v10.0.x driver after Zadig installed the driver. Note on the USB JTAG/serial debug unit (Interface 0), the driver usbser (v10.0.26100.8328) is fine. There are Internet post that suggest replacing it with USB Serial (CDC). No need to make "Start Debugging" working. References IDE 2.3.0 debugging esp32s3 using built-in usb jtag Leveraging ESP32 Built-in JTAG for Advanced Debugging: A Step-by-Step Guide
  • 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.

    366 Topics
    2k Posts
    I attempted to burn the firmware for each version of UIFlow 2.0 Stick Plus on my stickC Plus, but after each firmware was burned, the device failed to boot up and did not respond to any key press.
  • Weird error i get when trying to open the m5burner

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

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • EXT.IO 2 Desktop IDE Compatibility

    2
    0 Votes
    2 Posts
    1k Views
    ajb2k3A
    @ggong No, the Desktop IDE hasn't been updated in a long time as work has been concentrated on the Web IDE.
  • Has anyone gotten MP3 streaming to work on Core2?

    3
    0 Votes
    3 Posts
    2k Views
    W
    I got the sketches to work, They will be posted to the above repo shortly. The key changes from some of the existing code out there that does not work anymore: After WiFi connects, the delay must be increased to at least 1 sec: while ( !WiFi.isConnected() ) delay(100); delay(1000); Preallocating the source buffer seems to be essential: const int preallocateBufferSize = 128*1024; const int preallocateCodecSize = 85332; // AAC+SBR codec max mem needed void *preallocateBuffer = NULL; void *preallocateCodec = NULL; ... // Don't forget to malloc the buffers preallocateBuffer = malloc(preallocateBufferSize); preallocateCodec = malloc(preallocateCodecSize); ... srcbuf = new AudioFileSourceBuffer(file, preallocateBuffer, preallocateBufferSize); ... // Preallocating the MP3 generator doesn't seem to be essential //gen = new AudioGeneratorMP3(preallocateCodec, preallocateCodecSize); You must call M5.begin with the 6th argument false to disable the M5.Speaker code. With this argument, the skeptch will produce audio, but at half speed and half pitch: M5.begin(true, false, true, true, kMBusModeOutput, false); My M5Core2 library version is 0.1.9. I have 2.0.9 of the M5 board. definitions.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • Core2 + Lan Module 13.2 + ENV IV help!

    5
    0 Votes
    5 Posts
    3k Views
    felmueF
    Hello @FlooidOps I am glad to hear you figured it out. And sorry for not being more specific about how to switch to the alternate GPIO. Thanks Felix
  • Official Card Computer Demo App is missing from M5Burner app

    3
    0 Votes
    3 Posts
    2k Views
    grimtechnetG
    @robski oh very cool! I didn't notice that till now, thanks. I see the Cardputer demos there. Unfortunately they are outdated but I'll keep an eye on it
  • M5 Stack Fire does not boot after flashing UI Flow 2.0.6.

    4
    0 Votes
    4 Posts
    2k Views
    ajb2k3A
    @pawinchan After erasing and then burning (that looks like the correct version) Once UIFLow say complete hard resetting, wait for a while and then press the fires power/reset button
  • M5Burner on Manjaro Linux issues with dialout group

    3
    0 Votes
    3 Posts
    3k Views
    grimtechnetG
    Thank you. The button press to get into download mode is what I was missing. (Press and hold BtnGo, then press and release BtnRst and BtnGo) After doing that, I saw ttyACM0 listed in the select box.
  • [M5Paper] An EPub Reader using ESP-IDF

    9
    2 Votes
    9 Posts
    20k Views
    R
    @turgu Hi turgu! I'm looking forward to hearing about the new version of your EPub Reader for M5paper1.1. I specifically registered here to find out how things are going with the port and are you planning to add a new version to M5burner? Good luck and all the best!
  • 0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Create sub functions that each clear and draw a screen and have the main program switch between them.
  • [Solved]M5Stickc Plus 2 - Screen Inactivity

    3
    0 Votes
    3 Posts
    2k Views
    J
    I solved it as follows, in case anyone else has the same issue. analogWrite(BACKLIGHT, 0); delay(20); StickCP2.Power.lightSleep(); greetings to all.
  • M5Stickc Plus 2 - Mac Registry UiFlow

    3
    0 Votes
    3 Posts
    2k Views
    J
    Understand. Thank you very much for the reply.
  • Core S3 - Python SD Card Not Working

    3
    0 Votes
    3 Posts
    2k Views
    felmueF
    Hello @mehulge I can successfully read the directory from the SD card using UIFlow2. UIFlow Project Zone example: M5CoreS3_SDCard_read_dir_UIFlow2.0.4 Thanks Felix
  • M5Tough, MQTT and Home Assistant

    2
    0 Votes
    2 Posts
    3k Views
    F
    https://github.com/SmartHome-yourself/m5-tough-touchmenu-for-esphome?tab=readme-ov-file Source link https://github.com/esphome/feature-requests/issues/2166 For information reference install esphome https://hackmd.io/@LHB-0222/ESPHOME_ESP32_SHTC3 board data https://devices.esphome.io/devices/M5Stack-Fire MQTT https://koen.vervloesem.eu/blog/create-a-dashboard-for-your-mqtt-based-home-automation-system-with-the-m5stack-core-and-homepoint/
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    982 Views
  • Core2 1.1 bootloader and partition table bin files?

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Use M5Burner, erase the firmware first and then burn UIFlow2 to recover.
  • CoreS3 and unit CatM GNSS cannot cooperate

    cores3 catmgnss
    3
    0 Votes
    3 Posts
    3k Views
    J
    Felix @felmue OMG, this was so easy...many thanks, that was the reason why the unit wasn't reacting for any commands. Have a nice day
  • M5StickC Plus2 not booting

    m5stickc plus
    4
    0 Votes
    4 Posts
    7k Views
    robskiR
    can you do ERASE from M5Burner? Can you load any basic Arduino code for M5StickCPlus2 from examples? When you do M5Burner firmware is it for Plus2 stickC - check if by chance it is not Plus version or StickC.
  • Older Core2 - v2.0.1-CORE2 won't install but v1.13.2 will.

    8
    0 Votes
    8 Posts
    6k Views
    ajb2k3A
    I have a first edition Core2 and Core2 AWS and have no issues updating the firmware.