🤖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?

    Scheduled Pinned Locked Moved Bases
    3 Posts 2 Posters 3.0k Views
    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 Offline
      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 Offline
        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 Offline
          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

          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