krunal_299
Member level 4
- Joined
- Jan 24, 2008
- Messages
- 68
- Helped
- 2
- Reputation
- 4
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,800
krunal_299 said:Special!!!!
I want to read incoming SMS and send SMSes to any cell phone....I think i need some antenna based interfacing circuit to be used with microcontroller
Let me know what are the available options ???
Regards!!!
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 void sms_send() { int i; char sms[30]="Car alarm is sounding"; printf("AT+CMGS="12345678"\n\r");//12345678 phone number delay_ms(500); for(i=0;i<30;i++) { if(sms[i]=='\0') break;//ask for null character of sms vector when find it go out of for() loop putchar(sms[i]); } delay_ms(500); putc(26);// send ctrl + Z return; }
Do we need MAX232 to connect the GSM module to PIC since both work on TTL logic.GSM Module ====> Serial PORT (MAX232) ======> PIC
Do we need MAX232 to connect the GSM module to PIC since both work on TTL logic.
yups guys i want to make it correct ..... if we want to connect the gsm module with pc (i.e. to operate it with hyper terminal) then we need MAX232 but in PIC no need of MAX 232 ..... they can be connected directly TX pin of PIC into RX of module n RX into TX ..... correct it n sorry for the above mentioned line ....
Hi, i'm currently working on a similar project. I planned to test if my gsm (g24-l) was working by hooking it up to my pc but spent days wondering why my gsm wont respond to my AT command (usb/serial on pc) - because i dont have the max232.
As mentioned you said that it can be interfaced straight away with the PIC (i.e gsm ---> pic18f4520 right?), how do i test if the gsm is working? for example, do i test it by writing "AT" and expect an "OK" response? kindly advice! Thanks!
Edit: Also, if my GSM is running on 3.3V supply while my PIC is on 5V, would i still need the ttl converter between pic and gsm? (not sure if it will fall into "undefined" region of pic, rmbr reading about undefined regions :S)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?