DFRobot Rainfall Sensor

Small-Scale Tipping Bucket Rain Gauge

Set Up

This instrument runs using the I2C interface. On a Raspberry Pi, you will have to enable this type of communication.

  1. In the terminal, type “sudo raspi-config”
  2. Select “Interface Options > I2C”
  3. Select “Enable”
  4. Exit the configuration menu by selecting “Finish”

Next, connect the four wires to GPIO Pins 3, 4, 5, 6

Open DFRobot_RainfallSensor.

  1. Open “python”
  2. Copy the script “DFRobot_RainfallSensor.py”
  3. Open “examples”
  4. Copy the script “read_data.py”

Once you have copied the scripts, begin by running the DFRobot_RainfallSensor.py script, then run “read_data.py” to collect data. If you are uploading the data to the CHORDS server, you will have to insert the proper script into “read_data.py”