Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Rodrigo Piedade
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Rodrigo Piedade

    • RE: Possible mistake in the code of the exemple DustSensorDSM

      Corrections of the post:
      ratio= 1.1pow(concentrarion,3)-3.8pow(conccentration,2)+520*concentration+0.62
      the graph
      123.jpg

      posted in Troubleshooting
      Rodrigo Piedade
      Rodrigo Piedade
    • Possible mistake in the code of the exemple DustSensorDSM

      The code shows that the concentration can be calculated by the expression:
      long concentration = 1.1pow(ratio,3)-3.8pow(ratio,2)+520ratio+0.62; // using spec sheet curve
      But the sheet curve, as we can see in the graph, we have the concentration in the x axis, not in y as in the code:
      ratio= 1.1
      pow(ratio,3)-3.8pow(ratio,2)+520ratio+0.62
      I didn't understand why, in every code i see of this sensor, is the same. Can someone explain?
      If it is a dumb question, sorry, but help me please.
      The graph of data sheet.
      ![0_1607407293081_1da48a38-62da-4af6-a352-a1cbd79b2201-image.png](Uploading 100%)
      @epierre

      posted in Troubleshooting
      Rodrigo Piedade
      Rodrigo Piedade