A simple wireless rain monitoring system that is compose of one Xbee for transmitting and one for receiving. When the rain sensor outputs digital HIGH, it will be sent to the receiving Xbee and will send an SMS to the indicated phone number.
- 1 LCD with I2C driver
- 2 Xbee S2C
- 1 GSM SIM 900 Module
- 2 Arduino
- Arduino IDE
- GSM 900 Library
- LCD i2c library
const char *phone_number = "09999999"; //Receiver's phone number