Control GSM Project With Mobile App | Arduino | SIM800L | SIM900A | GSM Smart Home App

by Levinvo in Circuits > Arduino

312 Views, 3 Favorites, 0 Comments

Control GSM Project With Mobile App | Arduino | SIM800L | SIM900A | GSM Smart Home App

Control GSM Project With Mobile App | Arduino | SIM800L | SIM900A | GSM Smart Home App

This project is for people who hesitate to type and read messages with GSM-based projects. Using GSM Smart Home app, the user does not need to type or read messages all things are automated. This app simply manage your project with a single click. I describe how this app is configured with GSM-based projects. In this project, I used Arduino language. You can also use any other language. To help you get started with the GSM Smart Home app, I include an example GSM based home control project with four devices and four sensors at the last step. This example demonstrates how easily the app integrates with your GSM-based projects, offering a hands-on guide to managing devices and sensors.


Supplies

Group 2.png

Arduino Nano

SIM800L GSM Module

4-Channel Relay Module

DHT11 Temperature and Humidity Sensor

MQ-2 Gas Sensor

Rain Sensor Module

Soil Moisture Sensor

LM2596 DC-DC buck converter

Power Supply 5V/1A

Power Supply 5V/2A

Create User Profile

Group 61.png

This app has a user profile to secure your system. you can create your profile in the app.

These details are used for local authentication like app lock.

you can lock your application but can't log anyone without the correct details. you can see an app lock icon on the home page and settings page to lock this app.


Create Home Profile

step 1 1.png

This interface for making connection with your GSM project.

In the first input field, you can enter the name of the home that you like. Second input field, you have to enter the security key of the home. The security key means apps can send secure messages assigned with a security key to prevent unauthorized access to your project. Also, this security key you have to mention in your project code to check incoming messages.

In the third input field, a user has to enter the number of the sim card in the GSM Module. This number is used to send command messages to the relevant system.

Add Single Device

step 2.png

First, click the floating action button to view the popup menu.

In the pop-up view user can select the device image by scrolling the image list horizontally.

And have to type the device name then you can press the add button. In the system code, you need to check incoming messages like in the image for the device On or Off.

The message format is begging with security key then the device name with "_" and the last "on" or "off" status as looks like an image.

Also, need to add this device name and device status variable to pass the system as a reply message to update the device status on the app side. Use this format to mention the device name and value to look like the image.

Add Single Sensor

Group 60.png

First, click the floating action button to view the popup menu. In the pop-up view user can select the sensor image using a scrolling image list horizontally.

And have to type the sensor name then you can press the add button. In the system code, you have to include a function to read the sensor value.

Then you need to add this sensor name and sensor value variable to pass the system as a reply message to update sensor values on the app side. On the system side, you can send sensor values digital or analogue type using numbers or strings.("37","20.5","High","Low")

Use this format to mention the Sensor name and value to look like the image.


Example System

Group 95.png

This is an example project of how this app works with GSM-based projects.

In the device page, I added four devices Bulb, Alarm, Fan and Bulb 2, in the image view, I added all devices to relay modules.

On the sensor page, I added four sensors Temperature, Rain, Gas and Soil. In system code also includes all devices and sensor details.

In the hardware part, Specially I want to mention GSM module requires 2A power 4.3 v you should use a separate power supply to power up it. And used a DC-to-DC buck converter to customize voltage.

If you can use any number of devices and sensors of your choice. This app can handle any project with great scalability.

In the video, you can see all the details of how the system works with an app.


Download mobile app: Click here


Components

  1. Arduino Nano
  2. SIM800L GSM Module
  3. 4-Channel Relay Module
  4. DHT11 Temperature and Humidity Sensor
  5. MQ-2 Gas Sensor
  6. Rain Sensor Module
  7. Soil Moisture Sensor
  8. LM2596 DC-DC buck converter
  9. Power Supply 5V/1A
  10. Power Supply 5V/2A


Pin Connections

  1. Gas pin 3
  2. DHT pin 11
  3. Rain pin 12
  4. Soil pin A2
  5. Fan pin 5
  6. Bulb pin 6
  7. Pump pin 9
  8. Buzzer pin 10
  9. sim800l RX > 8 Arduino
  10. sim800l TX > 7 Arduino


Codes & Library files: Click here