SEN0575 - Tipping Bucket Rainfall Sensor - I2C - Returns 0.00mm all the time

userHead rondom 2023-12-20 04:11:34 299 Views1 Replies

I've recently added the SEN0575 Tripping Bucket Rainfall Sensor to my Arduino.

 

After connecting via i2c and setting up a demo sketch i begann to test.

I could successfully read the uptime and the Working time as mentioned in the example, so i thought, nice everything is working.

I move to a rain testbench, adjusted the code a bit so i can see the values returned by the arduino in my grafana dashboard.

I get the following Information from the library and send them to mqtt broker, sensorrunning time, rainfall without any argument, rainfall for 1h and rainfall for 24h.

Just to test right. Everything looked right and good to go.

 

I started drippin water on the sensor and it immediately start to count, also i could see the raw counts increasing in the sensor readout.

But sadly it is the only figure moving at all. All other functions just return 0.00, even after getting 5k counts on the raw after a heavy rainfall. The measurement stays 0.00.

 

Is my sensor bad, or maybe the driver board? Anyone a idea?

2024-08-10 22:42:39

It's a bit late for a reply but here goes…

 

I had the same problem as you when I inadvertently set the SEN0575_I2C_REG_RAW_BASE_RAINFALL

register value to zero. This register seems to act as a multiplier to the raw bucket counter to give the rainfall in mm. So it's possible to dynamically change the rainfall amount by writing different values to it. The default in the example code is 0.28 (mm/count).

 

Anyway that's one possibility which should be easy to fix by writing a new value to the register. There's a function in the example code that does that.

 

Hope you got it working eventually!

userHeadPic Paul.Smith9365