Preview

program to send sms from pic controller

Satisfactory Essays
Open Document
Open Document
222 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
program to send sms from pic controller
Embedded C Code
// Name : Interfacing GSM module with PIC Microcontroller
// Purpose : To send SMS from PIC Microcontroller.
// Author : Subham Dutta
// Date : 03-01-14
// Website : www.nbcafe.in sbit LCD_RS at RD2_bit; sbit LCD_EN at RD3_bit; sbit LCD_D4 at RD4_bit; sbit LCD_D5 at RD5_bit; sbit LCD_D6 at RD6_bit; sbit LCD_D7 at RD7_bit; sbit LCD_RS_Direction at TRISD2_bit; sbit LCD_EN_Direction at TRISD3_bit; sbit LCD_D4_Direction at TRISD4_bit; sbit LCD_D5_Direction at TRISD5_bit; sbit LCD_D6_Direction at TRISD6_bit; sbit LCD_D7_Direction at TRISD7_bit; void main() { int a[10]; lcd_init(); Lcd_Cmd(_LCD_CLEAR); lcd_out(1,1,”Send SMS to”);UART1_Init(9600); // Initialize UART module at 4800 bps
UART1_Write_Text(“AT+CMGS=”);
Delay_ms(1000); lcd_out(2,1,”9800220107″); UART1_Write(0x22); //” double qoute
Delay_ms(2000);
UART1_Write_Text(“9800220107″); // Your Telephone Number cd_chr_cp(uart_rd);
UART1_Write(0x22); //” double qoute
UART1_Write(0x0D); // mean Enter
Lcd_Cmd(_LCD_CLEAR);
lcd_out(1,1,”MASSAGE:”); lcd_out(2,1,”WWW.NBCAFE.IN”); Delay_ms(2000);
UART1_Write(0x22);
UART1_Write_Text(“WWW.NBCAFE.IN”); //My Text Test
UART1_Write(0x22); //” double qoute
Delay_ms(2000);
UART1_Write(26); //Ctr +Z
Delay_ms(2000);
UART1_Write(0x0D); // mean Enter
Delay_ms(2000);
Lcd_Cmd(_LCD_CLEAR); lcd_out(1,1,”SEND”); lcd_out(2,1,”SUCCESSFULLY”);
}

You May Also Find These Documents Helpful

  • Good Essays

    Text Response OMAM

    • 751 Words
    • 2 Pages

    Topic: in Steinbeck’s “of mice and men” the negatives out way the positives. Do you agree?…

    • 751 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Text messaging, also referred to as SMS messaging, is a popular form of mediated, interpersonal communication that involves sending short messages to and from individual’s cell phones through a or cellular connection to converse with individuals at anyplace and anytime all over the world. Created in 1992 by Neil Papworth, an engineer for Vodaphone, a software company in England, the first text message was sent by Papworth to an executive of the company attending a Christmas party in a separate building; the message of the first ever text message simply read, “Merry Christmas”, it wouldn’t be until the next year that texting would be available to the general public (Peritz, 2012). So at mere 23 years old, Texting is one of the youngest mediums…

    • 1150 Words
    • 5 Pages
    Good Essays
  • Good Essays

    p6 for contract law

    • 766 Words
    • 4 Pages

    You have recently purchased a new mobile telephone from a local mobile service provider store. You have had a number of different problems with the item including the following:…

    • 766 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Choose one of the following questions to answer for the argument essay in this module.…

    • 970 Words
    • 3 Pages
    Better Essays
  • Good Essays

    SMSC

    • 12639 Words
    • 52 Pages

    Since the 1988 Education reform Act schools have had a statutory duty to ‘promote the spiritual, moral, cultural, mental and physical development of pupils at the school and of society’. The Education (Schools) Act 1992 underlined the importance of this duty by making the promotion of pupils’ spiritual, moral, social and cultural development an aspect to be included in Ofsted inspections. In 2003, the publication of the report ‘Excellence and Enjoyment’ for primary schools, further underpinned the need for schools to be concerned with the education of the whole child.…

    • 12639 Words
    • 52 Pages
    Good Essays
  • Better Essays

    Text Response

    • 1182 Words
    • 5 Pages

    The title of Will You Please Be Quiet, Please? Is ironic because what is actually required in many of the relationships depicted is more communication. Discuss.…

    • 1182 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Pop culture is defined as commercial culture of popular taste. These are some of the categories music, fashion, movies, and trends or fads. One of the biggest trends among young adults today is text messaging and IMing. Young adults generally don’t leave home without their cell phones. Texting is a way for young adults to communicate when they aren’t able to talk to the person face to face. Many people argue that text messaging is a bad habit that pop culture has brought along, but many researchers have found that teenage composition is stronger than ever now. Why are young adults text messaging and IMing so much? Well there are a number of reasons such as; text messages are cheaper, faster, and more convenient at times.…

    • 1203 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Eu Law

    • 1949 Words
    • 16 Pages

    Please check your phone details below and provide your handset colour & memory size if applicable.…

    • 1949 Words
    • 16 Pages
    Powerful Essays
  • Good Essays

    Case Study on Texting

    • 1786 Words
    • 8 Pages

    As part of the Foundation workstream the Text or Short messaging service (SMS) was explored as a low cost access route for interacting with customers. The advantage of a flexible SMS system is that it can be used both as a way of dispensing information to our residents as well as capturing information from them, both business intelligence and operational intelligence (problem reporting etc). This gives another channel shift route and provides a drastically lower cost per transaction than face to face or by telephone (£17/£5 respectively)…

    • 1786 Words
    • 8 Pages
    Good Essays
  • Good Essays

    Texting In Communication

    • 628 Words
    • 3 Pages

    Texting is a very common way to communicate with others. People text for many reasons, texting is easier than being on the phone. Another reason for texting to become so common is because people like having the privacy of talking to someone via text message, when they are in public places. Texting also have disadvantages, it is very dangerous to text while driving, texting while driving is often causing a lot of car crashes. People have to be careful with their actions, and chose not to text while driving.…

    • 628 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Child Texting

    • 900 Words
    • 4 Pages

    The recent phenomenon of ‘texting’ only began in 1992, however children starting texting in the early 2000’s. So why is it thought that children are doing the majority of the texting? The most common assumption is that is that teenagers are filling their text messages with abbreviations and misspelling all of their words, however David Crystal a professor of linguistics has done many different studies which show that 80% of the people who are texting are adults and only 10% of the words are abbreviated, but is this true? Within my essay I am going to explore my own data and their inclusion of brevity and spoken language features. To gain an accurate conclusion I have collected 3 sets of data with various different contexts, my first set of data is between me (A) and a boy/peer who is my age (B). My second data is between me (A) and my mum (C) and my third piece of data is…

    • 900 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Peoplesoft Messaging Server

    • 2590 Words
    • 11 Pages

    PeopleSoft Messaging Services exist on the application server and are the heart of the Integration Broker. Before using Integration Broker, you must configure and start the Messaging Server, aka PUB/SUB. Although the server processes devoted to your messaging system are all part of the larger application server domain, they comprise a distinct set of processes that aren’t involved with the ordinary transactions associated with PIA connections.…

    • 2590 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Communication cannot be measured by the amount of communication that is exchanged, but by how many messages are received, and understood (Baker, 2009). Clear communication is the key as we all filter verbal information through what we want to hear and are expecting to hear. It is important to always verify what the receiver of one’s message understands the message to be and then move away from personalizing questions that may arise, while focusing on clarifying what one wants to communicate. Thus begins the process of physically receiving messages and the keys involved, which help create effective listening.…

    • 1070 Words
    • 5 Pages
    Good Essays
  • Good Essays

    We also use RS = 0 to check the busy flag bit to see if the LCD is ready to receive information. The busy flag is D7 and can be read when R/W =1 and RS = 0, as follows: if R/W =1, RS =0. When D7 = 1(busy flag = 1), the LCD busy taking care of internal operations and will not accept any new information. When D7 = 0, the LCD is ready to receive new information. Note: It is recommended to check the busy…

    • 1104 Words
    • 5 Pages
    Good Essays
  • Better Essays

    Arduino Uno Board: Arduino Uno is an AVR ATmega328P microcontroller based development board with 6 analog input pins and 14 digital I/O pins. The microcontroller has 32 KB of ISP flash memory, 2 KB RAM and 1 KB EEPROM. The board provides capability of serial communication via UART, SPI and I2C. The microcontroller can operate at a clock frequency of 16 MHz. In our project, the digital I/O pins 3, 4, 5, 6, 11, and 12 of the Arduino are connected with pin nos. 14, 13, 12, 11, 6, and 4, respectively, of the LCD.…

    • 963 Words
    • 4 Pages
    Better Essays

Related Topics