electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

PIC16F877A and SIM300CZ problem connection


Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication -> PIC16F877A and SIM300CZ problem connection
Author Message
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post19 Oct 2009 4:15   

PIC16F877A and SIM300CZ problem connection


Dear all,

please help me.

I used PIC 16F877a to send and read SMS via SIM300.
Serial connection:
PIC_TX -> SP3238 -> SIM300_RX
PIC_RX <- SP3238 <- SIM300_TX
Sim300_RTS -> GND

I read/send SMS via SIM300 OK but I send SMS -> Read SMS -> Read SMS(fail)

I don't read SMS again after send SMS. You can help me.

Thanks.
Back to top
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post21 Oct 2009 3:58   

Re: PIC16F877A and SIM300CZ problem connection


Dear All,

I add information of connection between PIC and SIM300, please help me.

I connected SIM300_RTS -->GND, baud rate of of SIM300 are fixed 9600, PIC_UART baud rate are 9600

Thanks.
Back to top
fiolin



Joined: 22 Jul 2009
Posts: 27
Location: Uruguay


Post21 Oct 2009 16:09   

PIC16F877A and SIM300CZ problem connection


Visit this topic http://www.edaboard.com/viewtopic.php?t=366904&highlight= and download the file called serial_port.pdf. May be can help you.
Back to top
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post22 Oct 2009 3:19   

Re: PIC16F877A and SIM300CZ problem connection


Thanks for your reply.

I connected same as schematic in Serial_Port.pdf.
Current i send AT command (AT+CMGR=1) to read sms from PIC16F877A, i receive response of SIM300 but this response is not same as specification in file "SIM300C AT.PDF" , "item 1.4" page 5, i receive AT command read (AT+CMGR=1) in top of buffer (buffer store SMS in PIC16F877A).

Detail:
- send from PIC16F877A
AT+CMGR=1\r
- wait to get response from SIM300
- content of buffer after get response
AT+CMGR=1\r\r\l+CMGR: "REC READ"\r\lSMS_content\r\l\r\lOK\r\l

specification in file SIM300C AT.PDF, response must be:
r\l+CMGR: "REC READ"\r\lSMS_content\r\l\r\lOK\r\l

I don't know why i get "AT+CMGR=1\r" string in buffer, I try with another command, the result is same. You can explain?

Note: i have a sms in Sim card.

After i read SMS, sent SMS OK, i read SMS again fail, please help me.

Thanks
duyha
Back to top
Google
AdSense
Google Adsense




Post22 Oct 2009 3:19   

Ads




Back to top
hoodooman



Joined: 28 Mar 2007
Posts: 1
Location: Italy


Post22 Oct 2009 7:59   

Re: PIC16F877A and SIM300CZ problem connection


I think you have echo mode active.
Disable it with ATE0.
Back to top
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post23 Oct 2009 2:24   

Re: PIC16F877A and SIM300CZ problem connection


Dear hoodooman,

I sent AT0 command, it is OK, thank you very much.

Regard.
Back to top
angel_eyes



Joined: 12 Jan 2009
Posts: 14


Post24 Oct 2009 7:33   

PIC16F877A and SIM300CZ problem connection


Have you sent at command "AT+CMGF=1" yet?
Back to top
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post26 Oct 2009 4:14   

Re: PIC16F877A and SIM300CZ problem connection


Dear Angel_eyes,

I sent AT+CMGF=1, and store this setting in flash of SIM300C, I send and receive SMS OK.

Regards.
Back to top
tdma



Joined: 29 Oct 2009
Posts: 5


Post29 Oct 2009 2:29   

Re: PIC16F877A and SIM300CZ problem connection


Is that an RS232 transceiver you have there? Is it absolutely necessary? You could just use open drain buffers with pullups.
Back to top
duyha



Joined: 19 Aug 2009
Posts: 6
Location: VN


Post30 Oct 2009 2:25   

Re: PIC16F877A and SIM300CZ problem connection


I use LJ245A to convert logic level between PIC16F877A and SIM300.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication -> PIC16F877A and SIM300CZ problem connection
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Connection problem between PIC16F877A and Sony Ericsson T230 (1)
schematics for PIC16F877A serial connection? (3)
PIC16f877a and EEPROM 24LC512 problem (1)
module generation and connection problem (1)
SIM300CZ GSM module digital and analog ground (8)
Problem in giving connection pin for sda and scl in I2C prot (2)
PIC16F877A Problem (1)
PIC16F877A charging problem (12)
Problem with PIC16F877A (16)
PIC16F877A :serial communication problem (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS