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 / Topics / gsmsim900A interfacing with arduino

gsmsim900A interfacing with arduino

|

Microcontroller › Arduino › gsmsim900A interfacing with arduino

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 10 months ago by GANEEV SINGH.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 14, 2015 at 3:35 am #3550
    suman
    Participant
    This is code im using to make call through gsm but im not able to make call..so plz guide me in thi
    #include <SoftwareSerial.h>
    SoftwareSerial SIM900(7, 8); // configure software serial port
     
    void setup()
    {
      SIM900.begin(19200);              
      SIM900power();  
      delay(20000);  // give time to log on to network.
    }
     
    void SIM900power()
    // software equivalent of pressing the GSM shield "power" button
    {
      digitalWrite(9, HIGH);
      delay(1000);
      digitalWrite(9, LOW);
      delay(5000);
    }
     
    void callSomeone()
    {
      SIM900.println("ATD + +12128675309;"); // dial US (212) 8675309
      delay(100);
      SIM900.println();
      delay(30000);            // wait for 30 seconds…
      SIM900.println("ATH");   // hang up
    }
     
    void loop()
    {
      callSomeone(); // call someone
      SIM900power();   // power off GSM shield
      do {} while (1); // do nothing
    }
    January 7, 2017 at 8:52 am #14330
    GANEEV SINGH
    Participant

    Hi Suman

    I think you are making a mistake while writing the command: SIM900.println("ATD + +12128675309;"), there is no need of "+" sign between ATD and number. Try this way:

    SIM900.println("ATD+12128675309;") and wait for the "OK" response. This ensure that the commcand has been executed successfully.

    This might help you :)

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Looking for obsolete item from Parallax November 7, 2025
  • Panasonic RQ-A170 Walkman recorder November 7, 2025
  • strange laptop problem November 7, 2025
  • WTB: "The Theory Of Servicing AM, FM, And FM Receivers" by Clarence R. Green and Robert M. Bourque November 7, 2025
  • Converting 1vac to 24vac November 7, 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