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

    AI conversion

    Scheduled Pinned Locked Moved Unipi 1 - First Generation
    2 Posts 2 Posters 1.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.
    • C
      CKB
      last edited by

      Hi,

      Another time I stumble over the AI input and issues with reading 0-10V signals with the unipi1 and Mervis.
      Is there any FAQ on this because I couldn’t find an FAQ or exemplary project with Mervis and the old unipi1 (but only with neuron, axion etc…) ?
      The reason I ask is the conversion linear by two points. I just replaced my old brightness sensor by a new one which makes me rethink the conversion I am currently using -
      X1 0
      X2 115000
      Y1 0
      Y2 100

      Where do these 115000 come from. Or better question - what is the correct conversion to transform a 0-10V signal to 0-100% with Mervis and unipi1??

      Many thanks&
      Regards
      CKB

      1 Reply Last reply
      Reply Quote 0
      • A
        AVsetula
        last edited by AVsetula

        Hi,

        The best way to calibrate the AI on the Unipi 1.1 is to turn off the transformation for the AI, connect a voltage source with an output of exactly 10 VDC and look at the value on the AI in the Mervis IDE. Remember this value and then insert it as parameter X2 in the two-point linear transformation.

        Set parameter Y2 to 10 if you want to get the voltage value directly, or set to 100 if you want to get the percentage value [%].

        Set both parameters X1 and Y1 to 0.

        In the attached picture you can be inspired by the settings for my Unipi 1.1.

        Unipi11_AI_set.png

        Have a nice day
        Regards

        Antonín Všetula,
        Technican

        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