Control and Monitor via SMS

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: Control and Monitor via SMS

Postby silver » Wed May 15, 2013 7:08 pm

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
Attachments
error.gif
error after build
silver
Greenhorn
 
Posts: 3
Joined: Wed May 15, 2013 6:34 pm

Re: Control and Monitor via SMS

Postby waiweng83 » Thu May 16, 2013 9:24 am

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?
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: Control and Monitor via SMS

Postby silver » Fri May 17, 2013 12:13 am

PIC18F4550 from cytron
silver
Greenhorn
 
Posts: 3
Joined: Wed May 15, 2013 6:34 pm

Re: Control and Monitor via SMS

Postby waiweng83 » Fri May 17, 2013 11:58 am

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.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: Control and Monitor via SMS

Postby silver » Sun May 19, 2013 3:18 am

Thanks.. can you teach how to modify the source code.. I really do not know how to modify.
silver
Greenhorn
 
Posts: 3
Joined: Wed May 15, 2013 6:34 pm

Re: Control and Monitor via SMS

Postby waiweng83 » Mon May 20, 2013 1:42 pm

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.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: Control and Monitor via SMS

Postby ncg223 » Sat Jan 18, 2014 2:10 am

hi
base on the schematic diagram may i know that the DB-9 connector is male or female connector??
ncg223
Newbie
 
Posts: 8
Joined: Fri Jan 17, 2014 6:13 pm

Re: Control and Monitor via SMS

Postby ober » Mon Jan 20, 2014 10:47 am

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.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: Control and Monitor via SMS

Postby ncg223 » Mon Jan 20, 2014 5:28 pm

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??
ncg223
Newbie
 
Posts: 8
Joined: Fri Jan 17, 2014 6:13 pm

Re: Control and Monitor via SMS

Postby ober » Sun Jan 26, 2014 7:16 am

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.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

PreviousNext

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 6 guests