Home automation using a PC as controller

Post a reply


Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Home automation using a PC as controller

Re: Home automation using a PC as controller

Post by Tomi Engdahl on Fri Jul 17, 2009 7:22 am

Re: Home automation using a PC as controller

Post by vhert_08 on Fri Jul 03, 2009 5:52 am

Good day sir....can you give the importance of the study and the scope and limitation of sms based home appliances automation system. tnx.

Re: Home automation using a PC as controller

Post by Tomi Engdahl on Thu Feb 26, 2009 1:44 pm

Some information on X10:

X10 is an international and open industry standard for communication among electronic devices used for home automation, also known as domotics. It primarily uses power line wiring for signaling and control, where the signals involve brief radio frequency bursts representing digital information. A wireless radio based protocol transport is also defined.

The digital data consists of an address and a command sent from a controller to a controlled device. More advanced controllers can also query equally advanced devices to respond with their status. This status may be as simple as "off" or "on", or the current dimming level, or even the temperature or other sensor reading.

When the system is installed, each controlled device is configured to respond to one of the 256 possible addresses (16 house codes × 16 unit codes); each device reacts to commands specifically addressed to it, or possibly to several broadcast commands.

The protocol may transmit a message that says "select code A3", followed by "turn on", which commands unit "A3" to turn on its device. Several units can be addressed before giving the command, allowing a command to affect several units simultaneously. For example, "select A3", "select A15", "select A4", and finally, "turn on", causes units A3, A4, and A15 to all turn on.

After allowing for retransmission, line control, etc, data rates are around 20 bit/s, making X10 data transmission so slow that the technology is confined to turning devices on and off or other very simple operations.

Source: http://en.wikipedia.org/wiki/X10_(industry_standard)

If this is the way of controlling you want and you can use ready made X10 devices on field, X10 might be a good option.


IR remote control allows with suitable hardware much hither data bandwidth. The downsize of IR remote is that you need visible path between the transmitter and receiver for the IR communications to work.

Then for wireless controlling there are also radio based systems.... short range radio communications carrying serial data, Bluetooth, WLAN etc..

Re: home auttomation through pc using wirless hub

Post by RUBI on Wed Feb 25, 2009 10:08 am

HI TOMI
thanx for showng kind concern,actualy i m doing my research thesis project.what is ur openion abt my project becoz u know very well abt this feilde.i dontknw too much but i want to designe my project as i have user interface on pc,
user can on and off any device through givng commands on pc,now pc sends IR or X10 signals to main central hub.central hub sends that signals to related device which abt user has given command from pc.
plz tell me which will be best IR or X10?
what device will be used?
how many devices can connect to that central hub or device?
plz send me research artical about my project on my id.id is [email protected].
also give me guidline about my project how can i do different work on this topic.plz plz
i think now u can better understand my project.if it is possible then give me reply on my ID,i shall be thankful to uuuuuuuu

thanxxxxxxxxxxxxxxxxxxx

Re: home auttomation through pc using wirless hub

Post by Tomi Engdahl on Sun Feb 22, 2009 8:30 am

rubi wrote:hi Tomi,
plz tell me about detail my project.i want to do home automation through pc using hub which is wirless,pc sends signals to hub then hub sends that signals to other devices,plz tell how can work that system?what ports and devices will involved?tell me about device which is used as hub device? :?:


Your post raises few questions that needs to be answered to be able to give you more help information.

I understand "pc sends signals to hub then hub sends that signals to other devices" but you did not tell what kind of signals are being sent to devices. The type of signals for device contolling has pretty much effect on selecting what kind of device would be a suitable hub here. When you refer to "signals are being sent to device" what of the following you are referring to:
- turn the power going to device on/off
- serial port RS-232 signals to device
- send some other serial signals to device (RS-485, RS-422, fiber, etc..)
- send IR remote control signals to device
- send some wireless signals to device (specify standard to use)
- send X10 signals through mains power

My question would be what ports and devices will involved on things planned on being controlled with the hub ?

So give more details on your planned application and I can hopefully give you more more details how to do it.

home auttomation through pc using wirless hub

Post by rubi on Sat Feb 21, 2009 5:53 am

hi Tomi,
plz tell me about detail my project.i want to do home automation through pc using hub which is wirless,pc sends signals to hub then hub sends that signals to other devices,plz tell how can work that system?what ports and devices will involved?tell me about device which is used as hub device? :?:

Re: Home automation using a PC as controller

Post by Tomi Engdahl on Thu Dec 11, 2008 7:59 am

Typically the way to connect a PIC to a serial port is to use a MAX232 or similar IC between the RS-232 connector and the micrcontroller serial in/out pins. This IC does the signal level translation between micrcontroller TTL level signals and higher voltage RS-232 signals.

MAX232 Serial level converter
http://sodoityourself.com/max232-serial ... converter/
Image

Datasheets for that IC and several quite similar ICs can be found here
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1798

Here are some PIC processor and serial port example source code
http://www.microchipc.com/sourcecode/

Other hardware that could be useful when controlling real-life signals would be a buffer between the micrcontroller output pins and the things to control (small low voltage loads directly, higher power or voltage loads through a relay or SSR). One easy to use and good IC for this is ULN2804 Darlington array. You can find the datasheet here:
http://egweb.mines.edu/eggn482/labs/ULN2803.pdf

Re: Home automation using a PC as controller

Post by cloyotas2 on Wed Dec 10, 2008 1:09 am

hey..Nice post you got there.. I am a graduating college student from a school here in the Philippines.. I have this thesis project entitled "Web-based Appliance Monitoring And Control".. I am required to have the appliances connected to a hardware that is interfaced in a serial port of a PC. As a result, I need to include a PIC microcontroller for the project.. Honestly, I only got a limited idea about how this thing would work, what comprises the hardware, and what PIC to be used... I really need your help.. Please feel free to email me in my email address [email protected]... or simply reply to my post.. Thanks a lot for your time and help..

Please reply...

Re: Home automation using a PC as controller

Post by cloyotas on Sat Nov 29, 2008 9:47 am

hey..Nice post you got there.. I am a graduating college student from a school here in the Philippines.. I have this thesis project entitled "Web-based Appliance Monitoring And Control".. I am required to have the appliances connected to a hardware that is interfaced in a serial port of a PC. As a result, I need to include a PIC microcontroller for the project.. Honestly, I only got a limited idea about how this thing would work, what comprises the hardware, and what PIC to be used... I really need your help.. Please feel free to email me in my email address [email protected]... or simply reply to my post.. Thanks a lot for your time and help..

Re: Home automation using a PC as controller

Post by Tomi Engdahl on Sun Sep 14, 2008 6:37 pm

can you explain more detail how to connect light (i.e home fluorescent lamp)or other electrical appliance to the relay controlling circuit?


Let's think you have a circuit that has relay output.
Let's think you have an original light control wiring where you have a switch to control light on and off.
Just replace the switch with the relay output contacts and you have computer controlled light (on/off control).

NOTE: You need to take care of many electrical safely issues to make this connection safe. I skip the details here.

Re: Home automation using a PC as controller

Post by mohdhanafiah on Fri Sep 12, 2008 2:00 am

zackho wrote:hey...
can u tell me where can i find related studies on pc based home controller..where it controls light,aircondition, and other appliances..
thanks.


can you explain more detail how to connect light (i.e home fluorescent lamp)or other electrical appliance to the relay controlling circuit?
which circuit should i use? the relay controlling circuit or main power controlling circuit (using solid state relay) ?

please help me!

Some interresting links

Post by Tomi Engdahl on Wed Jun 13, 2007 2:37 pm

For those interested in using industrial I/O cards for home automation I/O applications here are two web pages that are worth to check:

THE DIGITAL I/O HANDBOOK
The Digital I/O Handbook
A Practical Guide to Industrial Input & Output Applications
http://www.sealevel.com/knowledgebase/a ... icle_id=65

Digital I/O Explained
Renowned technical author Jon Titus and the President and CEO of Sealevel Systems, Tom O'Hanlan, clearly explain real-world digital input/output implementation from both a hardware and software perspective. Whether you are a practicing engineer or a student, The Digital I/O Handbook will provide helpful insight you will use again and again.
Read Featured Chapters, free online.


Data Acquisition with Comedi
http://www.linuxjournal.com/article/7332

One standard platform provides a uniform API for many data acquisition boards under Linux operating system. You even can try it out with the standard PC parallel port.

Comedi, or Control and Measurement Device Interface, is the standard suite of data acquisition drivers and libraries for Linux. Started in 1996 by David Schleef, Comedi attempts to support multiple vendors and models of cards through a common interface.

Comedi is separated into two parts. Comedi itself is the package of drivers that are loaded into kernel space, and comedilib gives user-space access to those drivers. It is through comedilib that the transparency of Comedi shines. Programs using Comedi can be written in C or C++. Perl and Python bindings also exist for Comedi.

Comedi project home page
http://www.comedi.org/

Comedi is a collection of drivers for a variety of common data acquisition plug-in boards. The drivers are implemented as a core Linux kernel module providing common functionality and individual low-level driver modules.

* Integrated real-time support for most hardware
* High-level library (comedilib)
* Application-level device independence
* Works with Linux 2.0, 2.2, 2.4, 2.6 kernels


Installing the Comedi Module for the Linux Kernel
http://he3.dartmouth.edu/pci-ioc/LinuxIOC_2.html

The Control and Measurement Device Interface handbook
http://www.linux-usb-daq.co.uk/dev2/com ... index.html

Re: related topics on pc based home controller..

Post by rabia on Thu Nov 16, 2006 8:33 am

zackho wrote:hey...
can u tell me where can i find related studies on pc based home controller..where it controls light,aircondition, and other appliances..
thanks.

MisterHouse: Home Automation with Perl

Post by webmaster on Wed Nov 01, 2006 2:48 pm

Here is a very interresting looking home autiomation open source project:

MisterHouse: Home Automation with Perl
http://misterhouse.sourceforge.net/

MisterHouse - Home automation program
MisterHouse is a home automation program. It responds to voice commands, Web browsers, time of day, serial port and X10 data, external files, etc., and can speak via Text to Speech engines.

Interfaces: web, daemon
Source languages: Perl

MisterHouse is an open source home automation program. It's fun, it's free, and it's entirely geeky. Written in Perl, it fires events based on time, web, socket, voice, and serial data. It currently runs on Windows 95/98/NT/2k/XP and on most Unix based platforms, including Linux and Mac OSX.

Perl subroutines and objects are used to give a powerful programming interface.

Check also links to related projects at
http://directory.fsf.org/MisterHouse.html

Interresting link

Post by Tomi Engdahl on Tue Aug 08, 2006 10:08 am

Here is an interresting article for everybody interrested in home automation to read:

How to Choose a Home Automation System
http://hometoys.com/article.php4?displayid=762

"A really interesting change occurs when home automation is installed. You begin to treat your home as one big unified system instead of a collection of smaller unrelated systems. When this happens, the possibilities and “what if’s” start to surface. This is where the fun begins!"

This part of article gives a good overview of the different control technology options:

"STEP #5 – Pick your control technologies.

Sadly, this step is often taken long before a clear understanding of the system is developed. Those who make this mistake usually end up wasting a lot of time and money. Remember: it’s much easier to choose technologies that fit your needs than it is to adjust your needs to fit your technology choices! As you review the options below, choose the technologies that best fit your needs and add them to your automation list.

Here are some common automation control technologies to consider:

Hard-wired – Wires (typically CAT5 cables) are run from a sub-system controller to each device. Typical application: Lighting and security PROs: These systems are very reliable and offer lightning-fast response. CONs: The devices and system controllers are often very expensive. Installation into existing homes can also be very expensive.

Powerline – Control signals are transmitted through the existing power lines of the home. Typical application: Lighting, appliances, HVAC, Motion sensors PROs: These systems are significantly less expensive than hard-wired systems and wall switches and lamp modules are generally very easy to install. CONs: Power line conditions in the home can fluctuate significantly and affect performance and reliability.

Wireless – Control signals are sent via radio frequency transmissions. Typical application: Lighting, appliances, HVAC, Motion sensors, Cameras PROs: These systems are significantly less expensive than hard-wired systems and wall switches and lamp modules are generally very easy to install. Reliability is very close to that of hard-wired systems. CONs: Since the standards based technologies are relatively young, availability of many devices is limited.

Serial (RS232, RS485) – Control signals are transmitted through serial cables. Typical application: Security, HVAC, Digital I/O (including sensors - temp, humidity, light) PROs: serial communications are very reliable and are used extensively in the security and HVAC industries. CONs: RS-232 serial cable runs typically cannot exceed 50 feet and installation into existing homes can also be very expensive or difficult to do.

Ethernet (Wired/Wireless Network) – Control signals are transmitted through network wiring. Typical application: Security, Digital I/O (including sensors), Infrared, Cameras PROs: Network communications are very fast and very reliable and are used extensively in the I.T. industry. Networked devices can sometimes be located outside the local network and used in remote locations. CONs: Installation into existing homes can be expensive if wireless network technologies cannot be used. There are very few devices available with a network interface.

Infrared (IR) – Control signals are sent via infrared (IR) transmissions. Typical application: Home Entertainment Equipment, Shade/Blind controllers PROs: IR control allows easy control of most TVs, DVD players and audio systems. CONs: IR signals are only reliable for ‘line of sight’ transmissions. Extending range for these devices requires additional equipment with added complexity and expense.

NOTE: Depending on your needs, you may need to mix multiple control technologies. If the controller you’ve chosen (in step #4) doesn’t allow enough flexibility to support all the technologies you require, you may need to backtrack and reconsider that choice."

Top

cron