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

Subcategories

  • 552 Topics
    2k Posts
    O
    Dear M5stack team, i've been using the SC850SL to get images and it works great:)) However currently im running it at full resolution. I noticed in the datasheet of SC850SL that it has a 2x2 binning mode to output 1080p with full FOV. Is it possible to implement this function? I think this would require a new init table? Best regards, Oxidane
  • When you meet problems using M5Stack, we help you solve it.

    201 Topics
    990 Posts
    S
    不小心下载了一个imu什么的……咔咔一顿后……我关了重新开……,但还是不会动,只会左右动,然后跳舞的话只会亮灯,不会动,只能左右转动……
  • 506 Topics
    2k Posts
    F
    Yesterday, using the M5paper S3 to create a project for the Global Innovation Contest 2026 detected an issue with the screen of the M5paper. A horizontal line is crossing the screen, it seems a line of the screen is broken (it's not changing to other color). I changed the firmware, uploaded C Arduino code and then micropython and the issue persists (it's not a software problem) I linked down below two photos of the screen. Does anyone have the same issue? [image: 1782510887123-line1_small.jpg] [image: 1782510903828-line2_small.jpg]
  • 1k Topics
    6k Posts
    L
    If you're planning to use an external 1S LiPo with the M5Core2 through BUS pins 1 and 30, it's worth checking the board schematic first. The community confirmed that pin 30 is directly connected to VBAT, so an external battery with the same voltage can work. One important tip is to avoid connecting two rechargeable batteries in parallel without proper protection. Discussions like this are why I keep coming back to the M5Stack community, and even Laptop Giant enjoys following practical hardware insights like these.
  • 55 Topics
    203 Posts
    J
    I have been able to get a program to work that uses the M5EchoBase library but no luck using the unified library. For example the simple program below doesn't work. #include <M5Unified.h> void setup() { // 1. Initialize M5Unified delay(1000); // Delay for a moment to allow the system to stabilize. auto cfg = M5.config(); cfg.serial_baudrate = 115200; M5.begin(cfg); // 2. Configure the Speaker for the Atomic Audio Base (ES8311) // We access the speaker configuration directly via M5.Speaker.config() auto spk_cfg = M5.Speaker.config(); // Set pins for Atomic Audio Base (ES8311) spk_cfg.pin_bck = 8; // BCLK spk_cfg.pin_ws = 6; // LRCK (WS) spk_cfg.pin_data_out = 5; // DAC (DOUT) spk_cfg.i2s_port = I2S_NUM_0; // Configure for external codec (not internal DAC) spk_cfg.use_dac = false; spk_cfg.sample_rate = 44100; // Apply the configuration M5.Speaker.config(spk_cfg); // 3. Start the speaker M5.Speaker.begin(); // 4. Set volume (0-255) M5.Speaker.setVolume(128); } void loop() { M5.update(); // Play a 1000 Hz tone for 1000 milliseconds (1 second) M5.Speaker.tone(1000, 1000); // Wait for the tone to finish delay(1000); // Small delay before next loop delay(1000); } Is there no way to set up the ES8311 codec without using M5EchoBase? strangely if I run the program below then load the above program the tone works? But I can't stick the M5.Speaker.tone(1000, 1000); command in the program below and have it work. Does anyone know how to play a tone using only the Unified library from an AtomS3R into a Atomic Audio Base (ES8311 codec)? #include <M5Unified.h> #include <M5EchoBase.h> #if defined(CONFIG_IDF_TARGET_ESP32S3) #define RECORD_SIZE (1024 * 400) #elif defined(CONFIG_IDF_TARGET_ESP32) #define RECORD_SIZE (1024 * 400) #endif #if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)) M5EchoBase echobase; #else M5EchoBase echobase(I2S_NUM_0); #endif static uint8_t *buffer = nullptr; // Pointer to hold the audio buffer. void setup() { delay(1000); // Delay for a moment to allow the system to stabilize. auto cfg = M5.config(); cfg.serial_baudrate = 115200; M5.begin(cfg); // Initialize the EchoBase with ATOMS3 pinmap. #if defined(CONFIG_IDF_TARGET_ESP32S3) if (!echobase.init(44100 /*Sample Rate*/, 38 /*I2C SDA*/, 39 /*I2C SCL*/, 7 /*I2S DIN*/, 6 /*I2S WS*/, 5 /*I2S DOUT*/, 8 /*I2S BCK*/, Wire) != 0) { Serial.println("Failed to initialize EchoBase!"); while (true) { delay(1000); } } #elif defined(CONFIG_IDF_TARGET_ESP32) // Initialize the EchoBase with ATOM pinmap. if (!echobase.init(44100 /*Sample Rate*/, 25 /*I2C SDA*/, 21 /*I2C SCL*/, 23 /*I2S DIN*/, 19 /*I2S WS*/, 22 /*I2S DOUT*/, 33 /*I2S BCK*/, Wire) != 0) { Serial.println("Failed to initialize EchoBase!"); while (true) { delay(1000); } } #endif echobase.setSpeakerVolume(80); // Set speaker volume to 70%. echobase.setMicGain(ES8311_MIC_GAIN_0DB); // Set microphone gain to 0dB. buffer = (uint8_t *)malloc(RECORD_SIZE); // Allocate memory for the record buffer. // Check if memory allocation was successful. if (buffer == nullptr) { // If memory allocation fails, enter an infinite loop. while (true) { Serial.println("Failed to allocate memory :("); delay(1000); } } Serial.println("EchoBase ready, start recording and playing!"); // M5.Speaker.tone(2000, 2000); // delay(2000); } void loop() { Serial.println("Start recording..."); // Recording echobase.setMute(false); echobase.record(buffer, RECORD_SIZE); // Record audio into buffer. delay(100); Serial.println("Start playing..."); // Playing echobase.setMute(false); delay(10); echobase.play(buffer, RECORD_SIZE); // Play audio from buffer. //M5.Speaker.playRaw(buffer, RECORD_SIZE, 44100, false, 1, 0); delay(100); }
  • For topics on the M5Stack Atom.

    260 Topics
    849 Posts
    K
    After a lot of testing and searching it became apparent that the M5Atom controller did not work properly (never had this type of problem before). This, outdated software and some wrong suggestions by both ChatGPT and the AI bot from M5Stack (with the knowledge base available) made it a bit of struggle. However, after all updates and testing different hardware it finally works again. So thanks to anyone that spent time on this!
  • Retain WLAN config

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • M5Paper and WLAN

    2
    0 Votes
    2 Posts
    6k Views
    SkinkS
    have now checked it with the second M5Paper but this can also log on to the WLAN and also syncronize. But just the first time, then I am also with this an active connection on the M5Paper displayed but in the WLAN of the router but he is grayed out (so no longer connected) and a second syncronisieren fails!
  • Question about motor controller

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • IIOT-Dual Switch datasheet

    5
    1
    1 Votes
    5 Posts
    8k Views
    L
    @m5stack I will use this module too, and need more informations. Can you provide schematic for this circuit? what relay do you use?
  • Are all grove connectors made equal?

    3
    3
    0 Votes
    3 Posts
    12k Views
    innovationsmakerI
    @ajb2k3 Thank you for the detailed explanation!
  • Noise on speaker

    16
    0 Votes
    16 Posts
    60k Views
    L
    @calin Thanks! Precision: dacWrite (25,0); must be in the void loop
  • 0 Votes
    4 Posts
    10k Views
    MattMM
    @mattm said in Bala2 example code will compile but running the code does not progress past calibration.: m5stack-grey =====> m5stack-grey
  • M5StickV Failed to Init Yolov3

    2
    0 Votes
    2 Posts
    3k Views
    m5stackM
    We are fixing this problem. thank feedback
  • StickC Speaker Hat noise

    2
    0 Votes
    2 Posts
    3k Views
    m5stackM
    I am very sorry to let you have such an experience, We will upgrade this product in the future to reduce noise.
  • M5Stick-C Battery Status?

    3
    0 Votes
    3 Posts
    11k Views
    R
    I made custom block for UiFlow, there is also code in python. You shouldn't have problem with convert it to C language. https://github.com/stonatm/UiFlow-custom-blocks/tree/master/battery-capacity
  • Disconnect speaker

    3
    0 Votes
    3 Posts
    7k Views
    world101W
    @tialm Or you can try this as well: https://community.m5stack.com/topic/367/mod-to-programmatically-disable-speaker-whine-hiss
  • Core2 schematics

    8
    0 Votes
    8 Posts
    15k Views
    felmueF
    Hi Uwe You are welcome! I am using Visual Studio Code / PlatformIO (platform: espressif32; framework: arduino). Which is similar to the Arduino IDE. Cheers Felix
  • How to identify hardware revisions of the ATOM Echo

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Servo type Digital/Analogue

    8
    0 Votes
    8 Posts
    11k Views
    world101W
    @guit said in Servo type Digital/Analogue: I have done the same mistake. Is it possible to control the speed? and the rotation direction? Yes, with the 360 servo, this flow will rotate both directions at varying speeds. 1500 is the stop point. Values below 1000 or above 2000 didn't seem to affect the speed. Clockwise: 1000 (fast) to 1400 (slow), then 1500 (stopped) Counter-clockwise: 1500 (stopped), then 1600 (slow) to 2000 (fast) [image: 1599094379833-screen-shot-2020-09-02-at-8.48.03-pm-resized.png]
  • AtomicGPS speed of movement - unit of measurement?

    3
    0 Votes
    3 Posts
    9k Views
    world101W
    @macle Hi. I don’t have the AtomicGPS, but I did some digging around to try to understand the speed measurement within the GPSAnalyse.cpp file. I see this in that file relating to speed: _s_GNRMC.TrackSpeed = _s_GNRMC.pamstr[7].toFloat(); Doing a quick google search on “GNRMC speed” I found this source that says GNRMC ground speed is in knots. Doing the conversion between knots and kph (1 knot = 1.852 kilometers per hour), it seems about right that the GPS is reporting a speed measurement that is roughly half of your vehicle speed in kph (0.54 to be exact!). Hope this helps!
  • Atom Light/Atom Matrix and Hats with Atom-Mate!!

    3
    0 Votes
    3 Posts
    6k Views
    SkinkS
    Thanks for the tip. Unfortunately I am not that involved in micropython. Will there be a UIFlow version in the future where you can connect the Atom Light or Matrix with Hats provided you have the Atom-Mate !
  • ATOM StepMotor Kit

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    I'm waiting for mine to arrive and then I will have a demo available.
  • Battery dead on arrival

    5
    0 Votes
    5 Posts
    7k Views
    felmueF
    Hello @m5stack thanks, I actually might just do that. Felix
  • MPU6886 not recognized in Atom Matrix

    3
    0 Votes
    3 Posts
    5k Views
    m5stackM
    just contact the store.
  • M5 Atom Neopixel display errors

    3
    0 Votes
    3 Posts
    6k Views
    R
    I also noticed randomly short blinks (on the red or blue color) random leds while data was transfered/displayed to/on matrix. But i used builtin library neopixel. There is a question: rgb class is independent of neopixel library or is "wrapper" to neopixel.