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
  • Advertise
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

  • Chinese Tarrifs – 104%!?! May 21, 2025
  • can a AT89C51 be used as a rom? May 21, 2025
  • Telegram Based Alarm - Sensor cable protection May 21, 2025
  • An Update On Tarrifs May 21, 2025
  • Tariff Updates from JLCPCB as of Today May 21, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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
  • Advertise