Page 1 of 1

Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 12:01 pm
by mzakmal87
Hi,

Does anyone can guide me on how to construct/starting this project? there is one project i found regarding this integration project but the project failed. Herewith i attached the coding for arduino and shcematic diagram. Below is the coding:
CODE: SELECT_ALL_CODE
/*============================ EG LABS ===================================//
 Demonstration on how to interface GSM module and make a call
 
 The circuit:
 LCD:
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 7
 * LCD D5 pin to digital pin 6
 * LCD D6 pin to digital pin 5
 * LCD D7 pin to digital pin 4
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD pin 3
 * LED anode attached to digital output 9
 * LED cathode attached to ground through a 1K resistor
 
 GSM:
 RX PIN OF GSM TO TX0 PIN OF ARDUINO
 SHORT THE GROUND PINS OF ARDUINO AND GSM
============================== EG LABS ===================================*/
 
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 7, 6, 5, 4);
 
// give the pin a name:
int led = 9;
 
void setup()
{
  pinMode(9, OUTPUT);     
  lcd.begin(16, 2);
  lcd.print("ENGINEERS GARAGE");
  lcd.setCursor(0, 1);
  lcd.print("   GSM CALLING  ");
 
  // initialize the led pin as an output.
  pinMode(led, OUTPUT); 
  // start serial port at 9600 bps
  Serial.begin(9600);
  // wait for a while till the serial port is ready
  delay(100);
 
  Serial.print("ATD0123456789;\n\r");
}
 
void loop()
{
    digitalWrite(led, HIGH);       
    delay(1000);                 
    digitalWrite(led, LOW);       
    delay(1000);               
}

Re: Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 2:39 pm
by Idris

Re: Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 2:54 pm
by mzakmal87
I'm using Arduino pro mini...

Re: Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 3:40 pm
by Idris
Hi mzakmal87,

Do you have test the GSM with the computer first? Just want to make sure it is working before do all the wiring with the microcontroller. Less troubleshooting.

Re: Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 4:42 pm
by mzakmal87
I already test the GSM using hyperterminal and it can works well..i dont know whether the circuit is correct or not?

Re: Arduino pro mini + GSM TC35

PostPosted: Wed Feb 12, 2014 5:00 pm
by Idris
mzakmal87 WROTE:I already test the GSM using hyperterminal and it can works well..i dont know whether the circuit is correct or not?

Thanks for your verification. If you don't mind, could you post your hardware picture here? Show all the connection.

Re: Arduino pro mini + GSM TC35

PostPosted: Thu Feb 13, 2014 8:18 am
by mzakmal87
i already disassemble the component and FYI the connection exactly the same as in the cct that i attached.

Re: Arduino pro mini + GSM TC35

PostPosted: Thu Feb 13, 2014 11:55 am
by Idris
mzakmal87 WROTE:i already disassemble the component and FYI the connection exactly the same as in the cct that i attached.

Ok, sorry for your inconvenience. Just another verification, which RX pin did you connect on the GSM board? The DB9 connector or TTL pins?