Hi;
I want to ask if I can use AT commands in PIC Programming (PIC Basic or others). And How can I do it?
Thanks for your help...
Printable View
Hi;
I want to ask if I can use AT commands in PIC Programming (PIC Basic or others). And How can I do it?
Thanks for your help...
You use AT commands with a Hayes-compatible modem. If you want a PIC controller to respond to AT commands you'll have to write code in the PIC to parse the commands and respond to them. There's no inherent "AT interpreter" in a PIC controller.
Hello;
Thanks for your help;
But can you give me more information about sentences that you wrote;
"you'll have to write code in the PIC to parse the commands and respond to them"
How can i do it; can you give me an example?
If the PIC sees ATH1<return> on its serial input, it changes the voltage on the pin connected to the relay that connects the phone line. If it sees ATDT12345<return>, it uses the pins connected to the touchtone generator to dial 12345.
What code you write depends on what commands you want to handle and what hardware you have connected to the PIC. I can't see why you'd want to build your own modem using a PIC when modems are so cheap.
Hi again;
This is my graduate project. I am attanding at the department of electrical & electronics engineering and to finish my university i have to do this project. My project is;
"A remote object (e.g. a car) will be located by GPS and the location information will be transferred to a monitor/controller centre through a GPRS connection established between the car and the centre. The centre could be in a police station where, in the case of a theft, the engine of the car could be remotely stopped by the control, using the GPRS connection."
Yes i can do it with a modem but, i can not. Because i have to use AT commands into the pic because of our teacher (he wants).
There will be connected with series to pic, a GPS molule and a phohe. firstly i have to connect the phone to GPRS with pic, then i will take the datas from GPS than send these datas with GPRS. Of course i have to do all of them with pic programming.
You're required to send signals to the phone line with a PIC? Or do you mean send signals to a cell phone with a PIC? In which case you're using a modem. (You should know that.)
You'll need 1 serial port for the GPS and another one for the phone. The PIC reads the location from the GPS, and sends it using AT commands to the phone. As far as what AT commands you send the phone for what functions, some of that depends on the phone, some are universal.
I have to ask what does this have to do with packaging and deploying VB applications to other computers?
If the answer is nothing, then you are in the wrong forum.
I am not being rude, but its just that you really won't get much exposure for your question in here.