Click here to Skip to main content
15,921,716 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
QuestionTalking to a Projector Pin
harsimranb6-Jun-11 14:03
harsimranb6-Jun-11 14:03 
AnswerRe: Talking to a Projector Pin
Peter_in_27806-Jun-11 14:54
professionalPeter_in_27806-Jun-11 14:54 
QuestionComputer that doesn't start Pin
Joan M31-May-11 21:15
professionalJoan M31-May-11 21:15 
GeneralRe: Computer that doesn't start Pin
Joan M31-May-11 21:51
professionalJoan M31-May-11 21:51 
GeneralRe: Computer that doesn't start Pin
Joan M1-Jun-11 3:09
professionalJoan M1-Jun-11 3:09 
AnswerRe: Computer that doesn't start Pin
Dan Neely1-Jun-11 2:24
Dan Neely1-Jun-11 2:24 
GeneralRe: Computer that doesn't start Pin
Joan M1-Jun-11 3:08
professionalJoan M1-Jun-11 3:08 
GeneralRe: Computer that doesn't start Pin
Dan Neely1-Jun-11 3:25
Dan Neely1-Jun-11 3:25 
GeneralRe: Computer that doesn't start Pin
Joan M1-Jun-11 3:45
professionalJoan M1-Jun-11 3:45 
GeneralRe: Computer that doesn't start Pin
Albert Holguin20-Jun-11 5:34
professionalAlbert Holguin20-Jun-11 5:34 
QuestionJust finished a new driver for the client I am working for, not a single BSOD at all during dev and test. Pin
fat_boy18-May-11 3:49
fat_boy18-May-11 3:49 
QuestionAudio Drivers for LG V1 Express Dual Laptop Pin
Dewmini Gamlath12-May-11 4:58
Dewmini Gamlath12-May-11 4:58 
AnswerRe: Audio Drivers for LG V1 Express Dual Laptop Pin
Albert Holguin13-May-11 11:40
professionalAlbert Holguin13-May-11 11:40 
AnswerRe: Audio Drivers for LG V1 Express Dual Laptop Pin
janwel17-May-11 21:25
janwel17-May-11 21:25 
Questionhow to control room lights via PC and microcontroller Pin
aeman7-May-11 6:21
aeman7-May-11 6:21 
AnswerRe: how to control room lights via PC and microcontroller Pin
Luc Pattyn7-May-11 7:07
sitebuilderLuc Pattyn7-May-11 7:07 
GeneralRe: how to control room lights via PC and microcontroller Pin
aeman7-May-11 19:51
aeman7-May-11 19:51 
AnswerRe: how to control room lights via PC and microcontroller Pin
fat_boy8-May-11 23:43
fat_boy8-May-11 23:43 
GeneralRe: how to control room lights via PC and microcontroller Pin
aeman9-May-11 3:24
aeman9-May-11 3:24 
GeneralRe: how to control room lights via PC and microcontroller Pin
janwel9-May-11 21:41
janwel9-May-11 21:41 
GeneralRe: how to control room lights via PC and microcontroller Pin
aeman10-May-11 3:29
aeman10-May-11 3:29 
GeneralRe: how to control room lights via PC and microcontroller Pin
janwel10-May-11 22:34
janwel10-May-11 22:34 
GeneralRe: how to control room lights via PC and microcontroller Pin
aeman10-May-11 23:21
aeman10-May-11 23:21 
AnswerRe: how to control room lights via PC and microcontroller Pin
grilialex11-May-11 3:52
professionalgrilialex11-May-11 3:52 
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.
GeneralRe: how to control room lights via PC and microcontroller Pin
janwel11-May-11 15:52
janwel11-May-11 15:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.