Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/config.n3 @ 989:065fc9e07c10
piNode allow nt graphs as the body of a PUT /output
Ignore-this: 248ba89b8b1c130d86cd068c344238ba
darcs-hash:20150618084507-312f9-14b98f83f5b3fc2b94b01de4fdbcbb44b34f1c8c
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 18 Jun 2015 01:45:07 -0700 |
parents | d9467d6d0f7b |
children | 443d562c7b39 |
rev | line source |
---|---|
982
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
2 @prefix : <http://projects.bigasterisk.com/room/> . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
3 @prefix ha: <http://bigasterisk.com/homeauto/> . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> . |
969 | 6 |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
7 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
8 @prefix board0pin: <http://bigasterisk.com/homeauto/board0/pin/> . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
9 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
10 ha:board0 a :ArduinoBoard; |
969 | 11 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0"; |
12 :boardTag "atmega328"; | |
982
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
13 :hasPin |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
14 board0pin:d3, |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
15 board0pin:d4, |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
16 board0pin:d5, |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
17 board0pin:d6 . |
969 | 18 |
19 board0pin:d3 :pinNumber 3 . | |
20 board0pin:d4 :pinNumber 4 . | |
982
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
21 board0pin:d5 :pinNumber 5 . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
22 board0pin:d6 :pinNumber 6 . |
969 | 23 |
24 board0pin:d3 :connectedTo sensor:motion0 . | |
25 sensor:motion0 a :MotionSensor; | |
26 :sees houseLoc:storage . | |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
27 |
982
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
28 board0pin:d5 :connectedTo :storageCeilingLedCross . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
29 :storageCeilingLedCross a :LedOutput . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
30 |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
31 board0pin:d6 :connectedTo :storageCeilingLedLong . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
32 :storageCeilingLedLong a :LedOutput . |
d9467d6d0f7b
bang arduino board config update
drewp <drewp@bigasterisk.com>
parents:
974
diff
changeset
|
33 |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
34 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
35 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
36 @prefix board1pin: <http://bigasterisk.com/homeauto/board1/pin/> . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
37 @prefix board1lcd: <http://bigasterisk.com/homeauto/board1/lcd/> . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
38 @prefix board1ow: <http://bigasterisk.com/homeauto/board1/oneWire/> . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
39 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
40 ha:board1 a :ArduinoBoard; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
41 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A6004bUG-if00-port0"; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
42 :boardTag "atmega328"; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
43 rdfs:comment "chip has been replaced with a 328"; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
44 :hasPin |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
45 board1pin:d3, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
46 board1pin:d5, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
47 board1pin:d6, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
48 board1pin:d7, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
49 board1pin:d8, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
50 board1pin:d9, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
51 board1pin:d10, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
52 board1pin:d11, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
53 board1pin:d12 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
54 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
55 board1pin:d3 :pinNumber 3 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
56 board1pin:d10 :pinNumber 10 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
57 board1pin:d11 :pinNumber 11 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
58 board1pin:d12 :pinNumber 12 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
59 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
60 board1pin:d10 :connectedTo board1lcd:backlight . |
974
f707210c13bd
new /output to post statements which devices can handle. led and lcd output working
drewp <drewp@bigasterisk.com>
parents:
972
diff
changeset
|
61 board1lcd:backlight a :LedOutput, :ActiveLowOutput . |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
62 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
63 board1pin:d3 :connectedTo board1ow: . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
64 board1ow: a :OneWire; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
65 :connectedTo board1ow:temperatureSensor . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
66 board1ow:temperatureSensor a :TemperatureSensor; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
67 :position :office . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
68 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
69 board1pin:d9 :pinNumber 9; :connectedTo board1lcd:SID . |
974
f707210c13bd
new /output to post statements which devices can handle. led and lcd output working
drewp <drewp@bigasterisk.com>
parents:
972
diff
changeset
|
70 board1pin:d8 :pinNumber 8; :connectedTo board1lcd:SCLK . |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
71 board1pin:d7 :pinNumber 7; :connectedTo board1lcd:A0 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
72 board1pin:d6 :pinNumber 6; :connectedTo board1lcd:RST . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
73 board1pin:d5 :pinNumber 5; :connectedTo board1lcd:CS . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
74 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
75 board1lcd: a :ST7565Lcd; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
76 :lcdSID board1lcd:SID; |
974
f707210c13bd
new /output to post statements which devices can handle. led and lcd output working
drewp <drewp@bigasterisk.com>
parents:
972
diff
changeset
|
77 :lcdSCLK board1lcd:SCLK; |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
78 :lcdA0 board1lcd:A0; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
79 :lcdRST board1lcd:RST; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
80 :lcdCS board1lcd:CS . |
969 | 81 |
82 | |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
83 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
84 |