Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > GSM modem interface with PSOC 3

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



GSM modem interface with PSOC 3
Moderator:
RKRM

Post Reply
Follow this topic



GSM modem interface with PSOC 3

cbraj posted on 13 Jul 2011 11:24 PM PST
Member
4 Forum Posts

Is there any application note on interfacing GSM modem with PSoC 3. primarly i want to interface the GSM modem with PSoC 3 and communicate with Hyperteminal by sending and recieving simple text messages.




Re: GSM modem interface with PSOC 3

U2 posted on 14 Jul 2011 10:32 PM PST
Cypress Employee
589 Forum Posts

We do not have any project or App Note for GSM modem. However, it is easy interface any GSM modem with PSoC via UART. Any GSM modem can accept commands from PSoC. These commands are called AT commands. Different AT commands sent from PSoC to GSM modem is interpreted differently and the modem performs suitable operation. Hence, a possible implementation to interface GSM modem with PSoC is to connect, the GSM modem to RX and TX lines of PSoC and send AT commands. Each GSM modem datasheet provides a set of AT Commands that the modem can accept. Go through this datasheet and send these commands from PSoC. 



Re: GSM modem interface with PSOC 3

Gautam Das posted on 21 Jul 2011 11:26 PM PST
Cypress Employee
742 Forum Posts

Hi Cbraj,

 

You can download a sample project on UART and modify it to send AT commands to send and receive text messages from GSM Modem.

You can connect the GSM modem to a PC to send and receive text messages via Hyperterminal. In this case UART is used for communication between the GSM modem and PC.

When you are interfacing the GSM Modem with PSoC, you are replacing the PC with PSoC so that the UART is used to send AT commands to GSM modem by PSoC.



Re: GSM modem interface with PSOC 3

Gautam Das posted on 25 Jul 2011 10:36 PM PST
Cypress Employee
742 Forum Posts

Hi Cbraj,

 

If we take an example of GSM modem SIM300, then the AT commands which have to be used to send text message would be something like this:

AT+CMGF=1 0x0D

AT+CMGS="xxxxxxxxxx" 0x0D

"Message to be sent" 0x1A

 

Here 0x0D is the Carriage Return (Equivalent of this in PC is the 'Enter' key).

The equivalent of 0x1A in PC is 'Control + Z'.

xxxxxxxxxx refers to the phone number to which the text message is to be sent.

These commands have to be sent via UART.

 

A project is attached which demonstrates the sending of these commands. You can modify it according to your requirement.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20