Graph values with comma of gas and water using pulses and TCRT5000

Hi,

I have a problem with reading my gas and water values on the flukso graphs.
They both get their pulses from this sensor: TCRT5000 Infrared Reflective IR Photoelectric Switch Barrier Line Track Sensor
As far as I know they are both working well and creating pulses each time I use water/gas.

When reading the values from the graph (Gas) I see each time values going from "22,235" -> "8,563"
The sensor is reading number 6 of the last red digit after the comma. So everytime it measure a pulse I used 10 liter of gas.
Why do I see values after the comma and even they change with each pulse. I should expect values like 22 -> 15 -> 8 -> 0
Even when I'm not getting pulses it says values like 76 or 36 on the graph where I should expect 0 or at least values like: 0,076 or 0,036
Gas constant: 10
Type gas meter: BK-G6M

The same story with my water pulse:
Water constant: 1
Each silver pulse = 1 liter
Type water water: v200

Thanks to clear this out.

Current situation:
Fluksometer v2b
5 sensors:
- 3 x 50mamp clamps are connected to S1+- S2+- S3+- (configured as 3 phases)
- 1 x TCRT5000 (GAS) getting power of 6a ; 2x DATA connected to S4+- (without using 100ohm 1/4watt resistor)
- 1 x TCRT5000 (WATER) getting power of 6a ; 2x DATA connected to S5+- (without using 100ohm 1/4watt resistor)

Kind Regards,
Frederikvv

gebhardm's picture

The display is an approximation on liters per day - if you switch the unit to liters you see no after comma digits...

Fluc's picture

  1. 1 x TCRT5000 (GAS) getting power of 6a ; 2x DATA connected to S4+- (without using 100ohm 1/4watt resistor)
  2. 1 x TCRT5000 (WATER) getting power of 6a ; 2x DATA connected to S5+- (without using 100ohm 1/4watt resistor)

Willing to see how you put (fixed) these sensors to the gas and watermeter. Have you any pictures ?
I did these with the TCRT5000 on a small pcb with an comparator from china (bought on ebay).
> You can only put here a link to the pictures who are hosted on a picture hosting site or cloud.