Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing PIC16F877A and SIM300 gsm development board

Status
Not open for further replies.

SAWULA

Newbie level 6
Joined
Nov 11, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,378
I bought a SIM 300 development board and I connected it with the PC and It works fine. I can send SMS and everything. But when I connect SIM300 developement board with PIC16F877A microcontroler, it does not work. I connected Rx and Tx pins through MAX232 and the GND pins only(Same as when communicating between PC and PIC16F877A). I want to send and receive SMS. Can anyone Help me Please. It's urgent!!
 

One clarification Sawula. In what way you tried to interface GSM with PIC MCU. Whether you interfaced GSM Eval. Board to PIC MCU or GSM module itself to PIC. If you are interfacing GSM module to PIC no need to use max 232. bcos GSM module is also TTL compatible so you can directly interface the MCU's TX and Rx to GSM Tx and RX. Onemore thing RTS and CTS of the GSM module has to be shorted(This is hardware cheating). you told that you were communicating GSM Eval. board with PC in that CTS and RTS will be taken care by PC itself. (I think u r using hyperterminal rigtht?)
 

All right I removed the MAX 232 and I connected 25 pin of the PIC16F877A(Tx) to the 3rd pin of the female serial port connector of the modem and 26th pin(Rx) of the MCU to the 2nd pin of of serial the connector. And the 8th pin (RTS) and 7th pin CTS is shorted. And the 5th pin of the serial port is grounded. But I am not getting any response from the modem.

Then I grouded both RTS and the GND pins and disconnect CTS pin. But still it is not working. Do I need to connect any other pins please help me!!!
But previously I check both pc to modem and circuit to pc serial communication were successful.
 

Hello sawula. I hope you know about TTL and Rs 232 Logic Levels right? If you interface GSM Module (chip set) no need to use max 232. If you interface GSM Eval board (not GSM Module)with PIC you need to use max 232. Please refer the attachment. One more thing check the GSM module whether is it powered up properly or not? Better you provide an external switch circuit for Module On/Off. Later you can switch GSM Module On/Off by PIC itself.
 

Attachments

  • GSM.bmp
    774.9 KB · Views: 168
  • Like
Reactions: SAWULA

    SAWULA

    Points: 2
    Helpful Answer Positive Rating
I got your point thirugnanam.ram. And now it works fine. Thanks dude.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top