Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Please comment on my project, GSM security sytem using SMS

Status
Not open for further replies.

umar_arshad

Newbie level 3
Joined
Jan 12, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Hello guys,
I've built this GSM security system as my semester project using T290i mobile and controlled my car using it. Please leave your comments about it.
If any one needs help in implementing such a system, I can help.

Some of the functions it can perform are:
* start and stop the engine (without using the key)
* stop the engine if somebody starts it with a key ( by cutting off ignition)
* lock and unlock the doors
* send a text message to the owner if an intruder is detected (by monitoring the doors)
* switch the heater/air conditioner on and off

You can see the complete details, pictures and download project files and source code from my website.
http://arshad-umar.blogspot.com/2009/09/gsm-vehicle-control-and-security-using.html
 

ATcom

Newbie level 5
Joined
Oct 2, 2009
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,395
Re: Please comment on my project, GSM security sytem using S

I would like to congradulate you because i am really struggling with the the similar project, but i only have to sent a text message in case thereis an intrusion in remote place. I have to use PIC16F877 to send AT commands to the GSM modem via the RS232 cable.
I am expected to programme the microcontroller using C code. So i have a bit of problem with how to programme AT commands using C. So, i am really desparate because i need to get going. So can you please help me with the code. Plsss i need your help
 

umar_arshad

Newbie level 3
Joined
Jan 12, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Re: Please comment on my project, GSM security sytem using S

ATcom said:
I would like to congradulate you because i am really struggling with the the similar project, but i only have to sent a text message in case thereis an intrusion in remote place. I have to use PIC16F877 to send AT commands to the GSM modem via the RS232 cable.
I am expected to programme the microcontroller using C code. So i have a bit of problem with how to programme AT commands using C. So, i am really desparate because i need to get going. So can you please help me with the code. Plsss i need your help
Yes i'll be happy to help. Tell me what problem are you facing.
 

ATcom

Newbie level 5
Joined
Oct 2, 2009
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,395
Re: Please comment on my project, GSM security sytem using S

I want to sent the following AT commands to the modem via the transmission(Tx) port of the PIC16F877 using C code. AT+CPIN = 1671, AT+CMGF=0

Here is the code i have been trying to assemble. Can you help me to correct this code. I don't know if i have to specify the Transmission ports of the controller. I do'nt also if the syntax of sending the commands is corrrect.
Plzz help me out.

#include <htc.h>
void main(void)
{
SerialPort port;
string str;
port = new SerialPort(cmbport.Text, 4800, Parity.None, 8, StopBits.One);
port.Handshake = Handshake.RequestToSend;
port.NewLine = System.Environment.NewLine;
port.ReadTimeout = 60000;
port.WriteTimeout = 5000;
port.Open();

port.WriteLine("AT\r");
port.putc("AT+CPIN = 1671\r");\\ sent pin#
port.putc("AT+CMGF = 0\r"); \\set PDU mode

}
 

Asad

Newbie level 1
Joined
Aug 11, 2004
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
8
Re: Please comment on my project, GSM security sytem using S

Dear umar_arshad
i am computer hardware engineerg. i do repair motherboards and various controller cards belongs to industries. i have learned about microcontroller duing my dimploa for long time ago. now a days i have started learn microcontroller and assembly language again. i will really glad to know to hear about ur project which is dream of me if i could do work like you. i will appreciate and thanks to you if you provide me complete diagrams+program for this project.

thank you
 

johncoths

Newbie level 1
Joined
Oct 30, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
Re: Please comment on my project, GSM security sytem using S

A AT commands to the modem via the transmissio(Tx) port so what happened for the command? how is the modem after that? is the modem have no reaction for the command? Just wanna know about those things.


_________________
Security Systems
 

Naveed Ahmed

Member level 4
Joined
Aug 31, 2008
Messages
77
Helped
9
Reputation
18
Reaction score
9
Trophy points
1,288
Location
Singapore
Activity points
1,862
Re: Please comment on my project, GSM security sytem using S

Hello dear congratz!

I also have used T290i mobile phone for my final year project. And worked on it one year ago. It worked finally to monitor the GPS based railway system.

Did you shorted pin4 and pin6 of DB9 connector which is connected with the serial cable?


Regards

Naveed Khowaja
 

umar_arshad

Newbie level 3
Joined
Jan 12, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Re: Please comment on my project, GSM security sytem using S

johncoths said:
A AT commands to the modem via the transmissio(Tx) port so what happened for the command? how is the modem after that? is the modem have no reaction for the command? Just wanna know about those things.
The modem echoes each character that is sent by you. and it also replies when it receives the complete command.

Added after 2 minutes:

Naveed Ahmed said:
Hello dear congratz!

I also have used T290i mobile phone for my final year project. And worked on it one year ago. It worked finally to monitor the GPS based railway system.

Did you shorted pin4 and pin6 of DB9 connector which is connected with the serial cable?


Regards

Naveed Khowaja
I didn't do that but I applied power to RTS pin, the max232 in the phone's serial cable gets power from it. What university are you from?
 

fiolin

Member level 1
Joined
Jul 22, 2009
Messages
34
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Location
Uruguay
Activity points
1,426
Re: Please comment on my project, GSM security sytem using S

Hi, I've used this circuit and work fine with my T290 and pic, but pay attention on tansistors all of them must be inverted, mean emiters must be connected to ground.
About serial cable only I used Tx, Rx and Gnd.
 

samersalahat

Newbie level 3
Joined
Nov 11, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Jordan
Activity points
1,303
Re: Please comment on my project, GSM security sytem using S

Hello all,
i have this project to do:
suppose that i have an analog signal and i want to send it using a GSM modem.

the block diagram of my system is:

analog signal -> PIC -> GSM modem -> GSM modem -> PC

i was wondering which PIC i should use? and if someone can provide me with the connection method and how to connect the PIC to the GSM modem and how to program it.

Thanks mates :)
 

jnash41

Newbie level 4
Joined
Nov 18, 2009
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Poland
Activity points
1,313
Re: Please comment on my project, GSM security sytem using S

@samersalahat

I advice you to use telemetric module NPE. It has analog input and gsm modem. So it is quite easy to use it in your case.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top