๐Ÿค–Have you ever tried Chat.M5Stack.com before asking??๐Ÿ˜Ž

Subcategories

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

    22 Topics
    35 Posts
    C
    Hi everyone, I am new here. hopefully i can get this dial working with my home assistant. I have a M5 stack dial that is a S3A. While installing this M5 do i need to do anything different than the S3? thanks in advance cue340
  • 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
    anNnYm0usA
    Hi because of the recent firmware update for M5 burner they have dropped the atom ECHO support and now only support ATOM echo lite pls let me know if any of you have the old micropython firmware for the ATOM echo Thanks
  • 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.
  • Image as button

    3
    1 Votes
    3 Posts
    4k Views
    J
    This works great, thanks!
  • Unable to recreate Rock Paper Scissors demo

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Apikey.. M5flow... PuppuC...

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    @jukka-kahkonen To use the API key you need to install the UIFlow firmware using M5Burner. Once installed and the device connects to the wifi, the API key will be shown on the screen. The Puppy firmware was written in Arduino so does not have the api key. BTW the API keys are randomly generated with each new firmware install.
  • Downloading updates - fails

    8
    0 Votes
    8 Posts
    16k Views
    ajb2k3A
    Rhe problem is the main server is/was behind the Great Firewall of China and so with more and more uses trying to access the server, the more often the server will crash
  • M5Stack Core2 function definitions & arguments

    3
    0 Votes
    3 Posts
    4k Views
    ajb2k3A
    I think itโ€™s Xpos, Ypos, width, height
  • Question about servos

    5
    0 Votes
    5 Posts
    6k Views
    ajb2k3A
    Yes and James Briton uses them a lot but I canโ€™t for the life of me remember their name.
  • Anybody can help me translate from arduino to UIFlow ?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @oetzevandenbroek I think you are close. Try M5.Power.setExtPwr(false). Below is how it is defined: /// Set power supply to external ports. /// @param enable true=output / false=input /// @param port_mask for M5Station. ext_port (bitmask). void setExtPower(bool enable, ext_port_mask_t port_mask = (ext_port_mask_t)0xFF); In your case you want to set it as input to the M5Core2. Thanks Felix
  • Timer Camera onboard image processing tutorials

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Looking for M5Stick-C Plus and U8g2 library for ST7789v2 TFT driver

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • M5Stack Unit2 switch mode by sending command in serial port

    5
    0 Votes
    5 Posts
    7k Views
    C
    Getting closer... This is the string to change modes. Function switch Switch between different recognition functions by clicking the navigation bar of the function page or sending JSON commands through Serial Port communication. Note: Except at the end of the sent command string, no line breaks are allowed in other positions. { "function": "Camera Stream", "args": "" } BUT this is what I get in return {"error":"invalid json format."} {"error":"invalid json format."} {"error":"invalid json format."} {"error":"invalid json format."} {"error":"Command is not supported"} {"error":"invalid json format."} {"error":"invalid json format."} Anyone have any ideas? I'm sending the string through a serial termanal. CR,LF
  • 0 Votes
    2 Posts
    4k Views
    teastainT
    @l2m2k2 Hi, this is just demo software for you to see before exploring with your own sketches! You can view the source code for hints programming it yourself. I would not worry about it!
  • COM.X 868 doesn't response in Com Monitor

    m5go
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • ATOM-DTU-NB-IOT no connect to sim7020G Module

    7
    0 Votes
    7 Posts
    8k Views
    felmueF
    Hello @roadfox in case you are still looking for a suitable NB-IoT SIM card. I recently got one from Miotiq which works fine for me. See here for more detail. Thanks Felix
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • 0 Votes
    5 Posts
    6k Views
    T
    was able to get this resolved be removing/re-installing the drivers a bunch of times. Appreciate the assist!
  • M5StickC Driver problem ?

    5
    0 Votes
    5 Posts
    5k Views
    D
    I am a little ashamed, it was not a driver problem. In M5burner I didn't give the information about the wifi which prevented me to burn my M5Stick. It's confusing, the error message is about a port problem. Thank you all for your answers
  • M5Core2 cannot upload failed to write to target RAM

    3
    0 Votes
    3 Posts
    5k Views
    V
    I also encountered the same problem when using M5 core 2. My macOS system version is 10.14.6
  • M5Stick-C display shows the words "Not Found."

    4
    0 Votes
    4 Posts
    5k Views
    H
    try the following: set the stick to power OFF plug in USB (it will automatically power ON) look in M5Burner (or in your computers device manager) if the serial port appears. If not there is a driver issue on your computer or your USB cable might have broken wires (once happened to me) if the port appears burn the factory test or UiFlow I suppose there no need to put the stick in any special mode to burn the firmware. the internal USB chip will do that for you while the programm downloads. Once the UiFlow Firmware is running you have to set the mode for wifi or usb if not already done while burning firmware.