annotate service/arduinoNode/config.n3 @ 171:4d2df276baae

clean up rdf-observe demo ui Ignore-this: 8795333fe63ccd47e8c3e9584efaa43d
author drewp@bigasterisk.com
date Tue, 14 Apr 2015 02:01:51 -0700
parents d228105749ac
children 5305fe90c09b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
164
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
2 @prefix : <http://projects.bigasterisk.com/room/> .
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
3 @prefix ha: <http://bigasterisk.com/homeauto/> .
164
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
6
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
7
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
8 @prefix board0pin: <http://bigasterisk.com/homeauto/board0/pin/> .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
9
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
10 ha:board0 a :ArduinoBoard;
164
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
11 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0";
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
12 :boardTag "atmega328";
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
13 :hasPin board0pin:d3 .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
14
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
15 board0pin:d3 :pinNumber 3 .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
16 board0pin:d4 :pinNumber 4 .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
17
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
18 board0pin:d3 :connectedTo sensor:motion0 .
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
19 sensor:motion0 a :MotionSensor;
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
20 :sees houseLoc:storage .
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
21
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
22
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
23
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
24 @prefix board1pin: <http://bigasterisk.com/homeauto/board1/pin/> .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
25 @prefix board1lcd: <http://bigasterisk.com/homeauto/board1/lcd/> .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
26 @prefix board1ow: <http://bigasterisk.com/homeauto/board1/oneWire/> .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
27
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
28 ha:board1 a :ArduinoBoard;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
29 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A6004bUG-if00-port0";
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
30 :boardTag "atmega328";
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
31 rdfs:comment "chip has been replaced with a 328";
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
32 :hasPin
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
33 board1pin:d3,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
34 board1pin:d5,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
35 board1pin:d6,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
36 board1pin:d7,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
37 board1pin:d8,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
38 board1pin:d9,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
39 board1pin:d10,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
40 board1pin:d11,
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
41 board1pin:d12 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
42
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
43 board1pin:d3 :pinNumber 3 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
44 board1pin:d10 :pinNumber 10 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
45 board1pin:d11 :pinNumber 11 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
46 board1pin:d12 :pinNumber 12 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
47
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
48 board1pin:d10 :connectedTo board1lcd:backlight .
169
d228105749ac new /output to post statements which devices can handle. led and lcd output working
drewp@bigasterisk.com
parents: 167
diff changeset
49 board1lcd:backlight a :LedOutput, :ActiveLowOutput .
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
50
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
51 board1pin:d3 :connectedTo board1ow: .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
52 board1ow: a :OneWire;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
53 :connectedTo board1ow:temperatureSensor .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
54 board1ow:temperatureSensor a :TemperatureSensor;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
55 :position :office .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
56
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
57 board1pin:d9 :pinNumber 9; :connectedTo board1lcd:SID .
169
d228105749ac new /output to post statements which devices can handle. led and lcd output working
drewp@bigasterisk.com
parents: 167
diff changeset
58 board1pin:d8 :pinNumber 8; :connectedTo board1lcd:SCLK .
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
59 board1pin:d7 :pinNumber 7; :connectedTo board1lcd:A0 .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
60 board1pin:d6 :pinNumber 6; :connectedTo board1lcd:RST .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
61 board1pin:d5 :pinNumber 5; :connectedTo board1lcd:CS .
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
62
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
63 board1lcd: a :ST7565Lcd;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
64 :lcdSID board1lcd:SID;
169
d228105749ac new /output to post statements which devices can handle. led and lcd output working
drewp@bigasterisk.com
parents: 167
diff changeset
65 :lcdSCLK board1lcd:SCLK;
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
66 :lcdA0 board1lcd:A0;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
67 :lcdRST board1lcd:RST;
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
68 :lcdCS board1lcd:CS .
164
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
69
49c1756b2edb start arduinonode
drewp@bigasterisk.com
parents:
diff changeset
70
167
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
71
3dd84ac050d0 config: new arduino board with temp and lcd
drewp@bigasterisk.com
parents: 164
diff changeset
72