Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Is there an easier way to compare the voltages of these two sensors?

Is there an easier way to compare the voltages of these two sensors?

Scheduled Pinned Locked Moved Hardware
3 Posts 3 Posters 1.3k Views 3 Watching
  • 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.
  • longkkeL Offline
    longkkeL Offline
    longkke
    Banned
    wrote on last edited by mfalkvidd
    #1

    I have a task that I have two sensors,which bought from http://www.xxx.com/Detail/1169820/LM77CIMM-3NOPB.html each, reading a voltage value. I need a circuit to output 1 if the difference between the two readings is smaller than 10% and 0 otherwise.

    I can solve it both analogic or digitally. Since I have more experience dealing with digital circuits than analogic ones, I thought about doing the following: Convert the readings to binary and build a circuit which basically uses the formula | (V1 - V2) | / ((V1 + V2)/2) ) and compares it with 0.1. I think there is an easier way of solving this and wanted some help to find it.

    Any help will be greatly appreciated.
    Great regards,
    Longkke

    EDIT: removed kynix spam link

    1 Reply Last reply
    0
    • pansenP Offline
      pansenP Offline
      pansen
      wrote on last edited by
      #2

      Smaller than 10% of what? 10% of value A will be different than 10% of value B.

      The part you posted is an I2C temperature sensor, not sure what you mean by "reading a voltage value" therefore.

      Orange Pi Plus 2e connected to nrf24 PA via SPI running git-development MySensors gateway, OpenHAB2, mosquitto and MySQL persistence.

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by hek
        #3

        Above question comes from a spam bot.

        See: http://electronics.stackexchange.com/questions/235276/digital-circuit-to-compare-two-voltages/235279
        (their bot seem to suck up questions from electronics.stackexchange.com, insert their links and post to forums)

        If we see any more questions with Kynix-links, I'll just delete the new accounts. The @longkke user will be kept and banned for reference. I hope this will help other forums identifying Kynix as a SPAM cooperation.

        1 Reply Last reply
        5
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        11

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular