I am a 2nd year electronics engineering student and am very interested in the idea of home automation. I have been toying with various ideas that I have come up with and I recently purchased a Phidget 8/8/8 interface board to start putting some of my ideas to use.
I would like to use LabView as the interface for the automation system and have been playing with some magnetic door contacts and some LM19 temperature sensors, trying to get values showing up in LabView. Everything seems to be working just fine but with only 8 digital outputs, I am fairly limited with the devices I can control.
I have come up with one idea that I would like to try out but I am having trouble figuring some things out. What I would like to do is use the Phidget as a simple interface between the PC and a microcontroller and use the microcontroller to control some of the lighting in the house (on/off and intensity).
If I can develop a communication protocol to send serial data from one of the digital outputs to the input of the microcontroller, then the idea would be I could send a 8+ bit signal that contains an address (ie the light I want to control) and some control bits that contain the light intensity (for dimming lights). For example, to start with, I could have 2 or 3 bits for the intensity which would give me 4 or 8 levels of brightness, and 5 or 6 bits for the address which would give 32 or 64 control lines. The microcontroller would output the intensity as an analog voltage along with the address bits to a demultiplexer that would fire the voltage off to the correct light.
What I would like to find out from you guys is:
1) Does this seem too complicated? Would there be an easier way (still encorporating the Phidget)
2) What is the safest way to actually control the lights? I've been toying with the idea of using a voltage controlled Triac circuit. Could this be installed in the existing light switch boxes?
The reason I am doing it this way and not going with a prebuilt system is mainly about the money but I think I would also learn a lot building it myself. I have not had the power electronics course at school yet but I have programmed Microchip microcontrollers and Alterra CPLDs and have lots of experience with multiplexing, ADCs, DACs etc.
Sorry if this is too long but I have all of these ideas and I figured you guys would know best
. Any help you can give would be wonderful. I love this website!
I would like to use LabView as the interface for the automation system and have been playing with some magnetic door contacts and some LM19 temperature sensors, trying to get values showing up in LabView. Everything seems to be working just fine but with only 8 digital outputs, I am fairly limited with the devices I can control.
I have come up with one idea that I would like to try out but I am having trouble figuring some things out. What I would like to do is use the Phidget as a simple interface between the PC and a microcontroller and use the microcontroller to control some of the lighting in the house (on/off and intensity).
If I can develop a communication protocol to send serial data from one of the digital outputs to the input of the microcontroller, then the idea would be I could send a 8+ bit signal that contains an address (ie the light I want to control) and some control bits that contain the light intensity (for dimming lights). For example, to start with, I could have 2 or 3 bits for the intensity which would give me 4 or 8 levels of brightness, and 5 or 6 bits for the address which would give 32 or 64 control lines. The microcontroller would output the intensity as an analog voltage along with the address bits to a demultiplexer that would fire the voltage off to the correct light.
What I would like to find out from you guys is:
1) Does this seem too complicated? Would there be an easier way (still encorporating the Phidget)
2) What is the safest way to actually control the lights? I've been toying with the idea of using a voltage controlled Triac circuit. Could this be installed in the existing light switch boxes?
The reason I am doing it this way and not going with a prebuilt system is mainly about the money but I think I would also learn a lot building it myself. I have not had the power electronics course at school yet but I have programmed Microchip microcontrollers and Alterra CPLDs and have lots of experience with multiplexing, ADCs, DACs etc.
Sorry if this is too long but I have all of these ideas and I figured you guys would know best
