Navigation

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

    Best posts made by zampedro

    • RE: sensors stop working after time

      @Reza I implemented your sketch, tried to start/stop(up to a few hours) the gateway(serial gateway) and the controller(domoticz on orangepi pc) to see if the logs help in some way. Nothing, it works.
      It should be logged until the freeze occurs.

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: i have problem in gas sensor

      @Reza
      there are two problems with MQ-2 sensors :
      1 the sketch, at the bottom, uses log instead of log10
      2 are you sure that RL_VALUE is 5 (kOhm) in your MQ-2 board? In my is 1, the one labeled 102 in the pic.

      Regards
      0_1482682330215_mq-2_modules.jpg

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: i have problem in gas sensor

      1 look at the last line of the sketch:

        return (pow(10, ( ((log(rs_ro_ratio) - pcurve[1]) / pcurve[2]) + pcurve[0])));
      }``
      

      change to:

        return (pow(10, ( ((log10(rs_ro_ratio) - pcurve[1]) / pcurve[2]) + pcurve[0])));
      }``
      

      2 RL_VALUE in your MQ2 board should be 1 (kohm), R2 in the schematic.
      0_1482692240236_mq2-sch.jpg

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: i have problem in gas sensor

      yes, R2 is 1k. Change RL_VALUE from 5 to 1.
      0_1482728855950_mq2_a.JPG

      I suggest you use the MQ-2 sensor library https://github.com/xerlay11/MQ-2-sensor-library and obviously change log and RL_VALUE.
      Regards

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: sensors stop working after time

      Which MySensors library are you using?
      With 2.0 i had the sleep issue solved (for now) with MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC(as suggested by tekka).

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: DHT22 and DS18b20 on same node: DS shows up with Humidity now.

      @AWI Thanks for the hint.
      I thought this wasn't a "issue" but just a "really annoying thing".
      However i run domoticz on a Orange PI PC with WiringOP support and i can't find precompiled images.

      posted in Troubleshooting
      zampedro
      zampedro
    • RE: i have problem in gas sensor

      It should be enough to read ppm from the sensor.

      posted in Troubleshooting
      zampedro
      zampedro