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.

[SOLVED] question about basic process in sendng AT-commands and microcontroller

Status
Not open for further replies.

romel_emperado

Advanced Member level 2
Joined
Jul 23, 2009
Messages
606
Helped
45
Reputation
132
Reaction score
65
Trophy points
1,318
Location
philippines
Activity points
6,061
guys I have question about using cellphone as GSM modem.. I need overview of its process just to have an idea :)

as far as i know if you are going to test your cellphone is by sending AT commands.

you need to connect your cellphone to PC then issue At commands but how you are going to automate that process if you want to use MICrocontroller and forget about PC??

your controller will be the one to send AT commands. right?
so if the controller sends read command to phone then what type of data will be received by the controller as reply to the read command?
i mean if the inbox of the phone has this word "hello world" then how does the controller read that?
 

controller will send and receive command and response from phone in ascii format.. the test is broken into ascii value of every character, as the data is exchanged in serial communication format....
 
thanks.. excellent!

pls. check this flow chart if it is possible. :)
Wait for message SMS message to arrive.
When it does, move it to the controller.
Parse the message to identify which item to switch, and whether on or off.
switch item on or off.
go back to waiting
 
definetely you can do it, without doubt...

and this project has been discussed many a times in this forum toooo... do a search in the forum and you will get many solution.. if not clear then post

the controller you wish to use? the IDE and compiler to be used? The programming language to be used?
 
definetely you can do it, without doubt...

and this project has been discussed many a times in this forum toooo... do a search in the forum and you will get many solution.. if not clear then post

the controller you wish to use? the IDE and compiler to be used? The programming language to be used?



Im moving now to PIC so I might use PIC16f877a.(2nd time to use PIC micro)..
i find compatible using mikroC so I will use that IDE with C programming language.. :)
I want to spend my free time making this project.. :)

I will search more in this forum and will post here if I dont understand.. thanks buddy :)
 

you may get a gsm modem and connect it to PC and play it with for a while and understand its working. and then write a program to interface with modem... you can download at command pdf from net or from this forum and play with the modem till you become friendly with it.. did you think about the gsm module you wish to use.????? do you have one or will get it...

there will be many outlets from where you can get one... you can get wavecom modem or simcom 300 basic modem for all the functionality

you can visit Sunrom Technologies, Your Source for Development or N S K E L E C T R O N I C S and select a modem yourself
 
you may get a gsm modem and connect it to PC and play it with for a while and understand its working. and then write a program to interface with modem... you can download at command pdf from net or from this forum and play with the modem till you become friendly with it.. did you think about the gsm module you wish to use.????? do you have one or will get it...

there will be many outlets from where you can get one... you can get wavecom modem or simcom 300 basic modem for all the functionality

you can visit Sunrom Technologies, Your Source for Development or N S K E L E C T R O N I C S and select a modem yourself



it's more convenient to use if gsm modem but its very expensive here in philippines and not available in our local store and need to order...
Im still a student preparing my little skill in this field that is why I make use my free time doing some educational project.. :)
actually I just learned PIC mirco yesterday and luckily i did it :).. that's is why Im moving to another project today :)
 

You can use old Cell phones like Nokia 6610, Nokia 3300, Nokia 6100, Ericsson T10. All these phones have serial cable interface and you can connect them to your PC directly or, to your controller using MAX232 chip.

Hope this helps.
 
yes... thanks for that advise.. what I have now are nokia 3310 and nokia 7110.. as far as i know 3310 does not have serial cable interface.. right?
 

Yes, it uses a protocol called F-Bus and, unfortunately, I haven't dealt with.
This might help you.
 
excellent link.. thanks..!! it is very useful.. that is really what I need the FBus protocol..

but before I will deal with that I need to practice programming my PIC to communicate via RS232 and then interface my phone.. I will do it slowly .. :)
 

thanks.. maybe I'll be back after few days my exams in school is fast approaching .. :) will continue this after :)..

I will do it slowly to perfect this project.. :)

first, I will create simple program to my controller that will able to communicate via rs232..
by the way IM not so clear with this terminology and I dont quite understand some definitions available in the web.. :)
what's the difference between Uart, RS232 and serial communication?? :)
 

and make sure you test it in desktop and avoid testing in laptop... preferreably with XP facility and not win7 as OS as it does not support hyperterminal.. you can use other software instead of hyperterminal, but h recommended as it is hyperterminal is proven and stable

---------- Post added at 13:16 ---------- Previous post was at 13:12 ----------

what's the difference between Uart, RS232 and serial communication?? :)

UART is an feature that defines the data exchange between devices... its present in every controller which gives out tx and rx and other control signals.. the UART transmits and receives data at a predefined baud rate specified by the user.
RS232 is the name of the cable used to connect 2 different serial port on different devices.
Serial communication is the protocol used by UART and many other data communicating devise , which define the number of data bits , number of stop bits, and parity, hardware flow control and the baud rate parameters....
 
Just make sure that the cable is serial not USB.
I found the below link and it shows that the cable is USB. You won't be able to interface it to your controller.
Nokia 7110 Data items - Get great deals on Mobile Phone Data Cables items on eBay UK!


thanks seadolphine2000..

how about if I just locate the rx and Tx pin of my nokia 7110 and interface it to controller? is it possible?

---------- Post added at 08:55 ---------- Previous post was at 08:49 ----------

and make sure you test it in desktop and avoid testing in laptop... preferreably with XP facility and not win7 as OS as it does not support hyperterminal.. you can use other software instead of hyperterminal, but h recommended as it is hyperterminal is proven and stable

---------- Post added at 13:16 ---------- Previous post was at 13:12 ----------



UART is an feature that defines the data exchange between devices... its present in every controller which gives out tx and rx and other control signals.. the UART transmits and receives data at a predefined baud rate specified by the user.
RS232 is the name of the cable used to connect 2 different serial port on different devices.
Serial communication is the protocol used by UART and many other data communicating devise , which define the number of data bits , number of stop bits, and parity, hardware flow control and the baud rate parameters....

thanks ckshivaram, it is now clear to me.. thanks for anwering my doubts.. :p:-D

and make sure you test it in desktop and avoid testing in laptop... preferreably with XP facility and not win7 as OS as it does not support hyperterminal.. you can use other software instead of hyperterminal, but h recommended as it is hyperterminal is proven and stable

seadolphine2000 said that I wont be able to interface my phone if it is usb cable to the controller but able to test it in PC via hyperterminal. right?
so, how about if i just locate the rx and txt pin to my phone and interface it to controller without using any cable? is it possible?
 

Since it uses F bus for communication tapping tx and rx may not be sufficient. you may need a f bus to rs232 converter, or take tx rx and gnd and connect it through MAX232 ..

ahhh okay so just like this:

I only need pure 3 wires from my nokia 7110 namely: RX , TX and GRN then connect to max232.. right??
|--------------|
| phone | ---> max233 -----> controller
| _______|
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top