i am doing a project with gsm modem interfaced with ARM. and i my interface of gsm and muc is not working. i am using simcom gsm.and LPC2129/2368 microcontroller i am getting the GSM data through UART1 interrupt. please give me the connection details i.e. RS232 between the two and the UART1 settings
When checking, debugging, etc, have you done to find out why it is not working?
In my code i am getting the gsm data through UART1 interrupt, i am connecting GSM modem to the UART1 port. the modem is working properly with hyperterminal, but not with microcontroller.
Sorry - I meant, What checking, testing, debugging, etc, have you done to find out why it is not working?
ie,
Have you checked your connections between the microcontroller & GSM module?
What testing have you done to ensure that your microcontroller is sending & receiving characters correctly?
What debugging have you done to see that your code is correctly handling the sent & received characters, interrupts, etc?
Does the GSM module use compatible voltage levels as the microcontroller?
Have you checked if you need to handle any handshake signals?
I HAVE CHECKED THE CONNECTION BETWEEN BOTH microcontroller & GSM module. the modem is working properly with the hyper terminal. In my code i get the input from GSM modem via UART1 interrupt. I tested the code by sending & receiving messages in both direction(two & fro) hyper terminal/Hercules to the microcontroller i am able to send messages from micro controller to mobile via GSM modem.
i am using SIMCOM_SIM300 gsm module where i have shorted 7 and 8 pin ie RTS and CTS.The other RS232 pins tx-rx and rx-tx and GND are connected accordignly. THE MODEM IS SUPPLIED WITH A 9-12V DC SUPPLY.
the GSM module dosn't have compatible voltage levels as the microcontroller
So it's working now?
Well done!
No, there is no communication taking place from gsm modem to microcontroller via TX(modem)to RX(microcontroller)through UART1 interrupt
So why did you say that you are able to send messages?!
"TX (modem)to RX (microcontroller)"
Read the modem datasheet again very carefully - pay particular attention to the directions of all signals.
Assume nothing - read carefully.
Also try searching this forum for "DTE" and "DCE"...
Can you please explain how to send message to a mobile phone by interfacing a gsm to a micro controller and programming the micro controller.
This is a very, very, very common task - so there is really no point in repeating the explanation yet again.
So-called "Search Engines" are very powerful tools for finding stuff on the Internet; eg,
www.lmgtfy.com
And here are some general tips on interfacing: www.8052.com/.../160143
interfacing is done through UART controller by setting its baudrate to the GSM baud rate. and give the corresponding GSM send command from the micro controller + the number and message as we do in PC .
Hi friend this is MJ here... am a student thinking of doing a hobby project in my coll.. my project is to maintain the database of students n send their test marks and their attendance to their mobile nos prior to their tests and after their tests also.. so i needed to choose a microcontroller kit and gsm modem, need to program it accordingly... As i am new one in this field i hope you could help me out please do reply at my e-mail id. mrutyunjay07@gmail.com... I'll be waitin for your reply...
No, if you did it for hobby, you would spend time trying to read and learn. Since you postyour mail address and wants help, it looks like this is a school assignment.
By the way - if you want your project to be commercially profitable, you shouldn't send out the results after the tests. You should send out the answers during the test. Lots of people like yourself would be interested.
You really have 2 distinct projects there:
1. Building & maintaining the database;
2. Sending out the reports.
"i needed to choose a microcontroller kit"
Sounds more like a job for a PC, to me!
"reply at my e-mail id"
No: this is a public discussion forum - not a private consultancy service.
"I'll be waitin for your reply"
Don't just sit there - get on with doing some thinking & research...