Download LightSeasons User Manual

Transcript
Light*Seasons
GPSbasedLightController
UserManual
XactrixofWashington
LightSeasonsUserManualwww.xofw.com
BattleGroundWA,98604
www.xofw.com
Page1
Operation
YournewLightSeasonsisaneventscheduler,muchlikeamultitaskingalarmclock.IthasaninternalReal-Time-Clock(RTC)to
accuratelyschedule,andreliablyexecutedailyevents.Whentriggered,thepreprogrammedtaskwilleitherenergize/release
theLoaddevice.LightSeasonsisanexcellentfitforaSolar-PoweredLightController.
LightSeasonsdividestheyearintoeightuniqueschedules,orSeasons.EachSeasonhasfourprogrammabletasks/events
repeatedeveryday.TheDefaulttasksaretailoredfornight-timelighting.TheSeasonstartdate(month/day)isuser
programmable.Overalldurationisdefinedbythisdate,andtheStartDateofthenextseason.Toincreaseorshortena
Season’sextent,modifytheStartDateoritsneighbor’s.Seasonsarelabeledonethrueight,andarealwaysexecutedinorder.
SeasonOnebeginsJanuaryFirst.December31stendsSeasonEight.ShouldSeasonsover-lap,thelowerSeasonisexecuted.
Thefourtriggerevents(numberedzerothruthree)operateindependentofoneanother.Foreachtriggerdefinesascheduled
time(hour:minute),andatask(ONorOFF).Witheverynewminute,allthetriggersarereviewedlookingforatimematch.The
searchbeginswithTriggerZero.Andonlythefirst‘match’isperformed;onetaskperminuteisallowed.
NOTE:ATASKisEXECUTEDONLYATTHEPREPROGRAMMEDTIME.‘Time-Ranges’areimpliedwithONatthistime,andOFFat
thattime.However,thisisnothowthisdeviceoperates.ItdoesNotRangechecktoverifytheLoadstatebetweentriggers.
ForaccuracyandreliabilitytheinternalRTCisdrivenfromquartzcrystal.Andtoincreaseease,andreduceambiguity,theRTC
operatesona24hourclock.ItdoesnotacceptAMorPMvalues.ForallPMentries,addtwelve(12)tothePMhour.Forexample
5:00PMis17:00hours.AndMidnightis0:00.TheintendedLightSeasonspowersourceisalargecapacitybattery…thusthere’s
nointernalbattery.Thepresenttimeislostwiththelackofpower.Asaprecautionduringabriefpoweroutage,therestored
time/dateisrecoupedfromthelastsavedvalue.Theactivetimeissavedevery½hour,andthenewDateissavedat
midnight.
AGPS(GlobalPositionSatellite)ReceivercomesstandardwithLightSeasons.
TheGPSistheeasiest,error-freewaytoupdatetheTime,Date,andLocation.Thereareno
settings,switches,and/orparameterstoset…it’sPlug-N-Play!Thissmallblackpodhasa6ft
(1.84m)cablewithamatingPS2connector.InsertitintotheLightSeasonsnotingthecorrect
orientation.Placethepodintheopenarea(asmuchaspossible).TheGPSishighlysensitive,
andwillsoondetectSatellitesoverhead.Itisequippedwithanindicatorlight:Whenlitsolid,
theReceiverispowered.Whenflashing,itissyncedtoasatellite.Note:TheincludedGPS
Modelmayvary.ThisGPSpictureisforreferenceonly.
Procedureto‘Auto-SettheTimeandDate.
SimplyplugtheGPSintotheLightSeasons;Itisacceptabletoconnect/disconnecttheGPSwiththepoweron.
Thisproceduremaytakeseveralminutestocomplete:
1. LightSeasonsmustbeon.
2. TheGPSlightwillilluminate,indicatingithaspower.
3. LightSeasonswillconfirmitscommunicatingwiththeGPSbyactivatingtheLoadOutput(Lightscomeon).
4. TheGPSwillbegintoFlashwhenit’s‘sync’s’withaSatellite.
5. WaitforLightSeasonstotoggle(blink)theLoad/LightsOnfor1secondandOfffor1second.ThisindicatestheGPS
time,date,andGeo-Coordinatesarereceivedandsaved.
6. RemembertounplugtheGPS,foritisaPowerDrain!TheLoad/LightswillcontinuetoonorblinkwhiletheGPSis
active.
7. Note:Thetime/dateprovidedbytheGPSisperZuluorGreenwichMeanTime.ThusthecorrectZulu(GMT)timezoneoffsetmustbesavedpriortoacquiringtheGPStime;theZulu_AdjustdefaultisPacificStandardTime(-7
hours).ModifyZulu_AdjustwiththeLongitude-Latitude(ll)command.
8. Note:TheGPSwillnotupdatethedayoftheweek.
LightSeasonsUserManualwww.xofw.com
Page2
InconcertwiththeGPS,usethedefaultSeasonsandTriggers.LightSeasonsalreadyhastheyear
scheduledfordusktodawnlighting.Theobjectiveistoturnonthelightsinthedimmedhoursofsunset.Theyremainlit
tillaftermidnight.Andthenre-illuminateintheearlyhoursbeforesunrise.Thesetriggersarepreprogrammedinto
LightSeasons,readytouse,directfromthefactory.SeetheSeasonDefaultsindetailonpage6.Torestorefactory
settings,ustheDefaultSeasonsdscommand.
ProgrammingandCommands
LightSeasonhasafundamentalsetofusercommands.Theserequestswillprovidethecurrentstatus,and/or
configurethecontrolparameters.TheusermustfirstestablishCommunicationtothedevice;seeUserInterface/CommPort.
Herearethegeneralrulesforenteringacommandorrequest:
• Aprompt’>’ willqueryforthenextuserrequest.Itmustbepresenttotypeacommand.
• Allcommandsareuniquetwo-characterabbreviations,thispromotesveryquickentry.
• Eachcommandisexecutedafterthe<enterkeyispressed.
• Typingthecommandonly,returnsitscurrentstatus.Thesamecommandfollowedbyparameters(orvalues)will
updatetheinternalvariables.AllnewvaluesareimmediatelysavedinNon-VolatileMemory.
• Allcommandparametersareseparatedbyasinglespace.
• Unrecognizedcommandsgeta’?’(questionmark)reply.
• Press<entertorepeatthelastcommand;alsoitwillindextothenextseasonwhenapplicable.
• Enter‘??’foraquickHelpScreen.
Time
Thecurrenttimeisviewedbyenteringthecommandtm<enter.Thetimeisdisplayedintheformathr:mn:sc
Tomodifythetime,usethesametmcommand,onlyfollowedbythreevaluesforhours,minutes,andseconds.Hoursare
specifiedasa24hourclockonly…AMandPMarenotused.Thefollowingexamplechangesthetimeto13minutes,45seconds
past8intheevening:
tm201345<(allvaluesareseparatedbyasinglespace).
Date
Thedateisaccessedinasimilarmanner.Toviewthecurrentdateenterdt<enter.Thedateisdisplayedasmn/dy/yr
ToChangethedatefollowthedtcommandwiththreevaluesformonth,dayandyear.Thefollowingexamplesetsthedateto
February29th,2012:
dt2292012<(allvaluesareseparatedbyasinglespace).
SeasonsandTriggers
Theactiveseasonisdisplayedusinges<enter.Byrepeatingthiscommand(withanother<enter)willautomatically
advancetothenextseason.ThemostrecentseasonviewedremainsactivewhileaUserexchangeinisprocess.TheSeason
Status(seenextpage)revealsthefirstandlastdate,andtheparticularsofitsTriggerEvents.ToChangethestartdatefollow
theescommandwiththreevaluesthatrepresenttheseason-index,month,andday.Thefollowingexamplesetsthefourth
seasontobeginMay17th:
es4517<(allvaluesareseparatedbyasinglespace).
TheendofaseasonisdefinedbytheStartDateofthenext.Seasonsareadvancedinnumericalorder.Intermediateseasons
maybereducedtoasingleday,andseveralseasonsmayoccupythesamedate.
Triggersareindexedzerothruthree.Theyareexecutedbasedsolelyontheirassociatedtime,Yet,onlyonetriggerisexecuted
pergivenminute;andthelowerindexhaspriority.ModifyingTriggersisonlyrelevanttothepresentactiveseason.Tomodifya
trigger,usetheetcommandfollowedbytrigger-index,hour,minute,andtask(OneisOn,andZeroisOFF).
LightSeasonsUserManualwww.xofw.com
Page3
ProgrammingCommands
Season’sFirstDay
Season’sLastDay
Season
Season
Status
FourTriggers;
Indexed0-3
TriggerOutcomes
TriggerTimes;
Hour:Minute
24Houronly
WeekDays
LightSeasonscanenableordisabletheTriggersbyweekday.Duringnormaloperation,ifadayisdisabled,all
triggersareignored.EachSeasonhasauniqueWeekdayGlobalEnablethatturnsthisfilterOn(orOff).When
theGlobalEnableisactive,thatSeason’sStatuswillincludetheWeekdayField.Enableddaysarerepresented
byletters.DisabledDaysaredots.InputparametersrepresentWeekdaysbynumericalvalue,whereoneis
Sunday,andsevenisSaturday.Inallcasestomodifyanenable,oneistoactivate,andazerotodisable.
Todisplaythepresentweekday,IssuetheWeekDaycommandwd<enterwithnoparameters.
TheWeekDayandoneparametersetstheweekday.
Toen/disableacertainday,usetwoparameters.Thefirstparameteristheday.Thesecondtheenable.
Toen/disabletheWeekdayGlobalusethreeparameters.Specifyarangeofseasonswherethe1st
parameter=1stseasonandthe2ndparameter=finalseason.The3rdparameterequalstheenable/disable.
Ifthe1stor2ndparametersarezeros,thentheactiveseasonissubstituted.
CAUTION!!
The present
Weekday
is NOT
available
from the GPS.
WeekDayField.
SeenOnlywhen
GlobalisEnabled.
AllTriggersare
ignoredon
Thursday’s
LightSeasonsUserManualwww.xofw.com
Page4
Programming andCommands
CommandReference
(Acceptablevaluerangeshowninparentheses)
CMD
Param1
Param2
Param3
Param4
dp
ds
dt
Month
(1–12)
Day
(1-31)
Year
(fourdigits)
es
Season
(1–8)
StartMonth
(1–12)
StartDay
(1–31)
et
Trigger
(0–3)
Hour
(0–23)
Minute
(0–59)
ll
Latitude
(x100)
Longitude
(x100)
ZuluTimeAdj
(+/-12)
lt
tm
Hour
(0–23)
Minute
(0–59)
Second
(0–59)
tc
FromSeason
(1-8)
ToSeason
(0–8)
wd
WeekDay
(1–7)
DailyEn/Dis
(1=ON,0=OFF)
GlobalEn/Dis
(1=ON,0=OFF)
zz
DESCRIPTION/ACTION
DefaultParameters
Reset/Restoreenvironmentvariablesto
theirdefaultvalues.
DefaultSeasons
Reset/Restoretheseasonsandtriggersto
theirdefaultvalues.
Date
View/Updatethecurrentdate;
EditSeason
View/Select/DefineaSeason.
Parametersdefineaseason’sbegindate.
Task
EditTrigger
(1=ON,0=OFF) View/ModTriggersforthecurrentSeason.
Parametersdefinetimeandtask.
LatitudeLongitude
View/DefineGeoCoordinates.
ZuluTime-ZoneAdjust:i.e.PST=-7hours
Light
ToggletheOutputOnandOff.
Time
View/Updatethecurrenttime;
Formatis24-houronly!NoAMorPM!
TriggerCopy
Copytriggersfromoneseasontoanother;
Ifdestinationiszero,copytoallseasons.
WeekDay
View/Updatethecurrentdayoftheweek.
Setcurrentwkday(noparam2or3)
ResetController
Time/Datereturntolastsavedvalues.
Note:Pressseveralrapid<enter’stoawaketheLightSeasonsfromitslow-powerslumber.Thecommandprompt(>)
indicatessuccess.YounowhaveLightSeasons’attention.Low-powermodeisre-enteredtenminutesafterthelastuser
interaction.
Note:RemembertounplugtheGPS,foritisaPowerDrain!TheLoad/LightsareON/blinkwhiletheGPSisactive.
LightSeasonsUserManualwww.xofw.com
Page5
DefaultSeasons
SEASON
1
2
3
4
5
6
7
8
StartDate
Jan1st
Feb15th
Apr1st
May16th
June30th
Aug14th
Sept28th
Nov12th
Trigger0
5:00
ON
5:00
ON
4:00
ON
4:00
ON
4:00
ON
4:00
ON
5:00
ON
5:00
ON
Trigger1
9:00
OFF
7:45
OFF
6:30
OFF
5:45
OFF
6:00
OFF
6:45
OFF
7:45
OFF
9;00
OFF
Trigger2
17:45
ON
19:00
ON
19:45
ON
20:30
ON
20:30
ON
19:30
ON
18:00
ON
17:00
ON
Trigger3
1:00
OFF
1:00
OFF
1:00
OFF
1:00
OFF
1:00
OFF
1:00
OFF
1:00
OFF
1:00
OFF
DefaultParameters
Time12:00:00
WeekdayWednesday
DateJune15th,2011
Latitude45.87N
Longitude122.50W
ZuluAdj-7hours(PST)
WeekdayEnables:allareactive.
WeekdayGlobal:disabled.
LightSeasonsUserManualwww.xofw.com
Page6
UserInterface/CommPort
PS2Port
AserialportprovidesLightSeasonswithacommunicationpath.Thruit
LightSeasonsisabletointerfacewithaGPSreceiver,Bluetooth,and/or
USB.TheCommPortisthePS2CircularDINconnector.Ithascustompinout.ThisisNotaMousePort.ToinserttheMalePS2connector,orientthe
embossedarrow(s)toTwelveO’clock,orawayfromthecasemounting
flange.
ATerminalEmulatoristheprogramorplatformtotalkwithLightSeasons.Therationaleistoprovideasimpleandbasic
interface.Theavailabilityofthesoftwareandhardwaretoolsaremainstream.Thus,Userfamiliarityislikely.Andthevital
componentsareacquiredeffortlessly.
AndroidCellPhoneandBluetooth.
SoftwareRequirements:FromtheAndroidMarket,downloadthefree‘app’BTerm,bySENA.BTermisaterminal
emulatorforcommunicatingwirelesslyoverBluetooth.You’llfindtheCompleteBTermmanualatthefollowing
website:www.sena.com/download/manual_bterm/connection.html
BTermactiveonaMotorolaDroid2
FireFly
(RN-240M)
HardwareRequirements:AnAndroidphoneofcourse.AndthepopularFireFly™USB-to-Serialadapter(RN-240M);
madebyRovingNetworks.FireFly’sarepreprogrammed,readytouse,andavailabletopurchasefromourwebsiteat:
http://www.xofw.com/lightseasons.html
GiveLightSeason’sBluetoothcapabilitybyinsertingtheFireFlyintotheDB9F/PS2adapter(that’sprovided),andthen
intoPS2port.(ForFireFly’spurchasedelsewhere,programthemtothePortSettingsseenonthenextpage.)
USE:
AccessyourPHONE’sBluetoothManager.TurnBluetoothon,and‘Pair’ittotheFireFly;Typicallythisisdonethru
‘ScanforDevices’.AndthedefaultPassCodeis1234.ItisnormalforthePhonetoindicatethatitis‘Paired”but
notconnected.
StarttheBTermApp.
AccesstheBluetoothManagerinOptions.
Presstheconnecttobutton.PressSelect.
MakesureBondedDeviceScanisactive,thenpressStartScan
SelecttheFireFly.Pressconnectto
Themainscreenwilldisplaytheelapsingtime.
Pressthe<enterkeyrapidlytowaketheLightSeasonsfromits
sleep.
TheCommandPrompt> willindicatesuccess.
LightSeasonsUserManualwww.xofw.com
Page7
UserInterface/Communications
PCorLaptop
SoftwareRequirements:thepopularWindowsprogram
HyperTerm(orsimilar)willwork.HyperTermiscompatible
withallflavorsofWindows.Andyoucanfindacopyand
installinstructionsatxofw.lskdflksjdlfkj.com
HardwareRequirements:TheUserprovidesthecommunicationcablenecessarybetweenthePCtothe
LightSeasonscontroller.FornewerPC/Laptop’s,useaUSB-to-SerialAdaptercable(notincluded).They’recommon,
inexpensive,andreadilyavailableinthemarketplace.Watch-outforthereallycheapones,fortheydon’tworkwith
Windows7!!!Thisonedoeswork:GWCUC320USB1.1.AttachittotheDB9F/PS2provided,andinsertintothe
LightSeasons
USE
Note:Priortouse,plugtheUSBintotheLaptopandinstall
theproperdriver.
WiththeUSBintheLaptop,attachtheSerialendtothe
LightSeasons.
OpenHyperTermandstartaNewConnection.
SelecttheCOMxPortthatisassociatedtheUSBtoSerial;
it’slikelyHyperTermwilldoitforyou.
TheproperPortSettingsareshownabove.
Themainscreenwilldisplaytheelapsingtime.
Pressthe<enterkeyrapidlytowaketheLightSeasons
fromitsslumber.
TheCommandPrompt> willindicatesuccess.
LightSeasoncommandsarenowaccepted.
LightSeasonsUserManualwww.xofw.com
USB/SERIAL
DB9F/PS2
Page8
Specifications
LightSeasonshasafourwireinterface:twoforDevicePower(Battery+)andaCommon(Battery-orGnd.There’soneforthe
LoadPowerSource(aninput),andonefortheSwitchedLoad/Lightsoutput.Thislightcontrollerispoweredsolelyfroman
externalsource;Nointernalbatteriesarerequired.Becauseofitsminusculepowerdraw,LightSeasonswillcontinuetooperate
onaseverelydischarged12Voltbattery.
Condition
Value
Tolerance
Notes
+12Vdcto+14Vdc,Regulated Max:+16VdcMin:+10.2Vdc Tailoredto+12VBatteries.
DevicePower
11mATypicalAverage
9maasleep,22maawake FullyAwakewhileCommPortActive
TareCurrent
ACnottolerated.
LoadPowerSource +5Vdcto+24Vdc
2Amax
OverCurrentProtectionRequired.
LoadCurrent
+5Vdc@80mA
+/-0.5Vdc
UsedtopowertheGPSorBluetooth
PS2Power
RS-232,3wire
19200Baud,8bit,1stop,NoParity
PS2Comm
REDWire
18AWG,UL1007,20inches
DevicePower+/Battery+
Battery+
Battery-
Power+
Light+
BLACKWire
18AWG,UL1007,20inches
Common/Battery-
WHITEWire
BLUEWire
18AWG,UL1007,20inches
18AWG,UL1007,20inches
LoadPower+Source(samecommon)
Light+/Load+(samecommon)
MechanicalLayout
MountingHoles:2
FastenerSize:#8Screw(notincluded)
Warranty.XactrixofWashingtonwarrantiesthe
LightSeasonsLightControllerforoneyear.
Shouldthisproductmalfunctionorfail,please
returnitsowecanmakeitright!Pleaseseeour
policiespageatwww.xofw.com
THANKYOUFORBUYINGOURPRODUCT!!
XactrixofWashington
BattleGround,WA98604USA
[email protected]
LightSeasonsUserManualwww.xofw.com
Page9