Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ATCommands
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
Comments
Sergey Alexandrovich Kryukov at 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
Member 10786704 at 30-Apr-14 16:52pm
   
I simply don't understand

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 520
1 Mathew Soji 335
2 BillWoodruff 260
3 OriginalGriff 215
4 Afzaal Ahmad Zeeshan 188
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,028
3 Manas Bhardwaj 4,539
4 Maciej Los 3,845


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2014
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