EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
You are here: Home / Replies / Hey Gagansend following

Hey Gagansend following

|

Microcontroller › 8051 › Code for sending sms from gsm interface with 8051 › Hey Gagansend following

April 11, 2015 at 4:32 am #12781
Vara Ashishkumar
Participant

Hey Gagan

send following command through Serial communication(UART)..

Serial_UART("AT+CMGF = 1rn");

delay_ms(100);

Serial_UART(" AT+CMGS = ");

Serial_Write_Char(' " ');

Serial_UART(" 0123456789 ");

Serial_Write_Char(' " ');

Serial_UART(" rn ");

delay_ms(100);

Serial_UART(" Type your message ");

delay_ms(10);

Serial_Write_Char(0x1A);

delay_ms(5000);

 In this command write mobile number in which you want to send message instead of "0123456789".instead of Serial_UART( ),Serial_Write_Char( ) and delay_ms( ) use your function.i just provide the command of sending message

 

 

RSS Recent Posts

  • Looking for amplifier ic August 12, 2022
  • alternate of 80386/486 microprocessor August 12, 2022
  • Trying to troubleshot 1960s Panasonic transistor radio August 12, 2022
  • Company name: any suggestions? August 12, 2022
  • uc3843 Buck-boost August 11, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools