Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

mobile switch using microcontroller

Status
Not open for further replies.

pazko1125

Newbie level 4
Newbie level 4
Joined
Sep 24, 2008
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,351
sms controlled switch

my project is a SMS controlled switch using PIC, i only have a little idea on PIC programing. can anyone help me on this project? i need a circuit diagram and program code for the PIC.
 

gsm controlled switch

Hi,
first you tell me which controller you have to use in PIC and give me over view explanation about your project. which compiler you are going to use (i.e. Hi-tech C, CCS Compiler, C18 Compiler, asm nd etc.,)

anand
 

gsm controlled switch circuit diagram

Hey !


Same deal there ! I got some idea ...
Im up to build up timer switch thing ;)
I know how this should work ...

But i really do not know about programming much.
My top was a blinking led what was kick started with 5 lines of basic code...


There are developments boards with sim card support and example codes for sale but you need some more ... skill
 

cell phone controlled swich

Hi,
first you tell me which controller you have to use in PIC and give me over view explanation about your project. which compiler you are going to use (i.e. Hi-tech C, CCS Compiler, C18 Compiler, asm nd etc.,)

anand

actually that's my problem. i have used a PIC16F84a but only for making a timer. my project is, when someone text the cellphone a relay will be triggered, i only need one relay to trigger an alarm. and for the compiler i really don't have any idea on that. to be honest i really don't know how to begin and make this project work. and thanks for the comment.
 

sms switch

Hi,

If you want use only one relay for alarm purpose you can use pic16f688. in your project you have to use one GSM MoDEM for SMS receiving purpose. There are so many GSM modems are available in at various cost. then if you are deginner in PIC means go with CCS compiler. it will easy configure uart and port i/o. if you want circuit diagram 7 code,please ask me. I wil help you.


Anand
 

    pazko1125

    Points: 2
    Helpful Answer Positive Rating
sms controlled timer

Hi,

If you want use only one relay for alarm purpose you can use pic16f688. in your project you have to use one GSM MoDEM for SMS receiving purpose. There are so many GSM modems are available in at various cost. then if you are deginner in PIC means go with CCS compiler. it will easy configure uart and port i/o. if you want circuit diagram 7 code,please ask me. I wil help you.


Anand

yes, i really need your help. would you please give me a circuit diagram and code. and if possible can u give a guide on how to program the GSM MODEM cause i really don't know were to begin. thank you very much.
:D
 

cell phone controlled switch

Hi,
Please refer the circuit. then Please let me know which type of modem your going to use. Then i will send u coding details.

Anand
 

how to make a cellphone controlled switch

aanand,

i will use a sony ericson t610. thanks for the circuit.
 

sms controlled circuit diagram

Hi,
Don't use your existing mobile phone. Please any one of GSM modem. There are so many number modems available at market at various cost. like wavecom, BenQ, etc., this will be easy to connect your controller by uart.
 

pic controlled sms

aanand,

can i just use sony ericson t610 because i can't find a GSM modem here and it's the cheapest phone i can get. and for the cable maybe i should just solder wires directly to it's pin outs if it's okay. thanks.
 

at pocket gsm digicom manual input sms

hi,
in this project you need AT Command to communicate GSM modem to controller. If you have AT command for phone means you can use this or otherwise you want to buy GSM modem. I don't have any idea for this model phone AT command. please try to get AT command.
Anand
 

circuit diagram gsm controlled relay switch

hi guys, I'm also thinking about a project dealing with sms and PIC. Basically, my idea is that when someone send me an sms, my PIC will increase count variable and then automatically send back a sms with the count value. Can someone enlighten me a method to start, I'm currently using an 16f877
 

sms controlled by a pic microcontroller

wanbong said:
hi guys, I'm also thinking about a project dealing with sms and PIC. Basically, my idea is that when someone send me an sms, my PIC will increase count variable and then automatically send back a sms with the count value. Can someone enlighten me a method to start, I'm currently using an 16f877

Search for a modem with serial port and search for related set of AT commands, all you've to do is manage some AT commands to send the SMS. For a my design I've used a DIGICOM Pocket GSM, but there is many model other than this one that can be used.
Anyway first open the serial port to the modem.
When you've got the modem look at the AT command set, typically you can choose to use a SIM with PIN then you've to send:

AT+CPIN=XXXX<CR> (where XXXX stand for the SIM pin code, <CR> is a carriage retun)

wait for modem reply (in my case the string OK) and check if this has been accepted with this command:

AT+CPIN?<CR>

In my case reply will be with a string READY, now wait for the modem registration at the GSM network:

AT+CREG?<CR>

reply will be a tring +CREG: 0,1.
And so on, may be for other modem some command and related reply can be different but the idea is similar.

Also you can add other than the sms message a short voice call by using a digital recorder chip like the ISD1400 series (Winbond), usually modem have also the voice input then simply record and store the message into the ISD chip (you can store more than one message of 20 s in length) and then trough the PIC setup a modem voice call and when the calling is ready select the Play function in order to do a voice call. Just a idea.

Hope it help.

Bye
Pow
 

pic serial parse command ccs

For a start you have to learn how PIC USART works, try
sending and receiving data to a PC using Hyperterminal set at 9600,n.8,1 (same setting for PIC too) for AT commands.

Activating devices using SMS is parsing the text message received.
 
  • Like
Reactions: famin

    famin

    Points: 2
    Helpful Answer Positive Rating
gsm modem receive code in ccs c

aanand

here's a link for the AT commands. it's a long document, i hope it will help.

developer.sonyericsson.com/getDocument.do?docId=65054

i already tried sending AT command to a mobile phone using hyper terminal. can u teach how to send AT commands using the PIC and how to initialize the connection and variables needed.
thanks.

Added after 42 minutes:

penoy_balut said:
For a start you have to learn how PIC USART works, try
sending and receiving data to a PC using Hyperterminal set at 9600,n.8,1 (same setting for PIC too) for AT commands.

Activating devices using SMS is parsing the text message received.

thanks for the reply. are you a filipino? hope u can give me codes or tutorials on how to sent AT commands using PIC.
 

ccs + pic + serial + parse + commands

thanks for the reply. are you a filipino? hope u can give me codes or tutorials on how to sent AT commands using PIC.

Sending AT Commands depends on what programming language you are using, Assembly or C and also depends on particular compiler, the basic procedure for sending text messages are these steps:

AT <enter>
AT+CMGF = 1 <enter>
AT+CSCA = "your country's network message center" <enter>
AT+CMGS = "recipient phone number" <enter>
Your Message <Ctrl + Z>

FBUS can also be used but a little complicated than AT Commands
https://www.youtube.com/watch?v=jWnUlMEH25M
 

sms controlled project

TekUT said:
wanbong said:
hi guys, I'm also thinking about a project dealing with sms and PIC. Basically, my idea is that when someone send me an sms, my PIC will increase count variable and then automatically send back a sms with the count value. Can someone enlighten me a method to start, I'm currently using an 16f877

Search for a modem with serial port and search for related set of AT commands, all you've to do is manage some AT commands to send the SMS. For a my design I've used a DIGICOM Pocket GSM, but there is many model other than this one that can be used.
Anyway first open the serial port to the modem.
When you've got the modem look at the AT command set, typically you can choose to use a SIM with PIN then you've to send:

AT+CPIN=XXXX<CR> (where XXXX stand for the SIM pin code, <CR> is a carriage retun)

wait for modem reply (in my case the string OK) and check if this has been accepted with this command:

AT+CPIN?<CR>

In my case reply will be with a string READY, now wait for the modem registration at the GSM network:

AT+CREG?<CR>

reply will be a tring +CREG: 0,1.
And so on, may be for other modem some command and related reply can be different but the idea is similar.

Also you can add other than the sms message a short voice call by using a digital recorder chip like the ISD1400 series (Winbond), usually modem have also the voice input then simply record and store the message into the ISD chip (you can store more than one message of 20 s in length) and then trough the PIC setup a modem voice call and when the calling is ready select the Play function in order to do a voice call. Just a idea.

Hope it help.

Bye
Pow

thanks for ur reply. I have searched for some modem n their price are all 100+ but for my project I can afford only around 50$, can u rec me some cheap modem
 

sms using ccs c

Try to do a search here:

**broken link removed**

Hope it can help you.

Bye
Pow
 

pic receive gsm modem code in ccs c

penoy_balut said:
thanks for the reply. are you a filipino? hope u can give me codes or tutorials on how to sent AT commands using PIC.

Sending AT Commands depends on what programming language you are using, Assembly or C and also depends on particular compiler, the basic procedure for sending text messages are these steps:

AT <enter>
AT+CMGF = 1 <enter>
AT+CSCA = "your country's network message center" <enter>
AT+CMGS = "recipient phone number" <enter>
Your Message <Ctrl + Z>

FBUS can also be used but a little complicated than AT Commands
https://www.youtube.com/watch?v=jWnUlMEH25M

i'm going to use a PIC BASIC PRO compiler.
can u give me some coding using PIC?
thanks.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top