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 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 Zoltán Zörgő 99
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web01 | 2.8.141220.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