Click here to Skip to main content
15,887,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am making a project based on GSM which operating with a motion sensor. i am using PIC18F4550 microcontroller. i really dont know how to create the program code especially the ATcommand. could you guide and help me?
Posted
Comments
Sergey Alexandrovich Kryukov 10-Jan-13 16:35pm    
I simply don't understand. GSM is one thing, and a motion sensor is another one. Do you use both? How, what's the idea, the goal of it? Before thinking about the code, it's good to understand the goal and principles of operation. GSM is nothing but a receiver, it does not really detect motion itself...
—SA
[no name] 30-Apr-14 16:52pm    
I simply don't understand

1 solution

I think OP wants to read the data through Motion sensor in Microcontroller and then send the same data over GSM modem. He has not specified his language ( Keil C or assembly).

for OP,

You need to first use an ADC with PIC. Give output of sensor to ADC. 10 bit ADC goes to 10 bits of DIP port in micro controller. Read the value in main loop. Your GSM modem operates in serial mode. So I would assume the serial in and serial out are connected with other two port bits of mc. once value is read, generate sequence of commands from mc to serial out for sending the message.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900