===== DFRobot Rainfall Sensor ===== ==== Small-Scale Tipping Bucket Rain Gauge ==== {{:atmos:citation:instruments:dfrobot:screenshot_2026-04-09_211131.png?200|}} {{:atmos:citation:instruments:dfrobot:screenshot_2026-04-09_211101.png?200|}} {{:atmos:citation:instruments:dfrobot:screenshot_2026-04-09_211217.png?200|}} {{:atmos:citation:instruments:dfrobot:screenshot_2026-04-09_211047.png?200|}} === Set Up === This instrument runs using the I2C interface. On a Raspberry Pi, you will have to enable this type of communication. - In the terminal, type "sudo raspi-config" - Select "Interface Options > I2C" - Select "Enable" - 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 [[https://github.com/DFRobot/DFRobot_RainfallSensor/tree/master|DFRobot_RainfallSensor]]. - Open "python" - Copy the script "DFRobot_RainfallSensor.py" - Open "examples" - 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"