Control a 12V Lamp via SMS with Arduino

In this tutorial we’re going to show you how you can control a 12V lamp via SMS using an Arduino UNO, a relay module, and the SIM900 GSM shield.

Control a 12V Lamp via SMS with Arduino

Before proceeding with this tutorial we recommend the following resources:

First, watch the video demonstration

Project overview

This project uses the SIM900 GSM shield to receive and send SMS with the Arduino. This projects aims to:

  • turn a 12V lamp on when you send an SMS to the Arduino with the text “ON”
  • turn a 12V lamp off when you send an SMS to the Arduino with the text “OFF”
  • you can request the lamp state by sending an SMS to the Arduino with the text “STATE”, the Arduino should reply back with the text “lamp is on” or “lamp is off”

Parts required

In this project you need to connect the Arduino to the GSM shield and to a relay module connected to a 12V lamp. Here’s a complete list of the parts required for this project (click the links below to find the best price at Maker Advisor):

You can use the preceding links or go directly to MakerAdvisor.com/tools to find all the parts for your projects at the best price!

Preparing the GSM Shield

To use the SIM900 GSM shield:

1) You need an active SIM card. We recommend using a SIM card with a prepaid plan for testing purposes.

Read more: Control a 12V Lamp via SMS with Arduino

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Scroll to Top