Setting up the hardware
In this project, we are going to use two analog sensors, two digital sensors, and a webcam to take the pictures. The analog sensors are connected to two different ADC channels inputs (as in the previous chapter). The contactless external temperature sensor uses an I2C bus to communicate with the BeagleBone Black, while the waterproof internal temperature sensor uses a 1-Wire bus. Finally, the webcam is connected via the USB bus.
As in the previous chapter, I can add some actuators to flood water the plant and so on; but due to lack of space, I decided to leave these tasks to the reader as an exercise.
Connecting the moisture sensor
The moisture sensor is the device shown in the following image:
Note
The device can be purchased from http://www.cosino.io/product/moisture-sensor, or by surfing the Internet.
The user guide of this device is available at http://seeedstudio.com/wiki/Grove_-_Moisture_Sensor.
This device is quite similar to the water sensor presented in Chapter...