wireless electronics notice board using gsm with code

Summary of wireless electronics notice board using gsm with code


This project creates a Wireless Notice Board using an Arduino UNO, GSM module (SIM300), and an LCD. Users send SMS messages with specific prefix ('#') and suffix ('*') symbols from anywhere in the world. The system receives these texts via the GSM module, processes them through the Arduino, and displays the extracted message on the 16x2 LCD. This versatile device is ideal for hotels, offices, schools, and homes to display dynamic notices remotely.

Parts used in the Wireless Notice Board:

  • Arduino UNO
  • GSM Module (SIM300)
  • 16x2 Liquid Crystal Display (LCD)
  • Mobile Handset
  • 12 Volt Adaptor
  • LiquidCrystal Library

wireless electronics notice board using gsm with code

Wireless notice board is very selective term for this project, as it has a very wide scope rather than just being a simple notice board. First we should understand the purpose of this project, in this system we can display a message or notice to some display device like LCD, and this message can be easily set or changed from anywhere in the world, just by using the SMS facility of your mobile handset. Whatever notice we want to display, just send the SMS of that text, with some prefix and suffix.

This is very useful in Hotels, Malls, college, offices and can be used anywhere, even at home. Like you can set the message like “Do not disturb” at your hotel’s room gate, can set message at your home’s door step when you are away, and of course it is used as notice board in schools, colleges, cinema halls etc. And yes, it’s just not a simple Message board, the usefulness of this project is that you can set or change the message or notice from anywhere, just sending SMS from your phone.

Step 1: Working Explanation:

Working Explanation

In this project, Arduino UNO is used for controlling the whole process, GSM module (SIM300) to receive the SMS/message sent from mobile phone and LCD to display the message.

We can send some message or notice like “#Hello AAKASH*”, “#We Welcomes You*” through the SMS. Here we have used a prefix in the message string that is ‘#’. This prefix is used to identify the starting of the message or notice. And ‘*’ is used as suffix to indicate the end of the message or notice.

When we send SMS from mobile phone to GSM module then GSM receives that SMS and sends it to Arduino. Now Arduino read this SMS and extract main notice message from the received string and stores in another string. And then sends the extracted message to 16×2 LCD by using appropriate commands.

Further working of this system is explained in the ‘Code Description’ section below. Before we get into programming details we should know about GSM module.

Step 2: Circuit Description:

Connections of Wireless Notice Board using GSM and Arduino are simple and shown in the figure below. Here a liquid crystal display (LCD) is used for display the “Notice” or message, which is sent though the mobile phone as SMS. Data pins of LCD namely RS, EN, D4, D5, D6, D7 are connected to arduino digital pin number 7, 6, 5, 4, 3, 2. And Rx and Tx pin of GSM module is directly connected at Tx and Rx pin of Arduino respectively. And GSM module is powered by using a 12 volt adaptor.

Step 3: Code Description:

The code of the program is easily understandable; the new thing here is GSM initialization function gsm_init(), which is explained in the end.

In the program, first of all we include library for liquid crystal display (LCD) and then we defines data and control pins for LCD and some variables.

#include <LiquidCrystal.h> LiquidCrystal lcd(12,11,5,4,3,2);

int led=13;

int temp=0,i=0,x=0,k=0; char str[100],msg[32];

After this, serial communication is initialized at 9600 bps and gives direction to used pin. And initialize GSM Module in setup loop

Source: wireless electronics notice board using gsm with code

Quick Solutions to Questions related to Wireless Notice Board:

  • How does the system receive messages?
    The GSM module (SIM300) receives SMS sent from a mobile phone and forwards it to the Arduino.
  • What are the required prefix and suffix for the text?
    The message string must start with '#' as a prefix and end with '*' as a suffix.
  • Which library is included for the display component?
    The program includes the LiquidCrystal library to control the LCD screen.
  • How are the LCD data pins connected to the Arduino?
    Data pins RS, EN, D4, D5, D6, D7 connect to Arduino digital pins 7, 6, 5, 4, 3, 2 respectively.
  • What power source is used for the GSM module?
    The GSM module is powered using a 12 volt adaptor.
  • At what baud rate is serial communication initialized?
    Serial communication is initialized at 9600 bps.
  • Can this system be used in a hotel room?
    Yes, it can be used to set messages like Do not disturb at a hotel room gate.
  • Where is the extracted message stored before display?
    The Arduino extracts the main notice message and stores it in another string variable.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter