Here we have used the SMS service. One of the great advantages of this service is its reliability. Also, there is no limitation in its range. Here we are controlling the water canal pipeline with GSM modem. The gate of the canal is connected with the motor. As per the requirement of the water, we can control the level of the water in the canal just by our SMS. The motors (Tulu pump) are connected with the relay.
The microcontroller reads the SMS arrived in the GSM modem and takes the corresponding action. For example, stop the complete flow of water, we have to use the send the SMS ‘0’, and to open the gate completely we will send the SMS ‘1’. In between these two values, we can have different opening of the gate. In this kit, we are going to explain how to control electrical devices through SMS using a GSM modem and AVR microcontroller.
We are using a GSM modem with TTL output. You can control 4 devices with this code in this article, which can be extended more with similar drivers. We can show LEDs as the output devices. You can easily connect relays in the place of the LED using a relay driver IC ULN2003.