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

    ATOMIC SPK Base (NS4168) UIFlow2 examples?

    Bases
    2
    3
    663
    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.
    • R
      rodrigob
      last edited by

      Hello,
      is there an example of using the ATOMIC SPK Base (NS4168) in UIFlow2 ?

      Screenshot from 2024-11-28 21-53-28.png

      I configured the I2S pins following the pins indicated at the bottom of https://docs.m5stack.com/en/atom/Atomic SPK Base
      using Atom matrix, however I have not managed to get any audio out.

      ( I also read the "Atomic SPK Base Some IO conflict with ATOM Matrix's built-in hardware, soAtomic SPK Base is only applicable to ATOM LITE/ATOMS3 LITE" warning, but looking at the schematics and the pin-compatibility table unclear what that problem could be.)

      Thanks for your help.

      R 1 Reply Last reply Reply Quote 0
      • R
        rodrigob @rodrigob
        last edited by

        Solution found!

        Looking around at examples in https://docs.micropython.org/en/latest/library/machine.I2S.html
        I noticed that the I2S "id: identifies a particular I2S bus; it is board and port specific" was set to 2.

        Changing "I2S port" from 0 to 2, and keeping everything else the same; made things work.

        1 Reply Last reply Reply Quote 0
        • P
          peolsolutions
          last edited by

          The ATOMIC SPK Base (NS4168) with UIFlow2 is compatible with various example projects for robotics and IoT. You can find UIFlow2 examples on the official Atomic Pi documentation or their GitHub repository for ready-to-use sample codes.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post