Want to build this project?
View Parts


This easy tutorial helps you to control the water used in your garden watering. To do this, we use Arduino and Raspberry Pi to get the best of both.

In this project you will learn how to:

  • Communicate Arduino with Raspberry Pi
  • Read a flowmeter pulses
  • Connect a Raspberry Pi to Carriots to send data streams using Carriots HTTP REST API


Read the tutorial here:



This is the project schema.



On future parts of this tutorial you will learn how to analyze data and to control a valve to automate your gardening.


This is unit we prototyped in our lab:



And the electric schema:



Check the turorial for the source code we used to make it work.


Enjoy it!



Product Name*DescriptionSupplier
Raspberry Pi Model BRaspberry Pi Model BRaspberry Pi model BRaspberry Pi
Buy NowBuy Now
Optical mouseOptical mouseBasic USB optical mouseIONE / Pro Signal
Buy NowBuy Now
Raspberry Pi Power SupplyRaspberry Pi Power Supply120-240v to 5V power supply with micro USB connectorRaspberry Pi
Buy NowBuy Now
KeyboardKeyboardBasic USB keyboardGear Head / A4 Tech
Buy NowBuy Now
Pre-programmed 4GB SD cardPre-programmed 4GB SD card4GB Class 4 SD card preloaded with Debian 6 LinuxSamsung
Buy NowBuy Now
Tiny BreadboardTiny BreadboardSmall breadboardAdafruit
Buy NowBuy Now
10k Ohm Resistor10k Ohm Resistor10k ohm, 250mW carbon film resistorMulticomp
Buy NowBuy Now
Adafruit Pi BoxAdafruit Pi BoxClear acrylic enclosure for Raspberry PiAdafruit
Buy NowBuy Now
Arduino Uno R3Arduino Uno R3Arduino Uno Revision 3 with DIP packaged ATMega328Arduino
Buy NowBuy Now
1 meter USB Cable1 meter USB CableStandard USB A to B cableGC Electronics
Buy NowBuy Now
Jumper wire bundleJumper wire bundleJumper wires for use on breadboardBud Industries
Buy NowBuy Now
SF800 Flow MeterSwissflow SF800 low pressure flow meterSwissflow


*Products and resources listed are listed to help members build their own Pi Projects. They are suggestions and listed for educational purposes. For substitutions of any parts, please post a question asking the original author.