View previous topic :: View next topic |
Author |
Message |
Praful
Joined: 18 Jun 2012 Posts: 23
|
|
Posted: Wed May 08, 2013 1:04 am |
|
|
Read the posts carefully I already cleared that modem is sim300 and the manufacturer I don't know. Instead of guiding me on program the discussion is going on hardware. If someone telling u that he can send sms also make a call from his hardware then a mindful person doesn't need to check a hardware then also I send u a photo. Also I send u terminals working screen capture and told u clearly which wire is for what purpose. Supply is also separate but then also argument is going on hardware. I ask u some difficulties it doesn't mean u are great and I am small. if u got the point . Can we proceed on program or do u have any childish queries on hardware. I'm tired by answering such a foolish questions. |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
I Pitty the Fool |
Posted: Wed May 08, 2013 6:48 am |
|
|
Quote: | I'm tired by answering such a foolish questions. |
Good Luck getting any support then.
You seem to be avoiding all we have told you to do.
You need to UNDERSTAND what is it we are telling you.
YOU HAVE A HARDWARE PROBLEM...
YOU HAVE A HARDWARE PROBLEM...
YOU HAVE A HARDWARE PROBLEM...
YOU HAVE A HARDWARE PROBLEM...
YOU HAVE A HARDWARE PROBLEM...
Your modem works with the PC - Good.
Your PIC works with the PC - Good.
Your PIC DOES NOT work with your Modem - BAD.
We are trying to tell you why:
- incorrect bypass of the 232 driver for TTL COM
- incorrect connections of the TX-RX lines
- Flow Control Enabled
The last thing you should be checking or changing is the code I posted.
Get it to run AS IS... and then change it.
Since you oviously DO NOT want to answer any more "foolish" questions, or take any suggestions for that matter, I am OUT.
Good Luck,
G. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
Praful
Joined: 18 Jun 2012 Posts: 23
|
|
Posted: Wed May 08, 2013 7:11 am |
|
|
Sorry Gabriel and ezflyr,
What to do I'm stuck ......Please guide me.
Today i brought a programmed pic from same working project and it works fine on my hardware....it receives message and show on lcd but the person cant help me to make code he is professional he only gives me a chip to check and if satisfied then buy basis.
|
|
|
Praful
Joined: 18 Jun 2012 Posts: 23
|
|
|
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
|
|
Posted: Wed May 08, 2013 7:39 am |
|
|
Praful wrote: | Read the posts carefully I already cleared that modem is sim300 and the manufacturer I don't know. Instead of guiding me on program the discussion is going on hardware. If someone telling u that he can send sms also make a call from his hardware then a mindful person doesn't need to check a hardware then also I send u a photo. Also I send u terminals working screen capture and told u clearly which wire is for what purpose. Supply is also separate but then also argument is going on hardware. I ask u some difficulties it doesn't mean u are great and I am small. if u got the point . Can we proceed on program or do u have any childish queries on hardware. I'm tired by answering such a foolish questions. | I suspect you wrote the book " How to win friends and influence people".
I'm surprised you've been tolerated to a three page thread.
No, seriously, a clear concise overiew is called for. I suggest:-
1) You show us a clear schematic of each relevant hardware test you've done.
2) Give a lucid description of what does/doesn't work.
Mike
PS We are not CCS, we do this for free. We can walk away and leave you to stew on your own.
Quite simply, if you don't make it easy for us, we can't help you. |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Wed May 08, 2013 7:49 am |
|
|
I found this gem on the Data sheet for SIM300:
Quote: | Note: Only enter AT command through serial port after SIM300 is power on and Unsolicited Result Code “RDY” is received from serial port. |
you need wait till the module itself has completed its OWN initialization sequence...
Also your module has TWO(2) UARTS
you MUST USE UART 1
UART 2 is for DEBUG only.
anyways...
Good Luck.
G. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Wed May 08, 2013 9:34 am |
|
|
I just saw your schematic and being the nice guy i am i will have you note the following.
- Your RTS and CTS pins on your module should be shorted
(OR disable the hardware flow control - set to NONE)
- You need a MAX232 chip if you are using the module's DB9 serial port
- Your Module, PIC, and LCD should share GND
... somehow, I feel as if I've already pointed this out to you in this very same thread... I wonder why I feel like that.
- "... they've changed something in the Matrix"
- "was it a different cat?"
- "it was _exactly_ the same cat"
G. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Wed May 08, 2013 9:49 am |
|
|
Praful wrote: | Read the posts carefully I already cleared that modem is sim300 |
Hi Praful,
Actually, I reviewed the entire thread and nowhere do I see you mention the module type ("clearly" or otherwise) until today. If I missed it, would you please point this out?
In the absence of any information or documentation about your GSM module, we need to make some assumptions based on our experience. Your hardware photo clearly shows that your 'SIM300 module' is actually a SIM300 mounted to some sort of a carrier board that also includes power supply and communications interface circuitry. These extra components DO make a difference, and may complicate your interface to the PIC depending on the implementation. I can assure you that we ask you questions about your hardware not to harass or belittle you, but rather because we have some legitimate concerns, and we are trying to help you solve your problem.
You seem to think that because your 'SIM300 module' works with a PC, that it must obviously work with your PIC? Frankly, this observation is almost completely irrelevant because the hardware interface is completely different between the two examples!
If your hardware works with some known working code, then it seems to me that the next step is to write a very small piece of code to capture the 'RDY' transmission from the GSM module on power-up. At that point you'll know that you have at least one-way communications, and then you can attempt to send data to the module as well.
John |
|
|
Praful
Joined: 18 Jun 2012 Posts: 23
|
|
Posted: Wed May 08, 2013 11:24 am |
|
|
Thanks for your kindly nature. I'm trying to follow your suggestions ..... |
|
|
Praful
Joined: 18 Jun 2012 Posts: 23
|
|
Posted: Thu Dec 26, 2013 12:22 pm |
|
|
Hello masters,
You are genius your code works flawlessly ...its work perfect.
Thanks again. |
|
|
|