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

    M5Stack - Base - Node - Testcode

    Scheduled Pinned Locked Moved Modules
    5 Posts 2 Posters 13.3k 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.
    • MrTarantlM Offline
      MrTarantl
      last edited by

      Here is some testcode for everybody to get started in Platformio (Arduino)

      https://github.com/captFuture/M5Stack---EnvNode

      • Unfortunately i could not get the i2S Dac output to work yet, maybe someone has a clue.

      Don't just talk... create and make

      mickM 1 Reply Last reply Reply Quote 0
      • mickM Offline
        mick @MrTarantl
        last edited by

        @mrtarantl

        Hello MrT,

        Any luck with getting audio up and running on the NODE?

        Cheers
        M

        1 Reply Last reply Reply Quote 0
        • MrTarantlM Offline
          MrTarantl
          last edited by

          Sorry - not yet - i would need some help there - i have the audio libraries in place and the pins should be correct but when playing testsounds i only hear squealing noises :(

          Don't just talk... create and make

          1 Reply Last reply Reply Quote 0
          • MrTarantlM Offline
            MrTarantl
            last edited by

            I was trying hard to get this working yesterday and used the sample from http://forum.m5stack.com/topic/143/lesson-6-1-speaker-mp3-player/2

            Tried to reconfigure the dac output by changing the following according to the information here https://docs.m5stack.com/#/en/base/node_base

            out = new AudioOutputI2S(0,0);
            //#define I2S_WS 13 //LRCLK - Frame clock
            //#define I2S_BCK 5 //BCLK - Bit clock
            //#define I2S_IN 2 //DACDAT - Serial data input.
            //SetPinout(int bclk, int wclk, int dout)
            out->SetPinout(I2S_BCK, I2S_WS, I2S_IN);
            out->SetOutputModeMono(true);
            mp3 = new AudioGeneratorMP3();
            playing = true;
            mp3->begin(id3, out);

            but no luck -> the file still got played through the internal speaker.
            Maybe somebody has a clue how to proceed

            Don't just talk... create and make

            1 Reply Last reply Reply Quote 0
            • MrTarantlM Offline
              MrTarantl
              last edited by

              Sorry, i have to give up on this. Something strange happened yesterday.
              After getting quite bad sound quality out of the node module i did something else and suddenly i heard a bang, followed by a strange smell.
              After unplugging and disassembling i found at least one capacitor dead in the module.

              Pcb

              Have not decided if i salvage some parts or try to get at least the leds and the IR back into function ... currently it is just heating up when i power it.

              Don't just talk... create and make

              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