User Tools

Site Tools


atmos:citation:instruments:dfrobot:home

This is an old revision of the document!


DFRobot Rainfall Sensor

Small-Scale Tipping Bucket Rain Gauge

picture

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

  • 3 - Green Wire
  • 4 - Red Wire
  • 5 - Blue Wire
  • 6 - Black Wire

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”

atmos/citation/instruments/dfrobot/home.1775772952.txt.gz · Last modified: 2026/04/09 22:15 by ashley.vos