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.5k 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.
  • M Offline
    M 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
    • M 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
      • M Offline
        M 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
        • M 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
            • M Offline
              M 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

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                15

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                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