🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5stickC Plus2 volume problem

    Scheduled Pinned Locked Moved General
    1 Posts 1 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pmolsen
      last edited by

      I bought 2 M5stickC Plus2 devices and an external speaker hat, MAX98357. When I received them with the factory demo sketch loaded the button press beeps were very loud and could be heard from about 20m away.

      I downloaded the sketch below at the suggestion of the M5Stack AI chat assistant (https://chat.m5stack.com/) to test the beeps. They were very quiet. I changed the volume value from 8 to 255 and downloaded again. Still very quiet.

      #include "M5StickCPlus2.h"
      void setup() {
      M5.begin();
      M5.Speaker.setVolume(8); // Set volume to maximum (0-8)
      (Second version: M5.Speaker.setVolume(255);)
      }
      void loop() {
      M5.Speaker.tone(2000, 300); // Play a tone
      delay(3000);
      }

      I then reinstalled the factory default demo sketch via https://docs.m5stack.com/en/uiflow/m5burner/intro. The button press beeps are quiet and can only be heard from about 5m away.

      I also tried playing various wav files via the external speaker hat. They were almost inaudible from 1m away. Does anyone know what could be wrong please?

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post