Marmitek Easy Touch Panel 10 Datový list

Procházejte online nebo si stáhněte Datový list pro ne Marmitek Easy Touch Panel 10. Marmitek Easy Touch Panel 10 Datasheet [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 106
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
University of Huddersfield Repository
Waddington, Jon
Design of an information system to provide home control for the elderly and disabled
Original Citation
Waddington, Jon (2010) Design of an information system to provide home control for the elderly
and disabled. Masters thesis, University of Huddersfield.
This version is available at http://eprints.hud.ac.uk/11046/
The University Repository is a digital collection of the research output of the
University, available on Open Access. Copyright and Moral Rights for the items
on this site are retained by the individual author and/or other copyright owners.
Users may access full items free of charge; copies of full text items generally
can be reproduced, displayed or performed and given to third parties in any
format or medium for personal research or study, educational or not-for-profit
purposes without prior permission or charge, provided:
The authors, title and full bibliographic details is credited in any copy;
A hyperlink and/or URL is included for the original metadata page; and
The content is not changed in any way.
For more information, including our policy and submission procedure, please
contact the Repository Team at: [email protected].
http://eprints.hud.ac.uk/
Zobrazit stránku 0
1 2 3 4 5 6 ... 105 106

Shrnutí obsahu

Strany 1

University of Huddersfield RepositoryWaddington, JonDesign of an information system to provide home control for the elderly and disabledOriginal Citat

Strany 2

Jon Waddington92 Review of Current TechnologyHome automation refers to devices which are used to control elements in the home,either remotely or autom

Strany 3

Jon Waddington99y := $99text.xy(16, 3) 'show set year in whitetext.colour(0)text.dec(y>>4 & $0F)text.dec(y & $0F)s

Strany 4

Jon Waddington100text.out($20) 'spacetext.dec(date>>4 & $03) 'display the 10s of datetext.dec(date & $0F) &

Strany 5

Jon Waddington101PRI getyear : yy := i2c.getbyte($A3, $08)PRI settime (h, m, s)h := ((h/10) << 4) + h//10m := ((m/10) << 4) + m//10s := ((

Strany 6

Jon Waddington102Genrc5''IR-Receiver (RC5)VARlong rc5 'rc5 code received'byte flagPUB init (pin){{Launch cog to detect R

Strany 7

Jon Waddington103sub half, start 'half - start = start pulse length, should be about 71120 (80MHz * 889us)cmp lh, half

Strany 8

Jon Waddington104X10{{hA = %0110hB = %1110hC = %0010hD = %1010hE = %0001hF = %1001hG = %0101hH = %1101hI = %0111hJ = %1111hK = %0011hL = %1011hM = %00

Strany 9

Jon Waddington105VARbyte housecodebyte codeOBJserial : "simple_Serial"PUB init(rx, tx, house){initialise X10 house code and serial communica

Strany 10 - Jon Waddington

Jon Waddington10familiar with computers and the interface is not aimed specifically aimed at them. Ahome automation setup using this software would al

Strany 11

Jon Waddington11for a microcontroller to control the display.The Parallax Propeller is a microcontroller which contains an internal font ROM and iscap

Strany 12

Jon Waddington123 Design of the Information SystemThe central component of the Information System is the Propeller chip. This is connectedto all the s

Strany 13

Jon Waddington133.1 The Parallax PropellerThe Parallax Propeller is a powerful chip capable of high speed processing (up to 80MHz).The chip has eight

Strany 14

Jon Waddington143.1.1 Propeller Demo BoardThe Propeller demo board is a prototype board for the Propeller chip. It includes aPropeller chip, connected

Strany 15

Jon Waddington153.1.2 Propeller SoftwareTwo pieces of software were used with the Propeller chip. These were the Propeller Tooland the Parallax Serial

Strany 16

Jon Waddington163.1.2.2 Parallax Serial TerminalThe Parallax Serial Terminal is a piece of software which can help when debugging aprogram. The Propel

Strany 17

Jon Waddington173.2 PAL VideoVideo signals are displayed on a television screen by drawing each line from left to right,from top to bottom. The amplit

Strany 18

Jon Waddington18Interlaced video means that two fields of alternate lines are drawn and interleaved toshow a single frame. This means that there are t

Strany 19

DESIGN OF AN INFORMATION SYSTEM TO PROVIDE HOME CONTROL FOR THE ELDERLYAND DISABLEDJON WADDINGTONA thesis submitted to the University of Huddersfield

Strany 20

Jon Waddington193.2.1 TV CirtcuitEach cog of the Propeller has an integrated video generator that makes generating videosignals possible. Access and c

Strany 21

Jon Waddington203.3 Menu SystemA menu is displayed on the television which shows four items for the user to choosefrom. Navigation of the menu is done

Strany 22

Jon Waddington212 : text.str(string($0A,7,$0B,5,"1."))text.str(string($0A,7,$0B,7,"2."))text.str(string($0A,7,$0B,9,"> &qu

Strany 23

Jon Waddington223.4 Home AutomationThe first item, “Home Automation”, allows the user to directly control the X10 devices. Afull list of devices in th

Strany 24

Jon Waddington233.4.2 Serial InterfaceThe CM12 X10 controller has a PC interface which uses RS232 serial communications.The controller generates X10 s

Strany 25

Jon Waddington243.4.3 CM12 ProtocolThe serial communications protocol for the CM12 states that the baud rate is 4800 bitsper second (bps). There is a

Strany 26

Jon Waddington25contain the house code and the 4 least significant bits contain the device code or thefunction code.The checksum is calculated by calc

Strany 27

Jon Waddington26House CodesH1H2H4H8A0110B1110C0010D1010E0001F1001G0101H1101I0111J1111K0011L1011M0000N1000O0100P1100Address CodesD1D2D4D810110211103001

Strany 28

Jon Waddington273.5 TemperatureThe “Temperature” item displays the inside and outside temperatures in Celsius on thescreen until the user wishes to re

Strany 29

Jon Waddington28480µs. This is the Reset pulse. The Propeller then releases the bus to be pulled high bythe 4.7kΩ resistor. The DS18B20 responds to th

Strany 30

Jon Waddington2ContentsAbstract ... 51 Intro

Strany 31

Jon Waddington29After the Propeller issues a Read time slot, the bus is released. The DS18B20 can thenleave the bus to go high to transmit a ‘1’ or pu

Strany 32

Jon Waddington30Bits 11 to 15 are the sign bits. These define whether the temperature is positive ornegative. If it’s positive, these bits will be log

Strany 33

Jon Waddington31pulse, followed by the “Skip ROM” command. This skips the ROM transmission and thecode then transmits the “ConvertT” command which not

Strany 34

Jon Waddington32'' Show the temperaturetc <<= 16 ‘shift left 16 bitsif (tc < 0) ‘check temperature signtext.str(string("-"

Strany 35

Jon Waddington33The remote XBEE module is loaded with the router firmware. It samples the ADC pin andtransmits the sample to the receiving module. The

Strany 36

Jon Waddington34ATID is the PAN ID address which is, essentially, the address of the network. The routerand coordinator XBEE modules share this addres

Strany 37

Jon Waddington35API (Application Programming Interface) operations are used for the communications,meaning that packets of information are sent which

Strany 38

Jon Waddington36AnalogueChannel MaskDigital SamplesAnalogueSamplesChecksumThe analogue channel mask indicates which analogue inputswere sampled.This c

Strany 39

Jon Waddington37The received sample is extracted from the API packet and then converted into a voltageusing the following formula [35].( )= ∙ 1200 (3.

Strany 40

Jon Waddington383.7 X10 SettingsAdding and removing X10 devices from the information system can be done in “X10Settings”. When adding a device, the us

Strany 41

Jon Waddington33.9 Infra-red Remote Controller ... 473.9.1 IR receiver ...

Strany 42

Jon Waddington39The code below shows how the name of a device is input with the remote control.PRI rcname_in(i) | j, t, xcode := 0 'flush codet :

Strany 43

Jon Waddington403.7.1 Memory backupI2C is also used by the Propeller to write to the memory in EEPROM. This can be used tobackup contents of the Prope

Strany 44

Jon Waddington413.8 SettingsThe fourth item allows the user to set the time and date using the remote control.3.8.1 Real Time ClockKeeping the date an

Strany 45

Jon Waddington423.8.2 I2CThe I2C bus allows for bi-directional communications using a Serial Data (SDA) line anda Serial Clock (SCL) line. Both of the

Strany 46

Jon Waddington43The address and contents of the registers are shown below in figure 3.8.2.1 [37].The values in the registers are in Binary Coded Decim

Strany 47

Jon Waddington44In this example, the Propeller transmits the Start Condition, followed by the readaddress for the PCF8563. An acknowledge bit is recei

Strany 48

Jon Waddington45The code first displays the time in white text and then the hours value changes to yellow,indicating to the user that this is the valu

Strany 49

Jon Waddington46PRI wait : c | m, i{{waits for key press while updating time}}rc.flush 'flush RC5m := getminute 'get minute valuerepeat unti

Strany 50

Jon Waddington473.9 Infra-red Remote ControllerInfra-red (IR) remote controls are commonly used to control home entertainmentsystems as they are simpl

Strany 51

Jon Waddington483.9.1 IR receiverThe Infra-Red receiver circuit is based on a Sharp GP1UX301QS IR receiver. The deviceis tuned to detect bursts of IR

Strany 52

Jon Waddington4Copyright Statementi. The author of this thesis (including any appendices and/or schedules to thisthesis) owns any copyright

Strany 53

Jon Waddington49The code below is written in PASM and decodes RC5 codes received at the Propellersinput pin.DATorg 0go mov addr, PARmov outmask, dira

Strany 54

Jon Waddington50quart long 0 'calculated 1/4 bit timetquart long 0 'calculated 3/4 bit timefull long 0 ‘calcul

Strany 55

Jon Waddington514 Evaluation of the Information SystemTo assess the functionality of the system, a series of tests were carried out. The testsincluded

Strany 56

Jon Waddington52The table below shows the corresponding timing measurements for the waveform infigure 4.1. The third column shows the difference from

Strany 57

Jon Waddington534.2 The User InterfaceFigure 4.2.1 shows a photograph of the main menu screen with the “Settings” itemselected. The date can be seen i

Strany 58

Jon Waddington54Figure 4.2.3 shows the name of the X10 device being entered as “123”. This is done viathe remote control as there is no keyboard detec

Strany 59

Jon Waddington55Figure 4.2.6 shows the X10 address of the device being entered. The address enteredwas “02”.The “Edit Device” item in the “X10 Setup”

Strany 60

Jon Waddington56Figure 4.2.9 shows the “Home Automation” menu. The “All Devices” option displays allthe X10 devices and the “List by room” option allo

Strany 61

Jon Waddington57Figure 4.2.12 shows the menu which prompts the user to select the required function forthe device, “123”. The options are to turn it o

Strany 62

Jon Waddington58Figure 4.2.15 shows the interface as the date is being set. In the picture, the day ishighlighted in yellow, indicating that this is t

Strany 63

Jon Waddington5AbstractThis report describes the development of an Information System which aids the elderlyand disabled perform home control.The Info

Strany 64

Jon Waddington594.3 Infra-red Remote ControllerThe waveform in figure 4.3 shows the input to the Propeller from the Infra-Red receiverwhen the ‘5’ but

Strany 65

Jon Waddington604.4 Temperature MeasurementThe picture in figure 4.4 shows the temperature menu, displaying both inside andoutside temperatures in deg

Strany 66

Jon Waddington61The propeller waits until the temperature conversion is complete by issuing read timeslots. The DS18B20 responds to this by transmitti

Strany 67

Jon Waddington62Figure 4.4.1.4 shows the transmission of the 8 most significant bits of the temperature.A reset pulse is then sent from the Propeller

Strany 68

Jon Waddington63In this example, the first two bytes are 0x00 and 0x12, meaning that there are 18 bytesof information to follow, excluding the checksu

Strany 69

Jon Waddington640 92 + 0 13 + 0 2 + 0 40 + 0 62 + 0 4 + 0 8 + 0 6 (4.4.2 - 3)+ 0 68 + 0 01 + 01 + 0 01 + 0 02 + 0 73 + 0 3 = 0 4Taking the lowest byte

Strany 70

Jon Waddington654.6 X10The testing of the X10 commands proved that they were reliable. The modulesperformed their required functions without a problem

Strany 71

Jon Waddington66Figure 4.7.2 shows the transmission of the register address of the minute register (0x03)being transmitted. This is the register of th

Strany 72

Jon Waddington67Figure 4.7.4shows the transmission of the PCF8563’s minute register to the Propeller’sinput pin. The value of the 7thbit is not used i

Strany 73

Jon Waddington684.9 EEPROM Memory UsageFigure 4.9 shows a screenshot of the program information which can be found bypressing F8 in the Propeller Tool

Strany 74

Jon Waddington61 IntroductionThe aim of this project is to design an information system which can provide homecontrol to the elderly and disabled to r

Strany 75

Jon Waddington695 ConclusionIn this report, an Information System has been designed to provide home control, and aprototype has been developed and con

Strany 76

Jon Waddington705.2 Installation/ImplementationTo install the Information System into a home, it should be placed near a television in asimilar way to

Strany 77

Jon Waddington715.4 Further WorkTo save battery life in the remote temperature sensor, the XBEE could be interruptdriven, so that while the temperatur

Strany 78

Jon Waddington72Another addition to the Information System could be to add sound. This could consist ofa notification sound when a button is pressed,

Strany 79

Jon Waddington736 References[1] George Demiris PhD, Marilytn J. Rantz PhD, RN, Marjorie Skubic PhD, Myra A. AudPhD, RNn Harry W. Tyrer Jr PhD, “Home B

Strany 80

Jon Waddington74[11]HomeSeer Wiki contributors, 2010, August, “HomeSeer HS2”, [Online] Available:http://www.homeseer.com/wiki/index.php/HomeSeer_HS2,

Strany 81

Jon Waddington75[20] Digi International, “XBee® & XBee-PRO® ZB ZigBee® PRO RF Modules”, [Online],Available: http://www.digi.com/products/wireless/

Strany 82

Jon Waddington76[32] Marmitek, “Interface Communication Protocol”, [Online], Available:http://www.marmitek.com/en/download/software/cm11_x10_protocol_

Strany 83

Jon Waddington77[43] UK Automation, “Marmitek Easyouch Panel10”, [Online], Available: http://www.uk-automation.co.uk/marmitek-easytouch-panel10-p-1401

Strany 84

Jon Waddington787 Information System Source Code

Strany 85

Jon Waddington7with televisions for years.Ideally, no re-wiring should be needed, making the information system simple enough tobe installed and custo

Strany 86

Jon Waddington79Tv_Text_DemoCON_clkmode = xtal1 + pll16x_xinfreq = 5_000_000- 110hA = %0110hB = %1110hC = %0010hD = %1010hE = %0001hF = %1001hG = %010

Strany 87

Jon Waddington80up = 33 'RC5 code "channel up"down = 32 'RC5 code "channel down&q

Strany 88

Jon Waddington81i:=0repeatrc.flushtext.out($00)showdate(0, 0)showtime(35, 0)text.str(string(13," Information System"))text.str(strin

Strany 89

Jon Waddington82text.str(string($0A,5,$0B,8," "))1 : text.str(string($0A,5,$0B,4," "))text.str(string($0A,5,$0B,6,">"

Strany 90

Jon Waddington83PRI DisplayRoom(r) | dp, j, i, n{{still needs work}}text.out($00)showdate(0, 0)showtime(35, 0)dp := 0case r0 : text.str(string(13,&quo

Strany 91

Jon Waddington84dp--devcom(dp)PRI AllDevices | dp, j, i{{Method displays all devices}}sel := 0dp := 0text.out($00)showdate(0, 0)showtime(35, 0)text.st

Strany 92

Jon Waddington85showdate(0, 0)showtime(35, 0)text.str(string(" "))repeat i from (dp*10) to ((dp*10) + 9)if name[i]text.out(name[i])elsei

Strany 93

Jon Waddington86rc.flushrcflag := rc.gettogglerepeat until (rc.gettoggle <> rcflag) & ((rc.getcommand =>0) & (rc.getcommand =<9))

Strany 94

Jon Waddington87temp := readtc ' read the temperatureshowc(temp)

Strany 95

Jon Waddington88tempout := 0repeat bit from 18 to 19tempout += XB.dtset(bit)if bit == 18tempout <<= 8if (tempout < 10000)text.dec((((tempout*

Strany 96

Jon Waddington8assistance from friends, family or professionals. The aim is to aid the user with simple,repetitive tasks, reducing the required person

Strany 97

Jon Waddington89keyName_in(i)elsercName_in(i)Room_in(j)Type_in(j)Address_in(j)waitcnt (cnt + 50_000_000){{test input}}text.out($00)showdate(0, 0)showt

Strany 98

Jon Waddington90text.out(name[i])elsei := (dp * 10) + 9dp++rc.flushsel := 0code := 0repeat until (code == enter)text.xy(2, 2)text.str(string(" &

Strany 99

Jon Waddington91text.dec(dvc[dp])text.str(string(13," Delete"))code := 0repeat until code == entercase sel0 : text.str(string($0A,1,$0B,1,

Strany 100

Jon Waddington92'rc.flushe := in.newkeyif e <> $0Dtext.out(e)name[i] := ei++in.stopPRI rcname_in(i) | j, t, xcode := 0t := irepeat j from i

Strany 101

Jon Waddington93text.str(string($0A,13,$0B,6," "))text.str(string($0A,13,$0B,7,"> "))room[j] := selcode := waitif (code == up)

Strany 102

Jon Waddington94case dvc[j]1 : addr[j] := d12 : addr[j] := d23 : addr[j] := d34 : addr[j] := d45 : addr[j] := d56 : addr[j] := d67 : addr[j] :=

Strany 103

Jon Waddington95if (code == down)sel := --sel <# 2code := 0case sel0 : sett1 : setdsel := 3PRI sett | h, m{{shows the set time menu}}text.out($00)

Strany 104

Jon Waddington96rc.flushif code == down 'increment minute++mif (m & $0F) => 10m &= $70m += 16if (m & $7F) => $60

Strany 105

Jon Waddington97text.xy(3, 3) 'move text cursor to X, Ytext.colour(0) 'set text colour to whitecase day

Strany 106

Jon Waddington988 : text.str(string("Aug"))9 : text.str(string("Sep"))10 : text.str(string("Oct"))11 : text.str(string(&

Komentáře k této Příručce

Žádné komentáře