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

    M5Stack - Base - Node - Testcode

    Modules
    2
    5
    11.1k
    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
      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
        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
          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
            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
              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
              • First post
                Last post