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. My Project
  3. Analog power meter reading TCRT 5000

Analog power meter reading TCRT 5000

Scheduled Pinned Locked Moved My Project
7 Posts 3 Posters 3.1k Views 2 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.
  • mikeeM Offline
    mikeeM Offline
    mikee
    wrote on last edited by
    #1

    Hi Guys,
    Does somebody have working pulse meter with TCRT5000 on analog power meter (Aluminum rotating wheel). I´m fighting with it right now and I need some help. Do I need to modify the sketch? I´ve adjusted pulse count according to power meter specs. The sensor is on all the time (while white / Al part of wheel) and turns off during the black part of wheel. During on time sends the sensor loooot of impulses, so I had my consumption up to 300 kWh a day and usage up to 100kW. Had someone same issue? Thanks a lot

    mfalkviddM 1 Reply Last reply
    0
    • mikeeM mikee

      Hi Guys,
      Does somebody have working pulse meter with TCRT5000 on analog power meter (Aluminum rotating wheel). I´m fighting with it right now and I need some help. Do I need to modify the sketch? I´ve adjusted pulse count according to power meter specs. The sensor is on all the time (while white / Al part of wheel) and turns off during the black part of wheel. During on time sends the sensor loooot of impulses, so I had my consumption up to 300 kWh a day and usage up to 100kW. Had someone same issue? Thanks a lot

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @mikee this part in the example sketch

            if (interval<500000L) {
              // Sometimes we get interrupt on RISING,  500000 = 0.5sek debounce ( max 120 l/min)
              return;   
            }
      

      stops the sensor from triggering too often. Do you have this part in your sketch? If so, maybe increasing to 1 second or so will take care of the problem?

      1 Reply Last reply
      0
      • mikeeM Offline
        mikeeM Offline
        mikee
        wrote on last edited by
        #3

        Yes I´m using example sketch. So my interval could be up to the fastest theoretical revolution ?

        mfalkviddM 1 Reply Last reply
        0
        • mikeeM mikee

          Yes I´m using example sketch. So my interval could be up to the fastest theoretical revolution ?

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @mikee that's correct

          1 Reply Last reply
          0
          • karlheinz2000K Offline
            karlheinz2000K Offline
            karlheinz2000
            wrote on last edited by
            #5

            Most of these cheap boards do not have any hysteresis and tend to oscillate during output switching.
            Populate a resistor (100k...330k) for hysteresis and remove a capacitor. I my case this did help.
            Unfortunately in German, see the picture:
            https://forum.fhem.de/index.php/topic,54408.msg459962.html#msg459962

            1 Reply Last reply
            1
            • mikeeM Offline
              mikeeM Offline
              mikee
              wrote on last edited by
              #6

              Thanks Guys!
              I have edit the sketch and modified the sensor. Records made during night are finally closer to real situation. I need to correct pulse count.
              @karlheinz2000 - are you using digital or analog output as on FHEM forum? (Danke, fuer Deine Anweisung)

              1 Reply Last reply
              1
              • karlheinz2000K Offline
                karlheinz2000K Offline
                karlheinz2000
                wrote on last edited by
                #7

                I use digital output. The R&C modification works only with digital output.

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


                10

                Online

                11.7k

                Users

                11.2k

                Topics

                113.0k

                Posts


                Copyright 2019 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