Difference between revisions of "Wiring Considerations"

From LinuxMCE
Jump to: navigation, search
 
(52 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<p>Wiring is often the biggest hurdle in any whole house system because most such products use their own, proprietary wiring. That means tearing open walls to run their special cabling, which is often very thick and difficult to manage. With LinuxMCE, on the other hand, everything is IP based. That means it plugs into an Ethernet network (the same network that powers the Internet and virtually all office and home networks). An Ethernet network runs on Cat5 (or cat5e/cat6) cable. This cable is commonly installed in homes already, since it is used for most phone systems as well as a home network. If your home does not already have cat 5 cabling, cat 5 is definitely one of the smaller, easier wires to run. What's more, because home networks are so desirable for internet access and file/printer sharing, installing cat5 cabling in a house is well worth the cost and will increase the resale value, even without a LinuxMCE system. This is another advantage of LinuxMCE's use of the industry standard cable. The cable by itself, even without the LinuxMCE system, is very useful to have. When you have an Ethernet/cat5 jack, you can not only plug in LinuxMCE equipment, you can plug in any personal computer, a printer, or a wide variety of other IP based devices.</p>
+
[[Category: Hardware| Wi]]
 +
{{versioninfo}}
 +
{| align="right"
 +
  | __TOC__
 +
  |}
 +
[[Category: Networking]]
 +
==Introduction==
  
<p>So the only wiring requirement is that you have Ethernet (cat5) going to every location where you want to either put a piece of LinuxMCE equipment (a Media Director, a LinuxMCE Phone, etc.) or any third party device that you want LinuxMCE to control (your lighting control system, alarm panel, pool controls, surveillance cameras, etc.). All LinuxMCE devices will plug directly into the jack. And there are 3 primary ways that LinuxMCE will control your existing, non-LinuxMCE equipment:</p>
+
Older, proprietary home automation and security systems traditionally have required their own dedicated wiring. Placing that wiring was often the biggest hurdle in installing such systems, and usually entailed tearing open walls in order to run the special cables (which were often very thick and difficult to manage).
  
<p>Ethernet (aka IP based) -- this is the best, and most flexible way to control equipment. This means the device already uses the same system LinuxMCE uses, and you can plug it into any jack. Chances are the LinuxMCE core will be able to configure it automatically and there will be nothing for you to do.</p>
+
In contrast, LinuxMCE uses standard Ethernet wiring and jacks. Because it is IP (Internet Protocol) based (the same protocol that runs the Internet and most local home and office networks), it runs directly over an Ethernet network. Ethernet networks use standard CAT5 (or CAT5e/CAT6) wiring with RJ-45 jacks. This wiring is often already pre-installed in recently-constructed homes, since it is now also used for many phone systems as well as for home networks. Even if your home does not already have CAT5e/CAT6 wiring pre-installed, CAT5e/CAT6 wires are some of the smaller, easier wires to install. Installing CAT5e/CAT6 wiring in a house is well worth the cost and will increase the resale value, even without a LinuxMCE system. Home networks (LANs) that are run over CAT5e-wired Ethernet connections are increasingly popular for Internet access and file/printer sharing throughout the home.
  
<p>RS232 -- common with non-a/v equipment (lighting systems, pool controls, etc), and some high-end a/v equipment. If your a/v equipment has an RS232 port, this is definitely preferable over Infrared.</p>
+
Thus, the only wiring requirement for LinuxMCE is that you have Ethernet (CAT5e/CAT6) wiring. All wired LinuxMCE devices (such as a PC used as a Media Director) will be able to directly plug into the RJ45 jack.
  
<p>Infrared -- most common with a/v equipment, it sends infrared codes just like a remote control. If you are going to be buying new a/v equipment, try to get devices that have an RS232 port. You will find that RS232 is much faster and more reliable. If you decide to buy a device that does not have RS232 and will use Infrared to control it, be sure to only buy a/v equipment that supports discrete codes. If you buy a/v equipment that does not support discrete codes, LinuxMCE will still control it, and control it better than your typical home automation system, however you will find the devices will be slow to respond, and may not be as reliable.</p>
+
==Wired vs. wireless connections==
  
<p>Even for the Infrared and RS232 devices, they will still ultimately plug into the Ethernet jack. There will just be a device that sits in between them and the Ethernet network. In the case of infrared, that devices is an interface module. You plug the interface module into the Ethernet network, and little i/r emitters into the interface module. The i/r emitters send infrared codes just like your remote control. In the case of RS232 devices, you can plug them either into an interface module, or into the core, or into any of your LinuxMCE Media Directors.</p>
+
Note, however, that not all LinuxMCE devices require a wired connection. Many can connect [[Wireless Networking|wirelessly]], if you have a wireless access point connected to the LinuxMCE [[Core]] server. However, it is easiest for the main components, the [[Core]] and the [[Media Directors]], to be connected in a wired fashion.
  
****<br>
+
==CAT5 vs. CAT5e vs. CAT6 vs. Fiber-optic==
  Can LinuxMCE run wireless?<br>
+
 
  What if my home doesn't have cat 5?<br>
+
*CAT5 wiring uses the smallest gauge wires, which are stranded. It was the standard for many years and can be used for data speeds up to 100 Mb/sec. However, the increased speeds and loads of modern LANs place a strain on the characteristics of this wire. It is no longer recommended as the wiring standard. In general 100 Mb/sec speeds can transmit 7 simultaneous DVD quality video streams.
  What is proper cat5 cabling?<br>
+
 
***
+
*CAT5e wiring was recently used as the wiring standard, and uses a somewhat higher gauge solid wire. This enables the transmission of data at 250 Mb/sec to 1000 Mb/sec (Gigabit), used by newer LANs. At these speeds, it is more reliable over long distances. In general, Gigabit data transmission speeds can transmit 100 simultaneous DVD quality video streams (over short distances).
 +
 
 +
*CAT6 wiring uses even higher gauge wires. It is preferred for Gigabit speeds (1000 Mb/sec to 10,000 Mb/sec), especially over long distances. Until recently, such speeds were not common, but rapid advancements in routers have made Gigabit networks the norm. Therefore, CAT6 wire should be installed whenever possible.
 +
 
 +
Obviously, even if you use higher gauge CAT5e and CAT6 wires, you will not achieve the higher data transmission speeds unless all your network components (cables, connectors, network cards, switches, etc.) also support higher data transmission speeds.
 +
 
 +
*Fiber optic cables theoretically have the highest transmission rate, but are currently expensive and difficult to install (because if they are bent during installation the fibers can break). Routers to connect to fiber optic cables are not readily available for the consumer, either. However, this is the ultimate in forward-thinking cabling for your house, and it will not be long before fiber optic cable will be standard in home construction. Fiber optic cables will replace your phone, television cable, and ethernet cables, so that one fiber optic cable will carry all those signals.
 +
 
 +
*Many commercial buildings use conduits for cabling, to allow easy cable runs and replacement of existing cables in the future. Conduits can be made of simple PVC pipes (like those used for irrigation), but most builders are reluctant to install them. Nevertheless, they do not take much effort to install during a new home construction, are not expensive, and provide superior protection for cables, especially fragile fiber optic cables. They will also prevent chewing on cables by varmints (such as squirrels and mice).
 +
 
 +
==Using pre-installed CAT5 placed for telephone systems==
 +
 
 +
It is possible but not wise to use the same wire for the telephone system and the LAN (see the discussion page for more details). Telephone systems run their own power over the CAT5 lines in a configuration different from Ethernet devices. If you connect an Ethernet device to a live telephone line, you can burn out the Ethernet device unless you are very careful about tracing the leads. While some users have wired analog phone and ethernet on the same CAT5 wire, it is strongly discouraged.                   
 +
 
 +
However, most new telephone installations include redundant CAT5 wires that are not connected to the telephone system. (For example, my home is wired with two CAT5 wires to each location, one connected to a telephone jack and one left unconnected.)
 +
 
 +
It is very easy to use a redundant CAT5 wire for the LAN by connecting it to an additional RJ-45 jack, which can then be added to the same outlet. The wire must then be traced to the other end, which will almost always be at the telephone patch panel for your home (where hopefully it will also be unconnected) and connected to the LAN there, instead. (This presumes, of course, that at the location of the telephone patch panel you have a router, switch, or RJ45 connection (to the rest of your LAN) to which you can connect this wire (using an RJ-45 connector).)
 +
 
 +
==Ethernet wiring standards==
 +
It is important to note that there are two wiring standards for Ethernet, T568A and T568B. My local electrician was clueless about this and wired all my CAT5 connections wrong.
 +
 
 +
For a quick tutorial, see [http://www.ertyu.org/steven_nikkel/ethernetcables.html this guide on wiring Ethernet connections].
 +
 
 +
Most Ethernet wiring is currently done using the T568B standard, and I highly recommend you stick to it. However, you must be aware of deviations from this standard. For example, my Ethernet-wired surveillance cameras all use the T568A standard. This took me a long time to figure out, and, again, my electrician wired them all incorrectly.
 +
 
 +
It is tricky to adapt T568A to T568B -- you need a special type of cross-over cable. This is somewhat complex. For the most part, I recommend you just wire everything using the T568B standard.
 +
 
 +
==Audio cabling==
 +
In some instances, you may wish to install cabling for audio signals (line in/out audio, speakers, etc.) to or from your LinuxMCE system. If an audio cable is close to the power lines, the audio cable will pick up 50 or 60 Hz frequency power line noise. This will cause a "humming" in your audio signal which is very annoying. In general low-volt audio wires should be at least 18 inches away from power lines, not run parallel to power lines for more than 2 feet, and should cross perpendicular to power lines whenever possible. If you are planning to install audio cabling in your home, take a look at the [http://www.hometech.com/learn/audio.html Whole-House Audio Tutorial] from HomeTech Solutions. (It is not LinuxMCE specific but is very informative.)
 +
 
 +
Also see:
 +
[http://en.wikipedia.org/wiki/EIA_568A What is proper CAT5 cabling?]
 +
 
 +
[http://www.crutchfield.com/Learn/learningcenter/home/inwall_wiring.html In-wall Wiring Guide]

Latest revision as of 21:34, 1 October 2010

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

Introduction

Older, proprietary home automation and security systems traditionally have required their own dedicated wiring. Placing that wiring was often the biggest hurdle in installing such systems, and usually entailed tearing open walls in order to run the special cables (which were often very thick and difficult to manage).

In contrast, LinuxMCE uses standard Ethernet wiring and jacks. Because it is IP (Internet Protocol) based (the same protocol that runs the Internet and most local home and office networks), it runs directly over an Ethernet network. Ethernet networks use standard CAT5 (or CAT5e/CAT6) wiring with RJ-45 jacks. This wiring is often already pre-installed in recently-constructed homes, since it is now also used for many phone systems as well as for home networks. Even if your home does not already have CAT5e/CAT6 wiring pre-installed, CAT5e/CAT6 wires are some of the smaller, easier wires to install. Installing CAT5e/CAT6 wiring in a house is well worth the cost and will increase the resale value, even without a LinuxMCE system. Home networks (LANs) that are run over CAT5e-wired Ethernet connections are increasingly popular for Internet access and file/printer sharing throughout the home.

Thus, the only wiring requirement for LinuxMCE is that you have Ethernet (CAT5e/CAT6) wiring. All wired LinuxMCE devices (such as a PC used as a Media Director) will be able to directly plug into the RJ45 jack.

Wired vs. wireless connections

Note, however, that not all LinuxMCE devices require a wired connection. Many can connect wirelessly, if you have a wireless access point connected to the LinuxMCE Core server. However, it is easiest for the main components, the Core and the Media Directors, to be connected in a wired fashion.

CAT5 vs. CAT5e vs. CAT6 vs. Fiber-optic

  • CAT5 wiring uses the smallest gauge wires, which are stranded. It was the standard for many years and can be used for data speeds up to 100 Mb/sec. However, the increased speeds and loads of modern LANs place a strain on the characteristics of this wire. It is no longer recommended as the wiring standard. In general 100 Mb/sec speeds can transmit 7 simultaneous DVD quality video streams.
  • CAT5e wiring was recently used as the wiring standard, and uses a somewhat higher gauge solid wire. This enables the transmission of data at 250 Mb/sec to 1000 Mb/sec (Gigabit), used by newer LANs. At these speeds, it is more reliable over long distances. In general, Gigabit data transmission speeds can transmit 100 simultaneous DVD quality video streams (over short distances).
  • CAT6 wiring uses even higher gauge wires. It is preferred for Gigabit speeds (1000 Mb/sec to 10,000 Mb/sec), especially over long distances. Until recently, such speeds were not common, but rapid advancements in routers have made Gigabit networks the norm. Therefore, CAT6 wire should be installed whenever possible.

Obviously, even if you use higher gauge CAT5e and CAT6 wires, you will not achieve the higher data transmission speeds unless all your network components (cables, connectors, network cards, switches, etc.) also support higher data transmission speeds.

  • Fiber optic cables theoretically have the highest transmission rate, but are currently expensive and difficult to install (because if they are bent during installation the fibers can break). Routers to connect to fiber optic cables are not readily available for the consumer, either. However, this is the ultimate in forward-thinking cabling for your house, and it will not be long before fiber optic cable will be standard in home construction. Fiber optic cables will replace your phone, television cable, and ethernet cables, so that one fiber optic cable will carry all those signals.
  • Many commercial buildings use conduits for cabling, to allow easy cable runs and replacement of existing cables in the future. Conduits can be made of simple PVC pipes (like those used for irrigation), but most builders are reluctant to install them. Nevertheless, they do not take much effort to install during a new home construction, are not expensive, and provide superior protection for cables, especially fragile fiber optic cables. They will also prevent chewing on cables by varmints (such as squirrels and mice).

Using pre-installed CAT5 placed for telephone systems

It is possible but not wise to use the same wire for the telephone system and the LAN (see the discussion page for more details). Telephone systems run their own power over the CAT5 lines in a configuration different from Ethernet devices. If you connect an Ethernet device to a live telephone line, you can burn out the Ethernet device unless you are very careful about tracing the leads. While some users have wired analog phone and ethernet on the same CAT5 wire, it is strongly discouraged.

However, most new telephone installations include redundant CAT5 wires that are not connected to the telephone system. (For example, my home is wired with two CAT5 wires to each location, one connected to a telephone jack and one left unconnected.)

It is very easy to use a redundant CAT5 wire for the LAN by connecting it to an additional RJ-45 jack, which can then be added to the same outlet. The wire must then be traced to the other end, which will almost always be at the telephone patch panel for your home (where hopefully it will also be unconnected) and connected to the LAN there, instead. (This presumes, of course, that at the location of the telephone patch panel you have a router, switch, or RJ45 connection (to the rest of your LAN) to which you can connect this wire (using an RJ-45 connector).)

Ethernet wiring standards

It is important to note that there are two wiring standards for Ethernet, T568A and T568B. My local electrician was clueless about this and wired all my CAT5 connections wrong.

For a quick tutorial, see this guide on wiring Ethernet connections.

Most Ethernet wiring is currently done using the T568B standard, and I highly recommend you stick to it. However, you must be aware of deviations from this standard. For example, my Ethernet-wired surveillance cameras all use the T568A standard. This took me a long time to figure out, and, again, my electrician wired them all incorrectly.

It is tricky to adapt T568A to T568B -- you need a special type of cross-over cable. This is somewhat complex. For the most part, I recommend you just wire everything using the T568B standard.

Audio cabling

In some instances, you may wish to install cabling for audio signals (line in/out audio, speakers, etc.) to or from your LinuxMCE system. If an audio cable is close to the power lines, the audio cable will pick up 50 or 60 Hz frequency power line noise. This will cause a "humming" in your audio signal which is very annoying. In general low-volt audio wires should be at least 18 inches away from power lines, not run parallel to power lines for more than 2 feet, and should cross perpendicular to power lines whenever possible. If you are planning to install audio cabling in your home, take a look at the Whole-House Audio Tutorial from HomeTech Solutions. (It is not LinuxMCE specific but is very informative.)

Also see: What is proper CAT5 cabling?

In-wall Wiring Guide