Page 2 of 4

Re: Control and Monitor via SMS

PostPosted: Wed May 15, 2013 7:08 pm
by silver
hello..
thx for view.
i already download the full source code for 'Control and Monitor via SMS' but i do not know how to change the phone no inside the source code.. can anybody help me? i already 2 type sofware, but both give out error. I try to build after change the phone no. but there is error as in pic

Re: Control and Monitor via SMS

PostPosted: Thu May 16, 2013 9:24 am
by waiweng83
silver WROTE:hello..
thx for view.
i already download the full source code for 'Control and Monitor via SMS' but i do not know how to change the phone no inside the source code.. can anybody help me? i already 2 type sofware, but both give out error. I try to build after change the phone no. but there is error as in pic


What is the model of the PIC you use?

Re: Control and Monitor via SMS

PostPosted: Fri May 17, 2013 12:13 am
by silver
PIC18F4550 from cytron

Re: Control and Monitor via SMS

PostPosted: Fri May 17, 2013 11:58 am
by waiweng83
The sample source code is written for PIC16F877A and it's not compatible with PIC18F. You will need to do some modification to the source code.

Re: Control and Monitor via SMS

PostPosted: Sun May 19, 2013 3:18 am
by silver
Thanks.. can you teach how to modify the source code.. I really do not know how to modify.

Re: Control and Monitor via SMS

PostPosted: Mon May 20, 2013 1:42 pm
by waiweng83
This depends on what C compiler are you using. The name of the SFR is different for different compiler.

The easiest way is to change your PIC to PIC16F877A and use High Tech C compiler. Then you can use the sample source code directly.

Re: Control and Monitor via SMS

PostPosted: Sat Jan 18, 2014 2:10 am
by ncg223
hi
base on the schematic diagram may i know that the DB-9 connector is male or female connector??

Re: Control and Monitor via SMS

PostPosted: Mon Jan 20, 2014 10:47 am
by ober
ncg223 WROTE:hi
base on the schematic diagram may i know that the DB-9 connector is male or female connector??


Which product are you referring to? and which schematic diagram? Are you referring to URS232A? If so, the hardware should be male DB9.

Re: Control and Monitor via SMS

PostPosted: Mon Jan 20, 2014 5:28 pm
by ncg223
hi, thanks for the info.
but i'm referring on the schematic diagram on the 1st page DB-9 connector.
viewtopic.php?f=21&t=11891 here is the link to the schematic diagram(1st page)
is the connection for male and female DB-9 connector is on the same pin??

Re: Control and Monitor via SMS

PostPosted: Sun Jan 26, 2014 7:16 am
by ober
ncg223 WROTE:hi, thanks for the info.
but i'm referring on the schematic diagram on the 1st page DB-9 connector.
viewtopic.php?f=21&t=11891 here is the link to the schematic diagram(1st page)
is the connection for male and female DB-9 connector is on the same pin??

Well, I cannot be sure now because the discussion is back in 2012 and the hardware is not here anymore. My advise would be:
1. Check the GSM modem with computer to verify the response at DB9/RS232 as shown in the User's Manual. Simple response of AT or OK should be fine.
2. Insert SIM card and try to send SMS to your phone from computer, again this is shown in the User's Manual.
3. Preform a simple loop back test on the URS232A. Short pin 2 and pin 3 on DB9 using female jumper wire. Simply connect the 5V and GND, and RX of URS232A to your controller TX pin; and TX of URS232A to your controller RX pin. Data being sent out from controller will be ping back (loop back) to controller.