comparison service/arduinoNode/config.n3 @ 972:5f1bbec24d45

config: new arduino board with temp and lcd Ignore-this: 7b3143060e68e46a42f3ed56839c5a46 darcs-hash:20150411084551-312f9-0a8ac83f96de3ced042de539a3a36b2ecd33ddb7
author drewp <drewp@bigasterisk.com>
date Sat, 11 Apr 2015 01:45:51 -0700
parents 70a5392b24d3
children d228105749ac
comparison
equal deleted inserted replaced
971:fbe72d44f15a 972:5f1bbec24d45
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1 @prefix : <http://projects.bigasterisk.com/room/> . 2 @prefix : <http://projects.bigasterisk.com/room/> .
2 @prefix board0: <http://bigasterisk.com/homeauto/board0> . 3 @prefix ha: <http://bigasterisk.com/homeauto/> .
3 @prefix board0pin: <http://bigasterisk.com/homeauto/board0/pin/> .
4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . 4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> .
5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> . 5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .
6 6
7 board0: a :ArduinoBoard; 7
8 @prefix board0pin: <http://bigasterisk.com/homeauto/board0/pin/> .
9
10 ha:board0 a :ArduinoBoard;
8 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0"; 11 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0";
9 :boardTag "atmega328"; 12 :boardTag "atmega328";
10 :hasPin board0pin:d3 . 13 :hasPin board0pin:d3 .
11 14
12 board0pin:d3 :pinNumber 3 . 15 board0pin:d3 :pinNumber 3 .
13 board0pin:d4 :pinNumber 4 . 16 board0pin:d4 :pinNumber 4 .
14 17
15 board0pin:d3 :connectedTo sensor:motion0 . 18 board0pin:d3 :connectedTo sensor:motion0 .
16 sensor:motion0 a :MotionSensor; 19 sensor:motion0 a :MotionSensor;
17 :sees houseLoc:storage . 20 :sees houseLoc:storage .
21
22
23
24 @prefix board1pin: <http://bigasterisk.com/homeauto/board1/pin/> .
25 @prefix board1lcd: <http://bigasterisk.com/homeauto/board1/lcd/> .
26 @prefix board1ow: <http://bigasterisk.com/homeauto/board1/oneWire/> .
27
28 ha:board1 a :ArduinoBoard;
29 :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A6004bUG-if00-port0";
30 :boardTag "atmega328";
31 rdfs:comment "chip has been replaced with a 328";
32 :hasPin
33 board1pin:d3,
34 board1pin:d5,
35 board1pin:d6,
36 board1pin:d7,
37 board1pin:d8,
38 board1pin:d9,
39 board1pin:d10,
40 board1pin:d11,
41 board1pin:d12 .
42
43 board1pin:d3 :pinNumber 3 .
44 board1pin:d10 :pinNumber 10 .
45 board1pin:d11 :pinNumber 11 .
46 board1pin:d12 :pinNumber 12 .
47
48 board1pin:d10 :connectedTo board1lcd:backlight .
49 board1lcd:backlight a :LedOutput .
50
51 board1pin:d3 :connectedTo board1ow: .
52 board1ow: a :OneWire;
53 :connectedTo board1ow:temperatureSensor .
54 board1ow:temperatureSensor a :TemperatureSensor;
55 :position :office .
56
57 board1pin:d9 :pinNumber 9; :connectedTo board1lcd:SID .
58 board1pin:d8 :pinNumber 8; :connectedTo board1lcd:CLK .
59 board1pin:d7 :pinNumber 7; :connectedTo board1lcd:A0 .
60 board1pin:d6 :pinNumber 6; :connectedTo board1lcd:RST .
61 board1pin:d5 :pinNumber 5; :connectedTo board1lcd:CS .
62
63 board1lcd: a :ST7565Lcd;
64 :lcdSID board1lcd:SID;
65 :lcdCLK board1lcd:CLK;
66 :lcdA0 board1lcd:A0;
67 :lcdRST board1lcd:RST;
68 :lcdCS board1lcd:CS .
18 69
19 70
71
72