Automated gardening controller
M2M forms the basis for elaborate control systems that involve monitoring remote sensors. To demonstrate that, we will build an automated gardening controller using M2M. This will involve monitoring the soil moisture and temperature of a garden, and controlling a water pump and a ventilation system.
Getting ready
You will need the following hardware components for this project:
Two ESP8266 boards
Two USB cables
Soil moisture sensor (https://www.sparkfun.com/products/13322)
220 Ω resistor
10 Ω resistor
10 kΩ resistor
Relay module (http://www.dx.com/p/arduino-5v-relay-module-blue-black-121354)
Water pump (https://www.sparkfun.com/products/10398)
12V power adapter/source
TIP120 NPN transistor
1 kΩ resistor
The first setup will be the sensor hub, which will comprise of an ESP8266 board, a soil moisture sensor, and a DHT11 sensor. Connect a 10 kΩ pull up resistor to the DHT11 data pin, and connect the VCC pin and GND pin of the sensor...