Click here to Skip to main content
16,015,991 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am doing a project something like that, It works in a way that the user with a specific cell number can make a call through GSM technology. System receives the call and performs the respective action as instructed by the user such as controlling the light through relay based circuit. System also sends the voice message to the preconfigured cell number to tell the status of appliances or if it finds any kind of intrusion at home. USB voice GSM modem is used to send the return voice message to preconfigured number. Voice GSM is used to send the wav file to preconfigured number through AT commands. A relay based circuit is used to control the appliances this circuit is attached with system through DB-23 male parallel port. This application is develop in .Net framework using the language C#. Microsoft speech SDK 5.0 is used for speech reorganization purpose. so please anyone help me with this code.
Posted
Comments
[no name] 7-Jun-14 8:48am    
Okay so what sort of "help" is it that you are looking for? Have you tried anything? Done any research at all? Written any code?
Member 10865287 7-Jun-14 11:43am    
actually i know the AT commands for modem like how to dial a number or receive a call. but didnt work with C# before. so i want a sample code for this project.
Member 10865287 7-Jun-14 12:22pm    
Systemoverview
User from anywhere being GSM available can make a call to system to check the status of appliances or control them . System in return checks the authenticity of the number and if it is from the preconfigured number then it follows the instruction otherwise it discard the call. As computer receives a call timer starts and it automatically discard the call after few seconds. The voice is understood by the Microsoft speech reorganization engine that is installed in the system. If the command is about changing the status of appliances it passes the signal to parallel port to follow the instruction like turn the appliances on or off. This can be done through relay based circuit. If command is to check the status of appliances the system returns the voice message to preconfigured number using AT Commands telling the status of appliances. On the other hand if system finds any kind of intrusion like opening of entrance door etc in the home it sends the voice message to user telling him about the intrusion as
Member 10865287 7-Jun-14 12:32pm    
Algorithm is
Begin
If hardware test fails
Return
End
Else if hardware tests succeed then
Successful communication
If system gets a call
Check the authenticity
If call not from the preconfigured number
Aboad the call
Else
Receive the call and listen the command
If command is about controlling the appliances
Send the signal to parallel port and control them
sends the respective voice message
If command is about knowing the status of appliances
Check the parallel port status of appliances and sends the status to that number
If system sense some intrusion in the home
Return the voice message to preconfigured number
End
[no name] 7-Jun-14 14:26pm    
Okay so go ahead and write the code. No one is going to write all this code for you.

I would NOT use a parallel port for this. Yes, it'll work, but you also risk blowing up the parallel port if your circuit is not designed properly to protect the port from voltage coming back to it form the relay, possibly exceeding it's tolerance.

I would use a microcontroller, such as an Arduino or Netduino or similar. If you screw up and blow those up, they are relatively cheap to replace compared to the cost of a motherboard.

Oh, and nobody makes a motherboard with a parallel port on it any more.
 
Share this answer
 
Comments
Member 10865287 7-Jun-14 11:44am    
my circuit is ok. just need the code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900