Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/config.n3 @ 974:f707210c13bd
new /output to post statements which devices can handle. led and lcd output working
Ignore-this: afa16b081869a52380b04271a35c53c7
darcs-hash:20150412104414-312f9-f0e67d9f939025fd0a67e78463e6902ddcf0e6d9
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 12 Apr 2015 03:44:14 -0700 |
parents | 5f1bbec24d45 |
children | 5305fe90c09b |
rev | line source |
---|---|
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
969 | 2 @prefix : <http://projects.bigasterisk.com/room/> . |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
3 @prefix ha: <http://bigasterisk.com/homeauto/> . |
969 | 4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . |
5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> . | |
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"; | |
13 :hasPin board0pin:d3 . | |
14 | |
15 board0pin:d3 :pinNumber 3 . | |
16 board0pin:d4 :pinNumber 4 . | |
17 | |
18 board0pin:d3 :connectedTo sensor:motion0 . | |
19 sensor:motion0 a :MotionSensor; | |
20 :sees houseLoc:storage . | |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
21 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
22 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
23 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
24 @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
|
25 @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
|
26 @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
|
27 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
28 ha:board1 a :ArduinoBoard; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
29 :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
|
30 :boardTag "atmega328"; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
31 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
|
32 :hasPin |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
33 board1pin:d3, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
34 board1pin:d5, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
35 board1pin:d6, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
36 board1pin:d7, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
37 board1pin:d8, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
38 board1pin:d9, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
39 board1pin:d10, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
40 board1pin:d11, |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
41 board1pin:d12 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
42 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
43 board1pin:d3 :pinNumber 3 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
44 board1pin:d10 :pinNumber 10 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
45 board1pin:d11 :pinNumber 11 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
46 board1pin:d12 :pinNumber 12 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
47 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
48 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
|
49 board1lcd:backlight a :LedOutput, :ActiveLowOutput . |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
50 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
51 board1pin:d3 :connectedTo board1ow: . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
52 board1ow: a :OneWire; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
53 :connectedTo board1ow:temperatureSensor . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
54 board1ow:temperatureSensor a :TemperatureSensor; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
55 :position :office . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
56 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
57 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
|
58 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
|
59 board1pin:d7 :pinNumber 7; :connectedTo board1lcd:A0 . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
60 board1pin:d6 :pinNumber 6; :connectedTo board1lcd:RST . |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
61 board1pin:d5 :pinNumber 5; :connectedTo board1lcd:CS . |
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 board1lcd: a :ST7565Lcd; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
64 :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
|
65 :lcdSCLK board1lcd:SCLK; |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
66 :lcdA0 board1lcd:A0; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
67 :lcdRST board1lcd:RST; |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
68 :lcdCS board1lcd:CS . |
969 | 69 |
70 | |
972
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
71 |
5f1bbec24d45
config: new arduino board with temp and lcd
drewp <drewp@bigasterisk.com>
parents:
969
diff
changeset
|
72 |