🤖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.
  • M5burner on windows7 cannot flash

    28
    0 Votes
    28 Posts
    104k Views
    Ariane98A
    @ariane98 It works now, after some minor changes Thanx again
  • M5Stack Software 32 Bit or 64 Bit?

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • cant download m5burner

    5
    0 Votes
    5 Posts
    11k Views
    H
    @mati Thanks alot. Finally burnt the new beta version.
  • M5Burner on Linux?

    2
    0 Votes
    2 Posts
    6k Views
    OyczEO
    hmm in download you have https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner_Linux.zip
  • Visual Studio Code (VS Code) reboots my M5Stack with any action

    2
    0 Votes
    2 Posts
    6k Views
    T
    To whoever faces same problem - I found solution for win10. Problem is, UIFlow offline installs wrong/incorrect drivers, but as they are signed by Microsoft, Windows treats them as correct ones. UIFlow works fine, but VS won't connect to M5Stack properly. Boot into safe mode, plug in M5Stack and find COM (Silicon labs) device. Right click and remove it, what is important, press checkbox with "Remove associated with device drivers" which appears only in safe mode for me. Now disconnect USB, download latest drivers from M5stack.com and install them normally. This solved issue for me
  • How to use Back Buffer for drawing ?

    8
    0 Votes
    8 Posts
    17k Views
    lukasmaximusL
    Hi @Thrasher, did you take a look at those libraries? you still didn't mention what it is that you want to do. There is also the framebuf library that may help, search framebuf.py on github
  • Does M5Stack support event-driven programming?

    5
    0 Votes
    5 Posts
    8k Views
    T
    @jerry_fuyi I suggest you to add some random logic blocks and then see it in python code - will be much easier to understand mechanics. Ofcourse, coding hardware is useless without event triggers most of time
  • M5stick-c - Hat ENV no Grove with UIflow Blocky.

    3
    0 Votes
    3 Posts
    5k Views
    ajb2k3A
    @davidiot I have done this recently in testing for another member. I will post up a picture of my code tonight when I get back to the office
  • Suggestions on why M5Stack Fire MPU9250 doesn't always work...

    4
    0 Votes
    4 Posts
    9k Views
    Y
    Can show an example?
  • Last beta-version UIFlow can't be downloaded

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • M5StickC AXP I2C

    3
    1 Votes
    3 Posts
    10k Views
    O
    Hi, you can find the datasheet here. It is in Chinese but Google translate does a pretty decent job so we can understand almost everything. You can also have a look a register 36h where you can modify long/short press times. Be careful, this button is used to power-on/off the device
  • M5StickC Button B

    2
    0 Votes
    2 Posts
    5k Views
    ajb2k3A
    How are you enabling it?
  • Connecting M5CAM to WiFi in STA mode

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

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • IoT M5Cam Project - problems porting code

    4
    0 Votes
    4 Posts
    8k Views
    M
    Guess what? I hit another wall. It seems the camera is giving trouble, despite me configuring the pins as here: [image: 68747470733a2f2f6d35737461636b2e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f696d6167652f6d352d646f63735f7461626c652f63616d6572615f636f6d70617269736f6e2f43616d65726150696e436f6d70617269736f6e5f656e2e706e67] E (218) camera: Camera probe failed with error 0x20001 ESP_ERROR_CHECK failed: esp_err_t 0x20001 (ERROR) at 0x4008a228 0x4008a228: _esp_error_check_failed at /home/marta/esp/esp-idf/components/esp32/panic.c:721 file: "/home/marta/Arduino/esp32-cam-ai-thinker/examples/google_storage/main/main.c" line 195 func: app_main expression: esp_camera_init(&camera_config) config XCLK_FREQ int "XCLK Frequency" default "20000000" help The XCLK Frequency in Herz. menu "Pin Configuration" config D0 int "D0" default "32" config D1 int "D1" default "35" config D2 int "D2" default "34" config D3 int "D3" default "5" config D4 int "D4" default "39" config D5 int "D5" default "18" config D6 int "D6" default "36" config D7 int "D7" default "19" config XCLK int "XCLK" default "27" config PCLK int "PCLK" default "21" config VSYNC int "VSYNC" default "25" config HREF int "HREF" default "26" config SDA int "SDA" default "4" config SCL int "SCL" default "13" config RESET int "RESET" default "15" endmenu
  • M5 burner not working on Macos X

    40
    0 Votes
    40 Posts
    193k Views
    L
    @ajb2k3 Thank you, very helpful information!
  • Dual-Boot for M5Stack - possible?

    uiflow arduino ide bootloader dual-boot
    1
    0 Votes
    1 Posts
    7k Views
    No one has replied
  • M5GO Starter Kit not connecting to Wifi

    3
    1 Votes
    3 Posts
    6k Views
    m5-docsM
    @robertwray Does your device connect flow.m5stack.com successfully?
  • [Solved]My M5Go can't connect to flow.m5stack.com

    5
    0 Votes
    5 Posts
    10k Views
    m5-docsM
    Server hangs
  • M5Stack Offline Mode UI

    Moved
    11
    1 Votes
    11 Posts
    34k Views
    m5-docsM
    @yurikleb Thank you! I already heard of little lvgl. But May be a long time later about adding it.