how to control room lights via PC and microcontroller
-
Hi, I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands send to PC and is further forwarded to microcontroller ATMEGA8 but i donot have any idea how to start with.Can any one give me some circuit diagram based on this microcontroller circuit for controlling room lights through commands sent from pc to microcontroller. I want to connect microcontroller with PC via RS232. For the time being i just want to control one light using one relay. I shall be really thankful if anyone can send me the circuit diagram. Thanks for help in advance.
-
Hi, I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands send to PC and is further forwarded to microcontroller ATMEGA8 but i donot have any idea how to start with.Can any one give me some circuit diagram based on this microcontroller circuit for controlling room lights through commands sent from pc to microcontroller. I want to connect microcontroller with PC via RS232. For the time being i just want to control one light using one relay. I shall be really thankful if anyone can send me the circuit diagram. Thanks for help in advance.
There are a number of articles on such subjects here at CodeProject. Have a look at these[^] and these[^]. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
There are a number of articles on such subjects here at CodeProject. Have a look at these[^] and these[^]. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
Hi, I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands send to PC and is further forwarded to microcontroller ATMEGA8 but i donot have any idea how to start with.Can any one give me some circuit diagram based on this microcontroller circuit for controlling room lights through commands sent from pc to microcontroller. I want to connect microcontroller with PC via RS232. For the time being i just want to control one light using one relay. I shall be really thankful if anyone can send me the circuit diagram. Thanks for help in advance.
Send the SMS to the girlfriend and get her to turn the lights off?
Dr D Evans "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s" financialpost
-
Send the SMS to the girlfriend and get her to turn the lights off?
Dr D Evans "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s" financialpost
I have a lots of girlfriends.No need of this humble advice. Anyways i am also a girl.
-
I have a lots of girlfriends.No need of this humble advice. Anyways i am also a girl.
-
How about just sending message to your pc via cellphone then your pc will process it (programming) and send output through parallel port or com port. that should do it. we created it last year via VB 6 ;P
Yes thats what i want to do this via parallel port and i have come to know that it can be done through relays without using microcontroller?? Is it possible?? Can you send me the circuit diagram for that? Here is the link also: http://michael.hinespot.net/circuit.php Can i use the circuit diagram described in above tutorial?
-
Yes thats what i want to do this via parallel port and i have come to know that it can be done through relays without using microcontroller?? Is it possible?? Can you send me the circuit diagram for that? Here is the link also: http://michael.hinespot.net/circuit.php Can i use the circuit diagram described in above tutorial?
my fault as i recall i connect my cellphone(3310) to my PC (parallel port)[i think i dont use any PIC i just use the nokia cable CP tp PC] then when i text that cellphone the text will appear on Visual basic textbox then my output goes to my parallel port as well first you need to know the pin config of parallel port(output and input) WATCH TUTORIAL im still finding the site where i get the schematics but it is possible
-
my fault as i recall i connect my cellphone(3310) to my PC (parallel port)[i think i dont use any PIC i just use the nokia cable CP tp PC] then when i text that cellphone the text will appear on Visual basic textbox then my output goes to my parallel port as well first you need to know the pin config of parallel port(output and input) WATCH TUTORIAL im still finding the site where i get the schematics but it is possible
-
Hi, I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands send to PC and is further forwarded to microcontroller ATMEGA8 but i donot have any idea how to start with.Can any one give me some circuit diagram based on this microcontroller circuit for controlling room lights through commands sent from pc to microcontroller. I want to connect microcontroller with PC via RS232. For the time being i just want to control one light using one relay. I shall be really thankful if anyone can send me the circuit diagram. Thanks for help in advance.
There are many ways to accomplish this: 1. Using a PC and a phone (connected with serial cable). 2. Using a microcontroller and a phone or GSM module. 3. Using PC and microcontroller and phone. Obviously the third option is redundant. Now regarding the which way to go (option 1 or 2) this depends if: 1. You know how to program embedded systems (and you know the flow of programming ATmega) or you want to learn. 2. You are an experienced PC (Windows/Linux) programmer. As i am building embedded systems for many years i can provide you some info for the first option. 1. You can directly connect the phone to ATmega using the UART (of AVR). The phones normally have TTL logic level output for their serial port (and this is why you might need a level translator to RS-232 levels if you connect the phone to PC Serial port). Unless your phone provides a USB only connection (and this depends from the phone manufacturer and model) you can connect the ATmega to the Phone through the TTL serial port. I believe most elder phones have serial TTL interface. 2. The microcontroller have to drive the Relay(s).In the following link you can find way to do it (btw you will need similiar circuits if you drive from the parallel port): http://www.scienceprog.com/drive-relay-with-avr-microcontroller/[^] 3. You have to write the software on ATmega (obviously) to control the phone (i believe AT commands) get the messages and activate accordingly the relays. If it is of any help to you i have a relative article for a simple non-preemptive OS for AVR that you can use as platform to begin building your application. AVRILOS: A simple OS for AVR microcontrollers[^] Hope this helps.
-
There are many ways to accomplish this: 1. Using a PC and a phone (connected with serial cable). 2. Using a microcontroller and a phone or GSM module. 3. Using PC and microcontroller and phone. Obviously the third option is redundant. Now regarding the which way to go (option 1 or 2) this depends if: 1. You know how to program embedded systems (and you know the flow of programming ATmega) or you want to learn. 2. You are an experienced PC (Windows/Linux) programmer. As i am building embedded systems for many years i can provide you some info for the first option. 1. You can directly connect the phone to ATmega using the UART (of AVR). The phones normally have TTL logic level output for their serial port (and this is why you might need a level translator to RS-232 levels if you connect the phone to PC Serial port). Unless your phone provides a USB only connection (and this depends from the phone manufacturer and model) you can connect the ATmega to the Phone through the TTL serial port. I believe most elder phones have serial TTL interface. 2. The microcontroller have to drive the Relay(s).In the following link you can find way to do it (btw you will need similiar circuits if you drive from the parallel port): http://www.scienceprog.com/drive-relay-with-avr-microcontroller/[^] 3. You have to write the software on ATmega (obviously) to control the phone (i believe AT commands) get the messages and activate accordingly the relays. If it is of any help to you i have a relative article for a simple non-preemptive OS for AVR that you can use as platform to begin building your application. AVRILOS: A simple OS for AVR microcontrollers[^] Hope this helps.
-
Hi, I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands send to PC and is further forwarded to microcontroller ATMEGA8 but i donot have any idea how to start with.Can any one give me some circuit diagram based on this microcontroller circuit for controlling room lights through commands sent from pc to microcontroller. I want to connect microcontroller with PC via RS232. For the time being i just want to control one light using one relay. I shall be really thankful if anyone can send me the circuit diagram. Thanks for help in advance.
it is an cmplicated one but i think so far ..it has some sollution..such as...plc device..the plc device has two logic gates...1 and 0....now you have to think that how my call ..or mabile call will give an instruction of 1 and 0...so i think that transducer which can be installed at the end can solove this problem....pc is used ....