Marmitek Easy Touch Panel 10 Ficha de datos

Busca en linea o descarga Ficha de datos para No Marmitek Easy Touch Panel 10. Marmitek Easy Touch Panel 10 Datasheet [en] Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 106
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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/
Vista de pagina 0
1 2 3 4 5 6 ... 105 106

Indice de contenidos

Pagina 1

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

Pagina 2

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

Pagina 3

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

Pagina 4

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

Pagina 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 := ((

Pagina 6

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

Pagina 7

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

Pagina 8

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

Pagina 9

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

Pagina 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

Pagina 11

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

Pagina 12

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

Pagina 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

Pagina 14

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

Pagina 15

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

Pagina 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

Pagina 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

Pagina 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

Pagina 19

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

Pagina 20

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

Pagina 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

Pagina 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

Pagina 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

Pagina 24

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

Pagina 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

Pagina 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

Pagina 27

Jon Waddington26House CodesH1H2H4H8A0110B1110C0010D1010E0001F1001G0101H1101I0111J1111K0011L1011M0000N1000O0100P1100Address CodesD1D2D4D810110211103001

Pagina 28

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

Pagina 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

Pagina 30

Jon Waddington2ContentsAbstract ... 51 Intro

Pagina 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

Pagina 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

Pagina 33

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

Pagina 34

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

Pagina 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

Pagina 36

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

Pagina 37

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

Pagina 38

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

Pagina 39

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

Pagina 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

Pagina 41

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

Pagina 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 :

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 47

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

Pagina 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

Pagina 49

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

Pagina 50

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

Pagina 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

Pagina 52

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

Pagina 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

Pagina 54

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

Pagina 55

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

Pagina 56

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

Pagina 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

Pagina 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

Pagina 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”

Pagina 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

Pagina 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

Pagina 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

Pagina 63

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

Pagina 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

Pagina 65

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

Pagina 66

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

Pagina 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

Pagina 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

Pagina 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

Pagina 70

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 75

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

Pagina 76

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

Pagina 77

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

Pagina 78

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

Pagina 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

Pagina 80

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

Pagina 81

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

Pagina 82

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

Pagina 83

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

Pagina 84

Jon Waddington787 Information System Source Code

Pagina 85

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

Pagina 86

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

Pagina 87

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

Pagina 88

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

Pagina 89

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

Pagina 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

Pagina 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

Pagina 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

Pagina 93

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

Pagina 94

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

Pagina 95

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

Pagina 96

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

Pagina 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

Pagina 98

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

Pagina 99

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

Pagina 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

Pagina 101

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

Pagina 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] :=

Pagina 103

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

Pagina 104

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

Pagina 105

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

Pagina 106

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

Comentarios a estos manuales

Sin comentarios