• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Analog I/P sampling rate

    Scheduled Pinned Locked Moved Unipi 1 - HW Q&A
    3 Posts 2 Posters 1.2k 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.
    • R
      RajeshAnnad
      last edited by

      Hello. Im using Unipi 1.1 hardware with Raspberry Pi 3b. I would like to know about the sampling rate of Analog Input channels (AI1 and AI2) so that I can use it accordingly in my program.

      Thanks.

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @RajeshAnnad
        last edited by

        Hello @rajeshannad,
        the ADC chip is MCP3422 which has configurable sampling rate (datasheet). But the sampling rate is not the issue, but rather the fact that the I2C bus is shared with other devices and therefor it is not deterministic.

        Best regards,
        Martin

        R 1 Reply Last reply
        Reply Quote 0
        • R
          RajeshAnnad @Martin Kudláček
          last edited by

          Hello @martin-kudláček, Thanks for the response. I would like to use 12 bit which will enable me the Analog input sampling rate of 240Hz as mentioned in the MCP3422 manual. Is there any way to know how to check if the current ADC resolution is 12 bits? and if it is not the resolution I need, how do I write the configuration register for ADC for 240Hz mode using I2C?
          Any suggestions would be helpful.

          Thanks in advance,
          Rajesh.

          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