Built to order

GSM-Based Home Automation with SMS Control and Feedback (Arduino)

This project builds a GSM-based home automation system that switches four home loads on and off by SMS, using an Arduino Uno, a SIM800L GSM module and a 4-channel relay board. The owner texts a short command such as LIGHT1 ON, the Arduino checks the sender against an authorised-numbers list, switches the matching relay, and replies with a feedback SMS confirming the new state. It needs no Wi-Fi, no app and no internet, so it works from any phone with a 2G signal. Suitable for B.E./B.Tech final-year projects in Electrical, Electronics and IoT & Embedded.

Chat on WhatsApp — get a quotation

Electrical Arduino UnoSIM800L GSM moduleArduino IDE · Embedded CLM2596 buck converterBreadboard · jumper wiringAT commands SMS control230 V AC relay switchingHardware
GSM-Based Home Automation with SMS Control and Feedback (Arduino) — project thumbnail preview
More project photos (3)

The problem

The GSM-Based Home Automation with SMS Control and Feedback (Arduino) lets a homeowner switch four home loads on and off by sending a text message from any mobile phone. A SIM800L GSM module fitted with a 2G SIM receives the SMS, an Arduino Uno reads it over UART, checks the sender against a saved list of authorised numbers, and drives the matching channel of a 4-channel relay board that switches a 230 V AC load. After every action the system sends a feedback SMS confirming the new state, so the owner knows the command worked. The problem it answers is simple: Wi-Fi and app-based automation fail where there is no broadband or no smartphone, and a farmer or a working parent still needs to switch a pump, a light or a fan on. SMS works on any phone with a 2G signal, needs no app install, and works wherever the mobile network reaches.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
userOwner Phone

Sends a short SMS command, such as LIGHT1 ON, from an authorised phone.

Follow the working sequence

How it works

An SMS command travels from the owner's phone through the mobile network to the SIM card inside the SIM800L module, and the module hands the text to the Arduino Uno over a UART serial link at 9600 baud. The Arduino parses the message, compares the sender's number with the authorised list stored in its memory, and ignores the message completely if the number is not listed. For a recognised sender it matches the text against the ten-command set — LIGHT1 ON, LIGHT1 OFF, LIGHT2 ON, LIGHT2 OFF, FAN ON, FAN OFF, SOCKET ON, SOCKET OFF, ALL OFF and STATUS — and drives the matching relay channel through the optoisolated relay board, whose contacts switch the 230 V AC load. After the relay clicks, the Arduino asks the SIM800L to send a feedback SMS back to the owner confirming the new state, and a STATUS command returns the state of all four channels in a single reply.

  1. The owner sends a short SMS command, such as LIGHT1 ON, from an authorised phone to the SIM card fitted in the SIM800L module.
  2. The SIM800L receives the SMS over the 2G network and forwards the message text and the sender's number to the Arduino Uno over UART at 9600 baud.
  3. The Arduino compares the sender's number with the authorised list stored in its memory; an unknown number is ignored with no relay action and no reply.
  4. For a recognised sender the Arduino matches the text against the ten-command set and identifies the target channel and the requested state.
  5. The Arduino drives the matching relay channel through the optoisolated 4-channel relay board, and the relay contacts switch the 230 V AC demo load on or off.
  6. The Arduino composes a feedback SMS stating the new state and sends it through the SIM800L back to the owner's phone.
  7. Texting STATUS at any time returns one reply SMS listing the on/off state of all four channels, and ALL OFF switches every channel off in a single command.

Tech stack:

  • Arduino Uno (ATmega328P)
  • SIM800L GSM module
  • 4-channel 5 V relay module
  • Arduino IDE · Embedded C
  • AT commands · SMS control
  • LM2596 buck converter · 1000 µF capacitor
  • 12 V 2 A DC power adapter
  • 230 V AC demo loads · bulb holder
Parameter Value
Controller Arduino Uno, ATmega328P, 16 MHz clock (datasheet value)
GSM module SIM800L, quad-band 850/900/1800/1900 MHz (datasheet value)
GSM supply voltage 3.4–4.4 V, nominal 4.0 V (datasheet value)
GSM peak current Approximately 2 A during transmit bursts (datasheet value)
GSM interface UART serial to Arduino at 9600 baud (design choice)
Relay board 4-channel 5 V module, Songle SRD-05VDC-SL-C relays
Relay contact rating 7 A at 240 V AC resistive per channel (datasheet value, Form C)
Relay inductive rating 3 A at 120 V AC / 28 V DC (datasheet value)
Relay coil 5 V DC, 71.4 mA per channel (datasheet value)
Demo loads 60 W bulb and small fan, each under 1 A (design target)
Command set 10 SMS commands: 8 on/off, ALL OFF, STATUS
Authorised numbers Up to 5 numbers stored in firmware (design target)
Feedback Confirmation SMS after every switching action
Power 12 V 2 A adapter for Arduino and relay board; separate 4 V 2 A supply for SIM800L (design target)
Network 2G GSM with SMS service; 4G-only networks not supported

Project features

The system's four defining capabilities are SMS switching of four independent loads, a feedback SMS after every action, an authorised-numbers whitelist, and a power design that keeps the GSM module alive through its transmit bursts. Four relay channels mean a light, a second light, a fan and a spare socket can switch on or off with a short text such as LIGHT1 ON, and the STATUS command reports all four states in one reply. The feedback SMS closes the loop: the system confirms the new state in words, so the owner never guesses whether a command arrived. The whitelist is the security layer — only numbers saved in the Arduino's memory can switch anything; a wrong number is ignored. Because the SIM800L draws about 2 A in short transmit bursts, it runs from its own 4 V supply with a large bulk capacitor, not the Arduino's 5 V pin, which cannot deliver that current.

  • [Four SMS-controlled relay channels] Four independent channels switch four 230 V AC demo loads — two lights, a fan and a spare socket — each with its own short text command, so one message controls exactly one load.
  • [Feedback SMS after every action] After each switching action the Arduino sends a confirmation SMS stating the new state, for example "LIGHT1 is ON", so the owner knows the command was received and executed.
  • [Authorised-numbers whitelist] Only phone numbers saved in the Arduino's memory can switch loads; SMS messages from any other number are ignored completely, with no relay action and no reply.
  • [STATUS query command] Texting STATUS returns one reply SMS listing the on/off state of all four channels, so the owner can check the house without switching anything.
  • [ALL OFF master command] One text, ALL OFF, switches all four channels off at once, which covers leaving the house or shutting everything down at night.
  • [Dedicated SIM800L power supply] The GSM module runs from its own regulated 4 V supply rated for 2 A peak, with a 1000 µF bulk capacitor across its supply terminals to hold the voltage up during transmit bursts.
  • [Optoisolated relay board with safe power-on state] The 4-channel relay board isolates the Arduino side from the mains side through optocouplers, carries a status LED per channel, and keeps all relays off at power-on until a valid command arrives.

What is included

  • Working prototype: Arduino Uno, SIM800L GSM module with antenna, 4-channel relay board and wired demo loads (bulb and fan)
  • Arduino firmware with the ten-command parser, authorised-numbers whitelist and feedback SMS logic
  • Circuit and wiring documentation, including the separate SIM800L power supply and the 1000 µF bulk capacitor placement
  • SMS command reference card listing all 10 commands with example replies
  • Bench test procedure: SIM registration check, whitelist test with an unknown number, per-channel switching and feedback SMS checks
  • Project report PDF (background, GSM and SMS working, AT commands, relay switching, design calculations, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (SIM800L power design, 2G vs 4G, relay ratings, optoisolation, whitelist security)

Limitations & prerequisites

  • The SIM800L is a 2G-only module: it needs a 2G network and a SIM with an active SMS plan, and it will not register on 4G-only networks, so the network must be checked before the demonstration.
  • SMS delivery time depends on the mobile network and is not claimed as a specification; a delayed message delays the switching action by the same amount.
  • The system switches 230 V AC, so mains wiring must be done under supervision, inside an enclosure, with the demo loads kept under 1 A per channel — well below the relay's 3 A inductive datasheet rating.
  • There is no app, Wi-Fi or cloud control by design; every function runs over SMS, so a phone without SMS service cannot control the system.
  • The authorised list holds up to 5 numbers (design target) and is edited in the firmware, not from a phone, so adding a number needs a code update.
  • The relay contact rating is not the whole limit: the module's PCB traces and screw terminals also cap the safe load, so heavy appliances such as heaters or large motors are out of scope for this prototype.
  • The SIM needs balance or an active SMS pack; an expired or blocked SIM stops the system even though the hardware is fine.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — it suits Electrical, Electronics and IoT & Embedded programs. It demonstrates GSM communication, AT commands, UART interfacing, embedded C, relay switching of mains loads and a real security property in the authorised-numbers whitelist that only lets saved numbers switch loads. The power design around the SIM800L's transmit bursts and the relay rating analysis give the report genuine engineering content for the viva, and the SMS demo is easy to show to examiners from any phone.

What SMS commands does it accept?

Ten short commands in plain text, one per load or action. LIGHT1 ON and LIGHT1 OFF switch channel 1, LIGHT2 ON and LIGHT2 OFF switch channel 2, FAN ON and FAN OFF switch channel 3, and SOCKET ON and SOCKET OFF switch channel 4. ALL OFF switches all four channels off at once, and STATUS returns one reply SMS listing the on/off state of every channel. Every switching command earns a feedback SMS confirming the new state.

Does it need Wi-Fi or internet?

No — the system works entirely over SMS on a 2G GSM network, so it needs no Wi-Fi router, no broadband connection and no smartphone app. Any phone that can send a text message can control it, which is the point of the design: it keeps working in homes and farms where there is mobile coverage but no internet.

What happens if a stranger texts the system?

Nothing — the system stays exactly as it is. The Arduino checks the sender's number against the authorised list before doing anything, and a message from an unknown number is ignored completely — no relay switches and no reply is sent. Only numbers saved in the firmware can switch loads, and the list holds up to 5 numbers as a design target.

Is switching 230 V safe in a student project?

Yes, with the precautions built into this design. Each relay channel is rated 7 A at 240 V AC resistive (datasheet value) while the demo loads draw under 1 A, the relay board is optoisolated from the Arduino, and the mains wiring is done under supervision on the bench with the demo loads inside an enclosure. Mains connections are made and checked under supervision, and heavy appliances are out of scope.

Can it be customized for my college?

Yes — several useful extensions are possible. Common requests are an 8-channel relay board for more loads, a temperature sensor that sends an SMS alert above a set threshold, scheduled on/off timers, and a second SIM800L channel for a different location. Each is quoted separately based on scope and timeline.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • SIM800L GSM module
  • 4-channel 5 V relay module
  • Arduino IDE · Embedded C
  • AT commands · SMS control
  • LM2596 buck converter · 1000 µF capacitor
  • 12 V 2 A DC power adapter
  • 230 V AC demo loads · bulb holder
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation