Click here to Skip to main content
13,401,801 members (50,462 online)
Rate this:
Please Sign up or sign in to vote.
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 10-Jan-13 5:25am
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...
Member 10786704 30-Apr-14 16:52pm
I simply don't understand

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180218.2 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100