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.

Incoming call based Motor ON/OFF

Status
Not open for further replies.

ragav4456

Full Member level 4
Full Member level 4
Joined
Aug 1, 2012
Messages
228
Helped
19
Reputation
38
Reaction score
17
Trophy points
1,308
Visit site
Activity points
2,568
Hi

am using sim 300 for this project. here am doing incoming call based and number entering in keypad based motor on / off system.

How to receive after attend the call, pressed keypad values?

pressed Keypad value based motor On/off.
Eg- Press 8- Motor On, Press 9- Motor Off.

Emergengy, Reply quickly.

Thanks
 

You want to dial a number from Tx board to Rx board and if Rx board receives the call then you want to press some keys at Tx board and depending upon control the motor ON/OFF at Rx board ???

If yes, the Tx system has to send ATDxxxxxxxxxx; command to Rx board. The Tx system should wait till a response for call received is received. If true then keypad routine should be enabled. Now you enter key and the keyvalue is sent to Rx board. Rx board reads the keyvalue and depending upon the value turns ON/OFF the motor. At Tx board you should also provide a option to redial number say 3 times if the call was not received and take some other action after this.

You have to use AT+CLCC to get the status of dial. You might also need to implement code to reset GSM at both RX and Tx system if GSM responds to commands (say 3 attempts). Connect GSM reset pin to microcontroller for this purpose.

Do you also want to use keypad for dialing purpose?
 
Last edited:

AT+CLCC command is not working. i studied in gsm AT command datasheet, Mention List of current calls of me.
 

The command is for SIM900. I don't know command for SIM300. Read SIM300 AT Command manual. For SIM900 if you give

AT+CLCC

you get

AT+CLCC

+CLCC: 1,0,3,0,0,"99xxxxxxxx",129

OK

as response.

You can see 3 in the response. The position corresponding to 3 in response have different value during dialing, after dialing and if call is active.


https://www.activexperts.com/serial-port-component/tutorials/gsmdial/


Edit: If you want to control device from any modile then give the below command to receiver GSM modem.

AT+CLIP=1
//Send once

AT+CLIP=1
//response
OK

//Incoming call is notified as below

RING

+CLIP: "xxxxxxxxxxxx",145,"",0,"",0

RING

+CLIP: "xxxxxxxxxxxx",145,"",0,"",0

You have to do it only once. When ever the modem receives a call (Incoming call) you get

RING

+CLIP: "xxxxxxxxxxxx",145,"",0,"",0

You can read this using microcontroller.

Read post#8 and #9 here.

https://www.8051projects.net/t59453/embedded-gsm-development/i-want-few-at-commands-sim300-gsm.htm
 
Last edited:
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top