102
Introduction to Introduction to Integration Integration Minimum Required PC Configuration 1.7 GHz processor (2.0 GHz recommended) 2.0 GB RAM (4.0 GB recommended) 1280x800 screen resolution Windows® XP/Vista/Windows 7 Adobe® Flash® v10 or later Ethernet Port CDROM drive or USB port 1.2 GB available disk space External Mouse WAP – CrestronTechnicalInstitute KEY DCD57B4469 KEY DCD57B4469 ® 2011 Crestron Electronics, Inc. Specifications subject to change. All copyrights and trademarks property of their respective owners. 1

Introduction to Crestron Day 1 110420_Cla

Embed Size (px)

Citation preview

Page 1: Introduction to Crestron Day 1 110420_Cla

Introduction to Introduction to IntegrationIntegrationMinimum Required PC Configuration•1.7 GHz processor (2.0 GHz recommended)•2.0 GB RAM (4.0 GB recommended)( )•1280x800 screen resolution•Windows® XP/Vista/Windows 7•Adobe® Flash® v10 or later•Ethernet Port•CD‐ROM drive or USB portp•1.2 GB available disk space•External Mouse

•WAP – Crestron‐Technical‐Institute•KEY DCD57B4469•KEY ‐ DCD57B4469

® 2011 Crestron Electronics, Inc. Specifications subject to change. All copyrights and trademarks property of their respective owners. 1

Page 2: Introduction to Crestron Day 1 110420_Cla

Live “Facebook” TimeLive “Facebook” Time

Crestron Wants to Know….

h ?Who are you?For whom do you work?

What do you do for your company?What do you expect to receive from this class?What do you expect to receive from this class?

2

Page 3: Introduction to Crestron Day 1 110420_Cla

PointsPoints of Interestof Interest

Where are we?TrainingRoomWhere can we smoke?

Where are the restrooms?

We Rec cle!Restrooms

We Recycle!•Please be sure to discard items in

the correct containers.

Kitchen

Smoking AreaSmoking Area

3

Page 4: Introduction to Crestron Day 1 110420_Cla

House RulesHouse Rules

While inside Our Office:

•No Smoking in the office.No Smoking in the office.

•No Alcoholic beverages in the office.

•Please put cell phone on silent/vibrate.p p

•If you get a call, Please leave the room to take the call.

•Please stay in the training area unless accompanied by a Crestron employee.

When we are not in our office:

C t ill l th f dCrestron will supply the food.

4

Page 5: Introduction to Crestron Day 1 110420_Cla

Day 1 Day 1 

•Review of online material

•Software Verification

•Thinking Logically

•Planning for Success

•System Design

•Networks and Wiring

lb li•Toolbox live

•Programming with Composer Software

5

Page 6: Introduction to Crestron Day 1 110420_Cla

Day 2Day 2

•Programming with Composer Software

•Modifying in System Buildery g y

•Progress Check

•Conditional Statements

•Variable Devices (How to make smaller panel projects)

•Automation with no user input

id i hi i ild•Video Switching in System Builder

•Sharing information  between Processors

6

Page 7: Introduction to Crestron Day 1 110420_Cla

Day 3Day 3

•Progress Checkg

•Using Crestron modules from the web site.

•Final Practical & Written Exams

7

Page 8: Introduction to Crestron Day 1 110420_Cla

Review

8

Rev ew

Page 9: Introduction to Crestron Day 1 110420_Cla

M t I t ll / T lbM t I t ll / T lbSoftware VerificationMaster Installer / ToolboxMaster Installer / Toolbox

Open ToolboxCheck Tool icons on the top tool bar.

Open Master InstallerOpen Master InstallerCheck for all green checkmarks?

Run, if needed.

9

Page 10: Introduction to Crestron Day 1 110420_Cla

Thinking Logically

10

Page 11: Introduction to Crestron Day 1 110420_Cla

Thinking LogicallyThinking Logically

• Algorithm: an ordered sequence of bi d ll d fi d i t tiunambiguous and well‐defined instructions 

that performs some task and halts in finite timetime

• Pseudocode: is a compact and informal high‐level description of a an algorithm that useslevel description of a an algorithm that uses the structural conventions of a programming language, but is intended for human readinglanguage, but is intended for human reading rather than machine reading. 

11

Page 12: Introduction to Crestron Day 1 110420_Cla

AlgorithmAlgorithman ordered sequence of unambiguous and well defined instructions

• an ordered sequencemeans that you can

an ordered sequence of unambiguous and well-defined instructionsthat performs some task and halts in finite time

an ordered sequencemeans that you can number the steps (it's socks then shoes!) 

• unambiguous and well defined instructions• unambiguous and well‐defined instructionsmeans that each instruction is clear, do‐able, and can be done without difficultyand can be done without difficulty 

• performs some task• halts in finite time (algorithms terminate!) 

12

Page 13: Introduction to Crestron Day 1 110420_Cla

AlgorithmAlgorithmThree Categories of Algorithmic Operations

• sequential operations ‐ instructions are

Three Categories of Algorithmic Operations

sequential operations  instructions are executed in order 

• conditional ("question asking") operations ‐ aconditional ( question asking ) operations  a control structure that asks a true/false question and then selects the next instruction based on the answer 

• iterative operations (loops) ‐ a control structure that repeats the execution of a block of instructions 

13

Page 14: Introduction to Crestron Day 1 110420_Cla

Thinking LogicallyThinking Logically

Pasta for six •get a saucepan

•go to the kitchen sink•place the pan under Pasta for six

•boil 1 quart salty water

get a saucepan•fill it with water

•add salt

the faucet•turn on the water•when the water level is close to thewater

•stir in the pasta

add salt•put it on the stove•turn on to high

it til it b il

level is close to the top of the pan, turn off the water

•cook on medium until “al dente”

•wait until it boils

•serve

14

Page 15: Introduction to Crestron Day 1 110420_Cla

Input Input –– Process Process ‐‐ OutputOutput

• Input ‐ Is the term denoting either an entrance or changes which activate or modify a process.

P• Process ‐ Typically describes the act of taking something through an established and usually routine set of procedures to convert it from one form to another.to convert it from one form to another.

• Output ‐ Is the term denoting either an exit or changes which occur as a result of a process. 

15

Page 16: Introduction to Crestron Day 1 110420_Cla

Meet with Customer

Determine Needs

Design System

Verify Design

Identify Problems

Input Input –– Process Process –– Output ModelOutput Model

16

Page 17: Introduction to Crestron Day 1 110420_Cla

Planning For SuccessgThe right steps will lead to success and a successful project will 

lead to more referrals• Obtaining Information• Managing Expectations• Project PlanningProject Planning

– Best Practices– Gear Selection– Set Installation Expectationsp

• Implementation

17

Page 18: Introduction to Crestron Day 1 110420_Cla

Obtaining Informationg

Page 19: Introduction to Crestron Day 1 110420_Cla

Obtaining Information

• What equipment must be re‐used?Ask, Ask and Ask some more…

g

q p– Special features? – Can you replace the same features, 

affordably and give the customer a better experience?

• What types of systems have they used before?

– What did they like about it?– What didn’t they like about it?

• Are there any special features they are y p ylooking for that you should be aware of?

• Ask advantage specific leading questions– If it were easy would you want to ?If it were easy, would you want to…?– Would you use the system more often if…?

19

Page 20: Introduction to Crestron Day 1 110420_Cla

Obtaining InformationWhy ask all these questions?

g

Question Type What it tells us

Main user? • Most of the objections will not come from this person.• Most of the features need to be geared toward what this person enjoys and where it is enjoyed. 

Household lifestyle ?

• Which areas are the most important to this specific household and why.• Experience features that are of value to this specific household: party mode, all rooms off, 

remote access, eControl, etc.• Features to offer in the main quote and features for the upgrade quote.• Where to place the budget emphasis; audio quality, video quality, ease of use, number of globalWhere to place the budget emphasis; audio quality, video quality, ease of use, number of global 

sources, multi‐zone audio quality, interior design aspects, etc.

Equipment ? • Customers want to re‐use things, sometimes for rational reasons and sometimes not.• Can it be replaced with a unit that will be easier for you to integrate and give a better 

experience?p

Previous Experiences?

• Things other gear has done that they enjoyed – repeat that type of experience.• More importantly, find out about what they didn’t like and make sure not to repeat that 

experience.

20

Page 21: Introduction to Crestron Day 1 110420_Cla

Obtaining Information

• What equipment must be used?Walk‐through checklist, what you do every day

g

q p• What drivers are available?• Where will the gear be located?• How will the wires be run?• How will the wires be run?• Do you need to hire a licensed electrician?• What loads will be attached to dimmers or switches?• What type of HVAC system does the thermostat control?• What does the RF environment look like?• Do I have enough head‐room in the system for expansion?g y p

21

Page 22: Introduction to Crestron Day 1 110420_Cla

Obtaining Information

• How to get startedProgramming Design Kit

g

g• Concepts of designing a system• Questions to ask the end user

22

Page 23: Introduction to Crestron Day 1 110420_Cla

Managing Expectations

• Predefine how you will present System expectations for you and your client

g g p

y pthe system

• Describe how the customer will use the system within theuse the system within the lifestyle they expressed

• Focus on current system capabilities

• Inform the customer of any required timelinesq

• Identify a project completion date or possible date

23

Page 24: Introduction to Crestron Day 1 110420_Cla

Project PlanningDefine where you are, where you’re going, and the best way to 

get there

j g

• Best Practices– RF/Mesh network– Firmware– Wiring

• Set Expectations– Create a scope of work– Map every project, start to finish– Set timelines

• Test• Deliver

– Install– Demonstrate– Retrieve customer sign‐off

24

Page 25: Introduction to Crestron Day 1 110420_Cla

Best Practices ‐ RFNo matter where you are going, installation best practices are 

fundamental keys to success

• Many of the devices in Prodigy are RF devices

• The Best Practices for InstallationThe Best Practices for Installation and Setup of Crestron RF Devices will help prevent many RF issues f i ifrom arising.

25

Page 26: Introduction to Crestron Day 1 110420_Cla

Best Practices ‐ RFInstallation positioning tips and much more

26

Page 27: Introduction to Crestron Day 1 110420_Cla

Mesh Network TechnologyEvery device acts as a repeater, providing multiple redundant signal paths for consistent signal strength and stability for the 

gy

entire network

Page 28: Introduction to Crestron Day 1 110420_Cla

Best Practices ‐ RF

• Wi‐Spy is an RF spectrum Conducting a Site Survey

py panalyzer built into a small USB dongle that plugs into PCs 

• It detects the interference levels• It detects the interference levels across the 2.4 GHz band 

• Two versions available shown:      Wi‐Spy and Wi‐Spy 2.4x

• Available from online retailers• Look for WiFi Analyzer  There’s an App 

for that!yapplication for your smart phone. 

for that!

28

Page 29: Introduction to Crestron Day 1 110420_Cla

Best Practices ‐ RFA five minute reading can reduce hours of trouble‐shooting calls in the future 

29

Page 30: Introduction to Crestron Day 1 110420_Cla

Setting ExpectationsDefining a scope of work gives the customer an understanding of what they are paying for and identifies your responsibilities

g p

• The scope of work is a document written without industry jargon and terminology that defines the quote

– A simple description of the projects p e desc pt o o t e p oject– The customer should be able to relay the scope to their friends and 

family• Help the customer be more comfortable discussing their p gsystem and making referrals

– People are more likely to talk about things they enjoy and understand– Getting your systems talked about positively is the quickest way to g y y p y q y

more referrals• Discuss features that will not be included to reduce confusion

30

Page 31: Introduction to Crestron Day 1 110420_Cla

Setting ExpectationsA well written scope with a signature explains to the customer 

when the project is complete

g p

• A sign‐off on the scope puts the expectations in writing• Close the door on free change‐orders• Avoid free service calls• Leave the User Guide as a system user manual.• Create a material symbol that the project is complete

31

Page 32: Introduction to Crestron Day 1 110420_Cla

Setting ExpectationsThe documents generated from within the composer will catalog the bill of materials and connections

g p

32

Page 33: Introduction to Crestron Day 1 110420_Cla

Test

• Before going to the site, build the system in your shopTest the system prior to delivering the projectg g , y y p

• Check the documentation generated in Composer to make sure you have the correct Crestron gear and have landed the devices in the correct locationsdevices in the correct locations

• Load the project, fully test, and create a test plan for the jobsite

• It is easier to test in your office, than on site in front of your customer

• Properly label all the connectionsp y• Prepare the documentation to take with you to the site

33

Page 34: Introduction to Crestron Day 1 110420_Cla

DeliverGo to the job with a written scope of work and documentation:

install, demonstrate, and retrieve a sign‐off• Use the test plan created earlier to test and validate system functionality 

• If you fully tested the system in your shop previously it will beIf you fully tested the system in your shop previously, it will be easier to identify wiring issues, or other items.

• Have the customer go through the system with you and on th i t th k h t th ttheir own to ensure they know how to use the system

• Make sure the customer is content and agrees that the system has been delivered as promised

• Obtain a sign‐off that the system is complete– Immediately– After a “break‐in” period (30 Days)

34

Page 35: Introduction to Crestron Day 1 110420_Cla

System DesignSystem Design

VS

Martini, C ti

ProfessionalConversation 

and a bar NapkinDesign

35

Page 36: Introduction to Crestron Day 1 110420_Cla

System Design System Design ‐‐ VenuesVenues

• Residential • Event Centers• Residential• Corporate

• Event Centers• Health Care

• Government• Hospitality

• Houses of Worship• Broadcastp y

• Transportation • Educational

36

Page 37: Introduction to Crestron Day 1 110420_Cla

System Design System Design ‐‐ TypesTypes

• Ad Hoc ‐ Is a Latin phrase which, literally, means "For this". It ll f l d d f f blgenerally signifies a solution designed for a specific problem or 

task, non‐generalizable, and which cannot be adapted to other purposes.

• Design ‐ Typically describes a plan for the construction of an object. 

• Cookie Cutter ‐ Is defined as a "lack of originality or distinction", a reference to the uniformity that results from thedistinction , a reference to the uniformity that results from the use of a cookie cutter. 

37

Page 38: Introduction to Crestron Day 1 110420_Cla

System Design System Design –– Ad HocAd Hocd h l l l h h fAd Hoc, while requiring little thought up front, can 

become disastrous, if not done correctly. Without a clear understanding of the customers wants– Without a clear understanding of the customers wants and needs, it will be very hard to meet those needs.

– Opens the door for the customer to say “Joe said I could p yhave this while you are here.” While Joe may have said the customer could have it, he may not have said that the customer could have it for the same pricecustomer could have it for the same price.

– Service could become difficult for anyone but the installer (and sometimes for them too) since, if the drawings were done after the job was complete, each person will have figure out how it’s all connected and how it works.how it works.

38

Page 39: Introduction to Crestron Day 1 110420_Cla

System Design System Design –– Custom DesignCustom Design

Custom Design, while taking more time upfront, will help eliminate questions during installation– Customers needs have been defined and can be met.

• Work with the customer to differentiate between need and want• Work with the customer to differentiate between need and want. Just because we can, does not mean we should. (Motors/Fire)

– Eliminates questions once on site.S i i i i th i i l d i il bl– Service is easier since the original designs are available.

NOTE: Even with a pre‐Designed system, As‐Built drawings p g y , gshould be completed once the job has been signed off.

39

Page 40: Introduction to Crestron Day 1 110420_Cla

System Design System Design –– Cookie CutterCookie Cutter

The Cookie Cutter is the easiest and can be the most cost effective.– Design is already done before talking to the customer.– Equipment can be bulk ordered saving time and money.

i h bili ‘ ll’ h– Requires the ability to ‘sell’ the customer on your system.– May not meet the wants/needs of the customer.

40

Page 41: Introduction to Crestron Day 1 110420_Cla

System Design System Design –– One OffOne Off

The One Off design starts with a Cookie Cutter design th t i th t i d f i di id l tthat is then customized for individual customers.– Most of the design is already done before talking to the customer.cus o e

– Can be designed with prescribed ‘options’ so customer can order a‐la‐carte.

– Equipment can be bulk ordered saving time and money.– Allows flexibility.B tt bl t t th t / d f th t– Better able to meet the wants/needs of the customer.

41

Page 42: Introduction to Crestron Day 1 110420_Cla

System DesignSystem Design

What is the Input for the System Design?

What is the Process during the System Design?

What is the Output of System Design?

42

Page 43: Introduction to Crestron Day 1 110420_Cla

Networks & Wiring

43

Page 44: Introduction to Crestron Day 1 110420_Cla

Control Methods / NetworksControl Methods / Networks

• Wired • WirelessWired– RS‐232/422/485Relay

Wireless– infinet‐EXWiFi– Relay

– I/OIP

– WiFi– IR

– IP– DMC– Cresnet

44

Page 45: Introduction to Crestron Day 1 110420_Cla

Wired Control Methods

45

Page 46: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– RSRS‐‐232/422/485232/422/485

46

Page 47: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– RSRS‐‐232/422/485232/422/485

PIN DIRECTION DESCRIPTION12 To Crestron (RXD) RS‐232 Receive Data3 From Crestron (TXD) RS‐233 Transmit Data45 Ground RS‐232 Signal Common6

7 From Crestron * (RTS) RS‐232 Request to Send, Only use if selected in SimplWindows program.

* (CTS) RS‐232 Clear to Send Only use if8 To Crestron  (CTS) RS‐232 Clear to Send, Only use if selected in SimplWindows program.

9

47

Page 48: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– RSRS‐‐232/422/485232/422/485

PIN DIRECTION DESCRIPTION1 To Crestron (RXD‐) RS‐422 Receive Data (Idles Low)23

4 From Crestron (TXD+) RS‐422 Transmit Data (Idles high)5 Ground RS‐422 Signal Common6 To Crestron (RXD+) RS‐422 Receive Data (Idles high)

7

8

9 From Crestron (TXD‐) RS‐422 Transmit Data (Idles low)

48

Page 49: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– RSRS‐‐232/422/485232/422/485

Com (DB9) Connector DIRECTION DESCRIPTION

Tie Pins 1 & 9 together BiDirectional RS485 ‐

Tie Pins 4 & 6 together BiDirectional RS485 +

Pin 5 Ground RS485 Signal Ground

49

Page 50: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– RelayRelay

•RELAY OUTPUT 1 - 8: OU U 8

•(2) 8-pin 3.5mm detachable terminal blocks comprising (8) normally open, isolated relays;

•Rated 1 Amp, 30 Volts AC/DC;

•MOV (metal oxide varistor) arc suppression across contacts( ) pp

50

Page 51: Introduction to Crestron Day 1 110420_Cla

Control Methods Control Methods –– I/OI/O

9 i 3 5 d t h bl t i l bl k i i (8) di it l•9‐pin 3.5mm detachable terminal block comprising (8) digital input/output or analog input ports (referenced to GND);

•Digital Input:•Digital Input: •Rated for 0‐24 Volts DC, input impedance 20k ohms, logic threshold 1.24 Volts DC;

•Digital Output: •250mA sink from maximum 24 Volts DC, catch diodes for use with “real world” loads;

•Analog Input: •Rated for 0‐10 Volts DC, protected to 24 Volts DC maximum, input impedance 20k ohms;

51

Page 52: Introduction to Crestron Day 1 110420_Cla

Wireless Control Method

52

Page 53: Introduction to Crestron Day 1 110420_Cla

Infra Red (IR)

53

Page 54: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks ‐‐ IRIR

• Infrared (IR) light is electromagnetic radiation with a• Infrared (IR) light is electromagnetic radiation with a wavelength between 0.7 and 300 micrometers, which equates to a frequency range between approximately 1 and 430 THz

• IR wavelengths are longer than that of visible light, but shorter than that of terahertz radiation microwaves. Bright sunlight provides an irradiance of just over 1 kilowatt per square meterprovides an irradiance of just over 1 kilowatt per square meter at sea level. Of this energy, 527 watts is infrared radiation, because of this, sunlight can cause interference with IR t i itransmission.

54

Page 55: Introduction to Crestron Day 1 110420_Cla

Wired Control Networks

55

Page 56: Introduction to Crestron Day 1 110420_Cla

TCP/IP (IP)

56

Page 57: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– IPIP

•8-wire RJ45 with 2 LED indicators; 10/100BaseT Ethernet port;8 e J 5 t d cato s; 0/ 00 ase t e et po t;

•Green LED indicates link status;

Yellow LED indicates Ethernet activity•Yellow LED indicates Ethernet activity

57

Page 58: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– IPIP

VS

•The TIA/EIA 568‐A standard which was ratified in 1995, was replaced by /the TIA/EIA 568‐B standard in 2002 and has been updated since. 

•Both standards define the T‐568A and T‐568B pin‐outs for using Unshielded Twisted Pair cable and RJ‐45 connectors for Ethernet connectivityconnectivity. •The standards and pin‐out specification appear to be related and interchangeable, but are not the same and should not be used interchangeablyinterchangeably.

58

Page 59: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– IPIP

A good way of remembering how to wire a Crossover Ethernet cable is to wire one end using the T‐568A standard and the other end using the T‐

568B standard. Another way of remembering the color coding is to simply y g g p yswitch the Green set of wires in place with the Orange set of wires. 

Specifically, switch the solid Green (G) with the solid Orange, and switch the green/white with the orange/white.

59

Page 60: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– IPIPThat's it! Use a CAT tester to test for continuity and your cable is complete. 

PIN # Wire Color

1 White/Orange

2 Orange

3 White/Green

4 Bl4 Blue

5 White/Blue

6 Green

7 White/Brown7 White/Brown

8 Brown

568‐B Color Code

Note: If the cable does not test positive for continuity cut the connector off and start over.start over.

60

Page 61: Introduction to Crestron Day 1 110420_Cla

Control Networks ‐ IPControl Networks ‐ IP

• Now that I know what an ethernet cable is, what else do I need to know about setting up a network?

61

Page 62: Introduction to Crestron Day 1 110420_Cla

Terminologies

Control Networks ‐ IPControl Networks ‐ IPTerminologies

• Network: is any collection of independent computers, printers, and peripheral devices that are connected by cables. A network incorporating e‐Control will also typically include connected Crestron control systems, network control modules, and touchpanels that control AV, lighting, and other equipment. 

• Node: is a device that is connected to the network. Networks can have tens, thousands, or even millions of nodes. 

• Local Area Networks (LANs): are usually confined to a geographicLocal Area Networks (LANs): are usually confined to a geographic area, such as a single building or a college campus. LANs can be small, linking as few as two or three computers, but often can link hundreds of computers used by thousands of people. p y p p

• Wide Area Networks (WANs): such as the Internet combine multiple LANs that are geographically separate.

62

Page 63: Introduction to Crestron Day 1 110420_Cla

Control Networks ‐ IPControl Networks ‐ IPIdentifying a DeviceIdentifying a Device on the Network or “Addressing”on the Network or “Addressing”

• Static IP addressThe IP address subnet mask default router etc are set in

Identifying a DeviceIdentifying a Device on the Network or  Addressingon the Network or  Addressing

– The IP address, subnet mask, default router, etc. are set in the device.

• Is recommended for devices that are always on.• Is required to Host a web site.q• Does not require a DHCP server to be used. (Dynamic Host Configuration Protocol)

• Dynamic IP addressTh IP dd b k d f l i d– The IP address, subnet mask, default router, etc. are issued upon connection of the device and removed when that device is logged off.

• Used for users that are not connected for long periods of g ptime.

• Administration can be handled from a central location so requires limited or no on‐site time by IT professionals.

• Requires DHCP server to issue IP address• Requires DHCP server to issue IP address.

63

Page 64: Introduction to Crestron Day 1 110420_Cla

Control Networks ‐ IPControl Networks ‐ IP

What is an IP Address??

• It is a 32 bit number that defines the exact location, and the devicedevice.

• 192.168.1.100

64

Page 65: Introduction to Crestron Day 1 110420_Cla

Control Networks ‐ IPControl Networks ‐ IP

What is a Subnet??

• A subnet is a range of logical addresses within the address space that is assigned to an organization 

• For example suppose a home network consists of computers• For example, suppose a home network consists of computers named Foo and Bar, connected to a router, and then via a cable modem to the internet. The home network is configured as a subnet. Address 192.168.1.100 is assigned to Foo, andas a subnet. Address 192.168.1.100 is assigned to Foo, and 192.168.1.101 to Bar. The subnet has been configured so that the first three bytes of its members' addresses are all the same subnet id, 192.168.1, and this fact is expressed by the subnet mask 255.255.255.0

65

Page 66: Introduction to Crestron Day 1 110420_Cla

b k l i d

Control Networks ‐ IPControl Networks ‐ IPSubnet Mask Explained 

(well kind of)

Foo 192 168 1 100

Bar 192 168 1 101

SubnetSubnetMask 255 255 255 0

Res lts All Others All Others All Others NothingResults ‘Masked’ ‘Masked’ ‘Masked’g

‘Masked’

66

Page 67: Introduction to Crestron Day 1 110420_Cla

Control Networks ‐ IPControl Networks ‐ IP

What is a Default Gateway or Router?

• A default gateway is a node (a router) on a computer network that serves as an access point to anothernetwork that serves as an access point to another network.

• The default gateway address is usually an interface g y ybelonging to the LAN's border router.

• In other words, it is an entry point and an exit point in a networknetwork.

67

Page 68: Introduction to Crestron Day 1 110420_Cla

What are Control Ports?Control Networks ‐ IPControl Networks ‐ IP

Think of IP addresses as the street address of an apartment building, and the control port number as the number of a particular

What are Control Ports?The Internet Assigned Numbers Authority (IANA) is responsible for the global coordination of the Control Port numbers.

and the control port number as the number of a particular apartment within that building.– All IP Communications use a Control Port.

Port Name PurposePort Name Purpose21 FTP File transfer Protocol23 Telnet Computer Communication25 SMTP Simple Mail Transfer Protocol53 DNS Domain Name System80 HTTP Hypertext Transfer Protocol 110 POP3 Post Office Protocol 151 SNMP Simple Network Management Protocol151 SNMP Simple Network Management Protocol 41794 CIP Crestron Internet Protocol  ‐ (Crestron to Crestron)41795 CTP Crestron Terminal Protocol  ‐ (PC to Crestron)

68

Page 69: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron

• Each Ethernet device has its own IPIDIP IDs

• Each Ethernet device has its own IPID• 252 Device ID’s can be on the IP Network• De ice connections are managed in the IP• Device connections are managed in the IP Table

Page 70: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron

• IP Table–– List of ethernet connectionsList of ethernet connections–– Has two parts Has two parts 

IPIDIPID th d i th t k t th d i i thth d i th t k t th d i i th•• IPID IPID ‐‐maps the device on the network to the device in the programmaps the device on the network to the device in the program•• IP Address IP Address –– maps to the device that will manage the connectionmaps to the device that will manage the connection

–– Crestron devices Crestron devices –– CNXGateway locationCNXGateway location–– 33rdrd Party devices Party devices –– ethernet Server/Client (usually the other device)ethernet Server/Client (usually the other device)

Page 71: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron•The 1st generation of Crestron etherent

card (CN-ENET) was no more than a NIC (Network Interface Card).

•The network was configured with software•The network was configured with software, called the CNXGateway, running on a

computer on the network.

•The program in the control system defined an ethernet interface (much like a

touchpanel on the Cresnet) that pointed to the software.

•For a computer on the network to access•For a computer on the network to access the control system, it would also point to the

CNXGateway software.

•The CNXGateway provides the interpretation from TCP/IP to CIP (Crestron

Internet Protocol).

Page 72: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron

•Beginning with the second generation of Crestron etherent card (CN-ENET+), the CNXGateway was placed on the card.

•The program in the control system still defines an interface that points to the

software but since the software now resides on the processor the program needs toon the processor, the program needs to

point to the processor’s own etherent card.

•Address 127.0.0.1 can be used in place of the processor address as it is a universal

l b k ddloopback address.

•For a computer on the network to access the control system, it still points to the CNXGateway software (now on theCNXGateway software (now on the

processor).

Page 73: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron• An example of a Crestron InterfaceIPIDIPID IP AddressIP Address IPIDIPID IP AddressIP Address

03 192.168.1.101 03 127.0.0.104 127.0.0.1

ProcessorCEN-TRACK

192.168.1.102

192.168.1.10104 192.168.1.101

Switch

CEN-iDOC

192.168.1.103192.168.1.103

Page 74: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron• An example of a Crestron InterfaceIPIDIPID IP AddressIP Address IPIDIPID IP AddressIP Address

WiFi Panel

05 192.168.1.101 05 127.0.0.106 127.0.0.1

ProcessorWAP

192.168.1.104

192.168.1.10106 192.168.1.101

Switch

Touchpanel

192.168.1.105

Page 75: Introduction to Crestron Day 1 110420_Cla

Networking with CrestronNetworking with Crestron• An example of a Crestron Intersystem network

IPIDIPID IP AddressIP Address IPIDIPID IP AddressIP Address07 192.168.1.101 07 192.168.1.102

ProcessorProcessor

Switch

192.168.1.102 192.168.1.101

Page 76: Introduction to Crestron Day 1 110420_Cla

• An example of a Crestron Remote Network

IPIDIPID IP AddressIP Address IPIDIPID IP AddressIP AddressIPIDIPID IP AddressIP Address IPIDIPID IP AddressIP Address08 64.23.10.101 08 192.168.1.101

WANProcessor

XPanel Router

Ports to forward

192.168.1.101External Network

8041794

WEB PagesControlToolBox 41795 Internal Network

Switch

Page 77: Introduction to Crestron Day 1 110420_Cla
Page 78: Introduction to Crestron Day 1 110420_Cla

Cresnet

78

Page 79: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

4‐pin 5mm detachable terminal block

79

Page 80: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Like This…Like This…

80

Page 81: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

And ThisAnd ThisAnd This…And This…

81

Page 82: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Or thisOr thisOr this…Or this…

82

Page 83: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Or thisOr thisOr this…Or this…

83

Page 84: Introduction to Crestron Day 1 110420_Cla

Small DiameterLarge Diameter

Control Networks Control Networks –– CresnetCresnet

Wire CutterSmall Diameter

Wire StripperLarge Diameter

Wire Stripper

Use The Correct Tool…Use The Correct Tool…

84

Page 85: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

How Is It Done?How Is It Done?How Is It Done?How Is It Done?

85

Page 86: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Cut the Wire to lengthCut the Wire to lengthCut the Wire to length…Cut the Wire to length…

86

Page 87: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Strip theStrip the OuterOuter JacketJacketStrip the Strip the Outer Outer Jacket…Jacket…

87

Page 88: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Strip theStrip the OuterOuter JacketJacketStrip the Strip the Outer Outer JacketJacket

88

Page 89: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Fan out WiresFan out WiresFan out Wires…Fan out Wires…

89

Page 90: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

For long runs, do not For long runs, do not remove the drain. It should remove the drain. It should be connected at the end be connected at the end h l dh l dwhere power is supplied where power is supplied 

and left “floating” on the and left “floating” on the other end.other end.

Twist the ‘trash’Twist the ‘trash’Twist the ‘trash’…Twist the ‘trash’…

90

Page 91: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Cut off the ‘trash’Cut off the ‘trash’Cut off the ‘trash’…Cut off the ‘trash’…

91

Page 92: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Strip the WiresStrip the WiresStrip the Wires…Strip the Wires…

92

Page 93: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Wires Stripped and TwistedWires Stripped and TwistedWires Stripped and Twisted…Wires Stripped and Twisted…

93

Page 94: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Connect Red & Black WiresConnect Red & Black WiresConnect Red & Black Wires…Connect Red & Black Wires…

94

Page 95: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Connect Red & Black WiresConnect Red & Black WiresConnect Red & Black Wires…Connect Red & Black Wires…

95

Page 96: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks –– CresnetCresnet

Add the White & Blue WiresAdd the White & Blue WiresAdd the White & Blue Wires…Add the White & Blue Wires…

96

Page 97: Introduction to Crestron Day 1 110420_Cla

Cable TerminationsCable Terminations

• There are online videos available to show youThere are online videos available to show you how to terminate Crestron’s DM copper and DM fiberDM fiber

97

Page 98: Introduction to Crestron Day 1 110420_Cla

Wireless Control Networks

98

Page 99: Introduction to Crestron Day 1 110420_Cla

Wireless Ethernet (WiFi)

99

Page 100: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks ‐‐WiFiWiFi

• 802 11 Channels802.11 Channels– What frequency?– How many channels are there?y

2.417GHz1 6 11

2.447GHz1

23

4

6

78

9

11

1213

145 10

100

Page 101: Introduction to Crestron Day 1 110420_Cla

Control Networks Control Networks ‐‐WiFiWiFi

• SSID (Service Set Identifier)( )– Identifies a wireless LAN with a name 

that can be up to 32 characters in length.g

– This name is generally broadcast to all wireless device within range.

– Use WiSpy to find all networksUse WiSpy to find all networks

101

Page 102: Introduction to Crestron Day 1 110420_Cla

102