Professional Documents
Culture Documents
MinimumRequiredPCConfiguration 1.7GHzprocessor(2.0GHzrecommended) 2.0GBRAM( (4.0GBrecommended) ) 1280x800screenresolution WindowsXP/Vista/Windows7 AdobeFlashv10orlater EthernetPort p CDROMdriveorUSBport 1.2GBavailablediskspace ExternalMouse
2011 Crestron Electronics, Inc. Specifications subject to change. All copyrights and trademarks property of their respective owners.
LiveFacebookTime
CrestronWantstoKnow.
Who h areyou? ? Forwhomdoyouwork? Whatdoyoudoforyourcompany? Whatdoyouexpecttoreceivefromthisclass?
Points ofInterest
Where are we? Where can we smoke? Where are the restrooms? We Recycle! Rec cle!
Please be sure to discard items in the correct containers.
Smoking Area
HouseRules
WhileinsideOurOffice: NoSmokingintheoffice. NoAlcoholicbeveragesintheoffice. Pleasep putcellphone p onsilent/vibrate. Ifyougetacall,Pleaseleavetheroomtotakethecall. Pleasestayinthetrainingareaunlessaccompaniedbya Crestronemployee. Whenwearenotinouroffice: C t will Crestron illsupply l the th f food. d
Day1
Reviewofonlinematerial SoftwareVerification ThinkingLogically PlanningforSuccess SystemDesign NetworksandWiring Toolbox lb li live ProgrammingwithComposerSoftware
5
Day2
ProgrammingwithComposerSoftware Modifying y ginSystem y Builder ProgressCheck ConditionalStatements VariableDevices(Howtomakesmallerpanelprojects) Automationwithnouserinput Video id Switching i hi in i SystemBuilder ild SharinginformationbetweenProcessors
6
Day3
Review Rev ew
8
Software Verification
M t I t ll /Toolbox T lb Master Installer
OpenToolbox CheckTooliconsonthetoptoolbar.
Thinking Logically
10
ThinkingLogically
Algorithm: anorderedsequenceof unambiguous bi and dwell lldefined d fi dinstructions i t ti thatperformssometaskandhaltsinfinite time Pseudocode:isacompactandinformalhigh leveldescriptionofaanalgorithmthatuses thestructuralconventionsofaprogramming language,butisintendedforhumanreading ratherthanmachinereading.
11
Algorithm
well defined instructions an ordered sequence of unambiguous and well-defined that performs some task and halts in finite time
12
Algorithm
Three Categories of Algorithmic Operations
sequentialoperations instructionsare executedinorder conditional ( ("question questionasking asking") )operations a controlstructurethatasksatrue/false questionandthenselectsthenextinstruction basedontheanswer iterativeoperations(loops) acontrol structurethatrepeatstheexecutionofablock ofinstructions
13
ThinkingLogically
Pastaforsix boil1quartsalty water stirinthepasta cookonmedium untilaldente serve
getasaucepan fillitwithwater addsalt putitonthestove turnontohigh wait ituntil tilitboils b il
gotothekitchen sink placethepanunder thefaucet turnonthewater whenthewater levelisclosetothe topofthepan,turn offthewater
14
Process P Typicallydescribestheactoftakingsomething
throughanestablishedandusuallyroutinesetofprocedures toconvertitfromoneformtoanother.
Output Isthetermdenotingeitheranexitorchanges
whichoccurasaresultofaprocess.
15
Meetwith Customer
Determine Needs
Design System
Verify Design
Identify Problems
16
Planning gForSuccess
Therightstepswillleadtosuccessandasuccessfulprojectwill leadtomorereferrals ObtainingInformation ManagingExpectations ProjectPlanning
BestPractices GearSelection SetInstallationExpectations p
Implementation
17
Obtaining gInformation
Obtaining gInformation
Ask,AskandAsksomemore Whatequipment q p must bereused?
Specialfeatures? Canyoureplacethesamefeatures, affordablyandgivethecustomerabetter experience?
Whattypesofsystemshavetheyused before?
Whatdidtheylikeaboutit? Whatdidnttheylikeaboutit?
Obtaining gInformation
Whyaskallthesequestions?
QuestionType Mainuser? Household lifestyle? Whatittellsus Equipment? Most oftheobjectionswillnotcomefromthisperson. Mostofthefeaturesneedtobegearedtowardwhatthispersonenjoysandwhereitisenjoyed. Whichareas arethemostimportanttothisspecifichouseholdandwhy. Experience featuresthatareofvaluetothisspecifichousehold:partymode,allroomsoff, remoteaccess,eControl,etc. Featurestoofferinthemainquoteandfeaturesfortheupgradequote. Wheretoplacethebudgetemphasis;audioquality,videoquality,easeofuse,numberofglobal sources,multizoneaudioquality,interiordesignaspects,etc. Customers wanttoreusethings,sometimesforrationalreasonsandsometimesnot. Canitbereplacedwithaunitthatwillbeeasierforyoutointegrateandgiveabetter experience? p Things othergearhasdonethattheyenjoyed repeatthattypeofexperience. Moreimportantly,findoutaboutwhattheydidntlikeandmakesurenottorepeatthat experience.
Previous Experiences?
20
Obtaining gInformation
Walkthroughchecklist,whatyoudoeveryday Whatequipment q p must beused? Whatdriversareavailable? Wherewillthegearbelocated? Howwillthewiresberun? Doyouneedtohirealicensedelectrician? Whatloadswillbeattachedtodimmersorswitches? WhattypeofHVACsystemdoesthethermostatcontrol? WhatdoestheRFenvironmentlooklike? DoIhaveenough g headroominthesystem y forexpansion? p
21
Obtaining gInformation
ProgrammingDesignKit Howtog getstarted Conceptsofdesigningasystem Questionstoasktheenduser
22
Managing g gExpectations p
Systemexpectationsforyouandyourclient Predefinehowy youwillp present thesystem Describehowthecustomerwill usethesystemwithinthe lifestyletheyexpressed Focusoncurrentsystem capabilities Informthecustomerofany required q timelines Identifyaprojectcompletion dateorpossibledate
23
Project j Planning g
Definewhereyouare,whereyouregoing,andthebestwayto getthere BestPractices
RF/Meshnetwork Firmware Wiring
SetExpectations
Createascopeofwork Mapeveryproject,starttofinish Settimelines
Test Deliver
Install Demonstrate Retrievecustomersignoff
24
BestPractices RF
Nomatterwhereyouaregoing,installationbestpracticesare fundamentalkeystosuccess ManyofthedevicesinProdigy areRFdevices TheBestPracticesforInstallation andSetupofCrestronRFDevices willhelppreventmanyRFissues f from arising. ii
25
BestPractices RF
Installationpositioningtipsandmuchmore
26
MeshNetworkTechnology gy
Everydeviceactsasarepeater,providingmultipleredundant signalpathsforconsistentsignalstrengthandstabilityforthe entirenetwork
BestPractices RF
ConductingaSiteSurvey
WiSpy pyisanRFspectrum p analyzerbuiltintoasmallUSB donglethatplugsintoPCs Itdetectstheinterferencelevels acrossthe2.4GHzband Twoversionsavailableshown: WiSpyandWiSpy2.4x Availablefromonlineretailers LookforWiFi Analyzer y applicationforyoursmart phone.
TheresanApp forthat!
28
BestPractices RF
Afiveminutereadingcanreducehoursoftroubleshooting callsinthefuture
29
Setting gExpectations p
Definingascopeofworkgivesthecustomeranunderstanding ofwhattheyarepayingforandidentifiesyourresponsibilities Thescopeofworkisadocumentwrittenwithoutindustry jargonandterminologythatdefinesthequote
As simple p edesc description pt o o ofthe t eproject p oject Thecustomershouldbeabletorelaythescopetotheirfriendsand family
Discussfeaturesthatwillnot beincludedtoreduceconfusion
30
Setting gExpectations p
Awellwrittenscopewithasignatureexplainstothecustomer whentheprojectiscomplete
31
Setting gExpectations p
Thedocumentsgeneratedfromwithinthecomposerwill catalogthebillofmaterialsandconnections
32
Test
Testthesystempriortodeliveringtheproject Beforeg going gtothesite, ,buildthesystem y iny yourshop p CheckthedocumentationgeneratedinComposertomake sureyouhavethecorrectCrestrongearandhavelandedthe devicesinthecorrectlocations Loadtheproject,fullytest,andcreate atestplanforthejobsite Itiseasiertotestinyouroffice,than onsiteinfrontofyourcustomer Properly p ylabelalltheconnections Preparethedocumentationtotake withyoutothesite
33
Deliver
Gotothejobwithawrittenscopeofworkanddocumentation: install,demonstrate,andretrieveasignoff Usethetestplancreatedearliertotestandvalidatesystem functionality Ifyoufullytestedthesysteminyourshoppreviously, previously itwillbe easiertoidentifywiringissues,orotheritems. Havethecustomergothroughthesystemwithyouandon th i ownt their toensureth theyk knowhow h t touseth thesystem t Makesurethecustomeriscontentandagreesthatthesystem hasbeendeliveredaspromised Obtainasignoffthatthesystemiscomplete
Immediately Afterabreakinperiod(30Days)
34
SystemDesign
VS
Professional Design
35
SystemDesign Venues
Residential Corporate Government Hospitality p y Transportation EventCenters HealthCare HousesofWorship Broadcast Educational
36
SystemDesign Types
AdHoc IsaLatinphrasewhich,literally,means"Forthis".It
generally ll signifies f asolution l designed d dfor f aspecific f problem bl or task,nongeneralizable,andwhichcannotbeadaptedtoother purposes.
Design Typicallydescribesaplanfortheconstructionofan
object.
CookieCutter Isdefinedasa"lackoforiginalityor
distinction ,areferencetotheuniformitythatresultsfromthe distinction", useofacookiecutter.
37
SystemDesign AdHoc
dHoc,while h l requiringl l thought h h upf Ad little front,can becomedisastrous,ifnotdonecorrectly.
Withoutaclearunderstandingofthecustomerswants andneeds,itwillbeveryhardtomeetthoseneeds. Opens p thedoorforthecustomertosay yJoesaidIcould havethiswhileyouarehere.WhileJoemayhavesaid thecustomercould haveit,hemaynothavesaidthatthe customercouldhaveitforthesameprice. price Servicecouldbecomedifficultforanyonebutthe installer(andsometimesforthemtoo)since,ifthe drawingsweredoneafterthejobwascomplete,each personwillhavefigureouthowitsallconnectedand howitworks.
38
SystemDesign CustomDesign
CustomDesign,whiletakingmoretimeupfront,will helpeliminatequestionsduringinstallation
Customersneedshavebeendefinedandcanbemet.
Workwiththecustomertodifferentiatebetweenneedandwant want. Justbecausewecan,doesnotmeanweshould.(Motors/Fire)
Eliminatesquestionsonceonsite. Service S i is i easier i since i the th original i i ld designs i areavailable. il bl NOTE:Evenwithap preDesigned g system, y ,AsBuiltdrawings g shouldbecompletedoncethejobhasbeensignedoff.
39
SystemDesign CookieCutter
TheCookieCutteristheeasiestandcanbethe mostcosteffective.
Designisalreadydonebeforetalkingtothecustomer. Equipmentcanbebulkorderedsavingtimeandmoney. Requires i the h ability bili tosell llthe h customeronyoursystem. Maynotmeetthewants/needsofthecustomer.
40
SystemDesign OneOff
TheOneOffdesignstartswithaCookieCutterdesign th tis that i then th customized t i dfor f i individual di id lcustomers. t
Mostofthedesignisalreadydonebeforetalkingtothe cus o e customer. Canbedesignedwithprescribedoptionssocustomer canorderalacarte. Equipmentcanbebulkorderedsavingtimeandmoney. Allowsflexibility. Better B tt able bl to t meet tthe th wants/needs t / d of fthe th customer. t
41
SystemDesign
42
43
ControlMethods/Networks
Wired
RS232/422/485 Relay I/O IP DM Cresnet C
Wireless
infinetEX WiFi IR
44
45
ControlMethods RS232/422/485
46
ControlMethods RS232/422/485
PIN 1 2 3 4 5 6 7 8 9 DIRECTION ToCrestron FromCrestron Ground DESCRIPTION (RXD)RS232ReceiveData (TXD)RS233TransmitData RS232SignalCommon *(RTS)RS232RequesttoSend,Onlyuseif selectedinSimplWindowsprogram. *(CTS)RS232CleartoSend, Send Onlyuseif selectedinSimplWindowsprogram.
FromCrestron ToCrestron
47
ControlMethods RS232/422/485
PIN 1 2 3 4 5 6 7 8 9 FromCrestron (TXD)RS422TransmitData(Idleslow) DIRECTION ToCrestron DESCRIPTION (RXD)RS422ReceiveData(IdlesLow)
48
ControlMethods RS232/422/485
Com (DB9) Connector DIRECTION DESCRIPTION
BiDirectional
RS485
BiDirectional
RS485 +
Pin 5
Ground
RS485Signal Ground
49
ControlMethods Relay
RELAY OU OUTPUT U 1-8 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 pp across contacts
50
ControlMethods I/O
9pin i 3 3.5mm 5 d detachable t h bl t terminal i lbl block kcomprising i i (8)di digital it l input/outputoranaloginputports(referencedtoGND); DigitalInput: Ratedfor024VoltsDC,inputimpedance20kohms,logicthreshold 1.24VoltsDC; DigitalOutput: 250mAsinkfrommaximum24VoltsDC,catchdiodesforusewith realworldloads; AnalogInput: Ratedfor010VoltsDC,protectedto24VoltsDCmaximum,input impedance20kohms;
51
52
InfraRed(IR)
53
ControlNetworks IR
Infrared(IR)lightiselectromagneticradiationwitha wavelengthbetween0.7and300micrometers,whichequates toafrequencyrangebetweenapproximately1and430THz IRwavelengthsarelongerthanthatofvisiblelight,butshorter thanthatofterahertzradiationmicrowaves.Brightsunlight providesanirradianceofjustover1 kilowattpersquaremeter atsealevel.Ofthisenergy,527wattsisinfraredradiation, becauseofthis,sunlightcancauseinterferencewithIR t transmission. i i
54
55
TCP/IP (IP)
56
ControlNetworks IP
8 8-wire e RJ45 J 5 with t 2 LED indicators; d cato s; 10/100BaseT 0/ 00 ase Ethernet t e et po port; t; Green LED indicates link status; Yellow LED indicates Ethernet activity
57
ControlNetworks IP
VS
TheTIA/EIA568Astandardwhichwasratifiedin1995,wasreplacedby theTIA/EIA / 568Bstandardin2002 andhasbeenupdatedsince. BothstandardsdefinetheT568AandT568Bpinoutsforusing UnshieldedTwistedPaircableandRJ45connectorsforEthernet connectivity. connectivity Thestandardsandpinoutspecificationappeartoberelatedand interchangeable,butarenotthesameandshouldnotbeused interchangeably. interchangeably
58
ControlNetworks IP
59
ControlNetworks IP
That'sit! UseaCATtestertotestforcontinuityandyourcableiscomplete.
PIN# 1 2 3 4 5 6 7 8 WireColor White/Orange Orange White/Green Bl Blue White/Blue Green White/Brown Brown 568BColorCode
Note:Ifthecabledoesnottestpositiveforcontinuitycuttheconnectoroffand startover.
60
ControlNetworks IP
Nowthat Iknowwhatanethernetcableis, whatelsedoIneedtoknowaboutsettingup anetwork?
61
ControlNetworks IP
Terminologies Network: isanycollectionofindependentcomputers,printers,and
peripheraldevicesthatareconnectedbycables.Anetworkincorporating eControlwillalsotypicallyincludeconnectedCrestroncontrolsystems, networkcontrolmodules,andtouchpanelsthatcontrolAV,lighting,and otherequipment.
Node:isadevicethatisconnectedtothenetwork.Networkscanhave
tens,thousands,orevenmillionsofnodes.
LocalAreaNetworks(LANs):areusuallyconfinedtoageographic
area,suchasasinglebuildingoracollegecampus.LANscanbesmall, linkingasfewastwoorthreecomputers,butoftencanlinkhundredsof p usedby ythousandsofp people. p computers
WideAreaNetworks(WANs):suchastheInternetcombine
multipleLANsthataregeographicallyseparate.
62
ControlNetworks IP
IdentifyingaDevice ontheNetworkorAddressing Addressing
StaticIPaddress TheIPaddress, address subnetmask, mask defaultrouter, router etc. etc aresetin thedevice. Isrecommendedfordevicesthatarealwayson. q toHostawebsite. Isrequired DoesnotrequireaDHCPservertobeused.(Dynamic HostConfigurationProtocol) DynamicIPaddress The Th IPaddress, dd subnet b mask, k default d f l router,etc.areissued i d uponconnectionofthedeviceandremovedwhenthat deviceisloggedoff. gperiods p of Usedforusersthatarenotconnectedforlong time. Administrationcanbehandledfromacentrallocationso requireslimitedornoonsitetimebyITprofessionals. RequiresDHCPservertoissueIPaddress. address
63
ControlNetworks IP
WhatisanIPAddress??
Itisa32bitnumberthatdefinestheexactlocation,andthe device. device 192.168.1.100
64
ControlNetworks IP
WhatisaSubnet??
Asubnet isarangeoflogicaladdresseswithintheaddress spacethatisassignedtoanorganization Forexample, example supposeahomenetworkconsistsofcomputers namedFoo andBar,connectedtoarouter,andthenviaa cablemodemtotheinternet.Thehomenetworkisconfigured asasubnet.Address192.168.1.100isassignedtoFoo,and 192.168.1.101toBar.Thesubnethasbeenconfiguredsothat thefirstthreebytesofitsmembers'addressesareallthe samesubnetid,192.168.1,andthisfactisexpressedbythe subnetmask255.255.255.0
65
ControlNetworks IP
b Mask kExplained l i d Subnet
(wellkindof) Foo Bar Subnet Mask Res lts Results 192 192 255
AllOthers Masked
1 1 255
AllOthers Masked
100 101 0
Nothing g Masked
66
ControlNetworks IP
WhatisaDefaultGatewayorRouter?
Adefaultgatewayisanode(arouter)onacomputer networkthatservesasanaccesspointtoanother network. Thedefaultg gateway yaddressisusually yaninterface belongingtotheLAN'sborderrouter. Inotherwords,itisanentrypointandanexitpointina network. network
67
ControlNetworks IP
WhatareControlPorts?
TheInternetAssignedNumbersAuthority(IANA)isresponsiblefortheglobalcoordinationoftheControlPortnumbers.
Port
21 23 25 53 80 110 151 41794 41795
Name
FTP Telnet SMTP DNS HTTP POP3 SNMP CIP CTP
Purpose
FiletransferProtocol ComputerCommunication SimpleMailTransferProtocol DomainNameSystem HypertextTransferProtocol PostOfficeProtocol SimpleNetworkManagementProtocol CrestronInternet Protocol (CrestrontoCrestron) CrestronTerminalProtocol (PCto Crestron)
68
NetworkingwithCrestron
IP IDs EachEthernetdevicehasitsownIPID 252DeviceIDscanbeontheIPNetwork Device De iceconnectionsaremanagedintheIP Table
NetworkingwithCrestron
IPTable
Listofethernetconnections Hastwoparts
IPID mapsthe th device d i onth thenetwork t kt toth thedevice d i in i the th program IPAddress mapstothedevicethatwillmanagetheconnection
Crestrondevices CNXGatewaylocation 3rd Partydevices ethernetServer/Client(usuallytheotherdevice)
NetworkingwithCrestron
The 1st generation of Crestron etherent card (CN-ENET) was no more than a NIC
(Network Interface Card).
The network was configured with software, 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 the control system, it would also point to the CNXGateway software. The CNXGateway provides the interpretation from TCP/IP to CIP (Crestron
Internet Protocol).
NetworkingwithCrestron
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, processor the program needs to point to the processors own etherent card. Address 127.0.0.1 can be used in place of the processor address as it is a universal l loopback b k address. dd For a computer on the network to access the control system, it still points to the CNXGateway software (now on the processor).
NetworkingwithCrestron
AnexampleofaCrestronInterface
IPID
03
IP Address
192.168.1.101 CEN-TRACK
IPID
03 04
IP Address
127.0.0.1 127.0.0.1 Processor
192.168.1.102
04
192.168.1.101 CEN-iDOC
192.168.1.101
192.168.1.103
Switch
NetworkingwithCrestron
AnexampleofaCrestronInterface
IPID
05
IP Address
192.168.1.101 WiFi Panel
IPID
05 06
IP Address
127.0.0.1 127.0.0.1 Processor
06
192.168.1.101
NetworkingwithCrestron
AnexampleofaCrestronIntersystemnetwork
IPID
07
IP Address
192.168.1.101
IPID
07
IP Address
192.168.1.102
Processor 192.168.1.101
AnexampleofaCrestronRemoteNetwork IPID
08
IP Address
64.23.10.101
IPID
08
IP Address
192.168.1.101
WAN
Processor
XPanel
External Network
Ports to forward WEB Pages Control ToolBox 80 41794 41795
Router 192.168.1.101
Internal Network
Switch
Cresnet
78
ControlNetworks Cresnet
4pin5mmdetachableterminalblock
79
ControlNetworks Cresnet
LikeThis
80
ControlNetworks Cresnet
AndThis This
81
ControlNetworks Cresnet
this Orthis
82
ControlNetworks Cresnet
this Orthis
83
ControlNetworks Cresnet
Large Diameter Small Diameter
Wire Stripper
Wire Stripper
Wire Cutter
UseTheCorrectTool
84
ControlNetworks Cresnet
HowIsItDone?
85
ControlNetworks Cresnet
length CuttheWiretolength
86
ControlNetworks Cresnet
Jacket StriptheOuterJacket
87
ControlNetworks Cresnet
StriptheOuterJacket
88
ControlNetworks Cresnet
Wires FanoutWires
89
ControlNetworks Cresnet
Forlongruns,donot removethedrain.Itshould beconnectedattheend where h powerissupplied l d andleftfloatingonthe otherend.
trash Twistthetrash
90
ControlNetworks Cresnet
trash Cutoffthetrash
91
ControlNetworks Cresnet
Wires StriptheWires
92
ControlNetworks Cresnet
WiresStrippedandTwisted Twisted
93
ControlNetworks Cresnet
ConnectRed&BlackWires Wires
94
ControlNetworks Cresnet
ConnectRed&BlackWires Wires
95
ControlNetworks Cresnet
AddtheWhite&BlueWires Wires
96
CableTerminations
Thereareonlinevideosavailabletoshowyou howtoterminateCrestronsDMcopperand DMfiber
97
98
WirelessEthernet(WiFi)
99
ControlNetworks WiFi
802.11 802 11Channels
Whatfrequency? Howmany ychannelsarethere?
2.417GHz 1 2 3 4 5 6 7 8 9 10 2.447GHz 11 12 13 14
100
ControlNetworks WiFi
SSID( (ServiceSetIdentifier) )
IdentifiesawirelessLANwithaname thatcanbeupto32charactersin length. g Thisnameisgenerallybroadcasttoall wirelessdevicewithinrange. UseWiSpytofindallnetworks
101
102