Mercurial > code > home > repos > homeauto
view service/arduinoNode/config.n3 @ 996:a34e008a8f95
add shop lights config
Ignore-this: ecb293862d23ca4183271b83b0fb9d27
darcs-hash:20150830081846-312f9-88051e7a212f5468e406e28e54f7e4ed4373934b
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 30 Aug 2015 01:18:46 -0700 |
parents | d9467d6d0f7b |
children | 06795f84fe29 |
line wrap: on
line source
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix : <http://projects.bigasterisk.com/room/> . @prefix ha: <http://bigasterisk.com/homeauto/> . @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> . @prefix board0pin: <http://bigasterisk.com/homeauto/board0/pin/> . @prefix board0ow: <http://bigasterisk.com/homeauto/board0/oneWire/> . ha:board0 a :ArduinoBoard; :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0"; :boardTag "atmega328"; :hasPin board0pin:d3, board0pin:d4, board0pin:d5, board0pin:d6, board0pin:d7 . board0pin:d3 :pinNumber 3 . board0pin:d4 :pinNumber 4 . board0pin:d5 :pinNumber 5 . board0pin:d6 :pinNumber 6 . board0pin:d7 :pinNumber 7 . board0pin:d3 :connectedTo sensor:motion0 . sensor:motion0 a :MotionSensor; :sees houseLoc:storage . board0pin:d5 :connectedTo :storageCeilingLedCross . :storageCeilingLedCross a :LedOutput . board0pin:d6 :connectedTo :storageCeilingLedLong . :storageCeilingLedLong a :LedOutput . @prefix board1pin: <http://bigasterisk.com/homeauto/board1/pin/> . @prefix board1lcd: <http://bigasterisk.com/homeauto/board1/lcd/> . @prefix board1ow: <http://bigasterisk.com/homeauto/board1/oneWire/> . ha:board1 a :ArduinoBoard; :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A6004bUG-if00-port0"; :boardTag "atmega328"; rdfs:comment "chip has been replaced with a 328"; :hasPin board1pin:d3, board1pin:d5, board1pin:d6, board1pin:d7, board1pin:d8, board1pin:d9, board1pin:d10, board1pin:d11, board1pin:d12 . board1pin:d3 :pinNumber 3 . board1pin:d10 :pinNumber 10 . board1pin:d11 :pinNumber 11 . board1pin:d12 :pinNumber 12 . board1pin:d10 :connectedTo board1lcd:backlight . board1lcd:backlight a :LedOutput, :ActiveLowOutput . board1pin:d3 :connectedTo board1ow: . board1ow: a :OneWire; :connectedTo board1ow:temperatureSensor . board1ow:temperatureSensor a :TemperatureSensor; :position :office . board1pin:d9 :pinNumber 9; :connectedTo board1lcd:SID . board1pin:d8 :pinNumber 8; :connectedTo board1lcd:SCLK . board1pin:d7 :pinNumber 7; :connectedTo board1lcd:A0 . board1pin:d6 :pinNumber 6; :connectedTo board1lcd:RST . board1pin:d5 :pinNumber 5; :connectedTo board1lcd:CS . board1lcd: a :ST7565Lcd; :lcdSID board1lcd:SID; :lcdSCLK board1lcd:SCLK; :lcdA0 board1lcd:A0; :lcdRST board1lcd:RST; :lcdCS board1lcd:CS . @prefix shopPin: <http://bigasterisk.com/homeauto/boardShop/pin/> . @prefix shopBarcode: <http://bigasterisk.com/homeauto/boardShop/barcode/> . @prefix shopButtons: <http://bigasterisk.com/homeauto/boardShop/buttons/> . @prefix shopOw: <http://bigasterisk.com/homeauto/boardShop/oneWire/> . @prefix shopShift: <http://bigasterisk.com/homeauto/boardShop/shift/> . @prefix shopPwm: <http://bigasterisk.com/homeauto/boardShop/pwm/> . ha:boardShop a :ArduinoBoard; :device "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A4001hrf-if00-port0"; :boardTag "atmega168"; rdfs:comment "board is like diecimila with atmega168"; :hasPin shopPin:d0, shopPin:d1, shopPin:d2, shopPin:d3, shopPin:d4, shopPin:d5, shopPin:d6, shopPin:d7, shopPin:d8, shopPin:d9, shopPin:d10, shopPin:d11, shopPin:d12, shopPin:d13, shopPin:a4, shopPin:a5 . shopPin:d0 :pinNumber 0 . shopPin:d1 :pinNumber 1 . shopPin:d2 :pinNumber 2; :connectedTo shopBarcode:Txblack . shopPin:d3 :pinNumber 3; :connectedTo shopBarcode:RxGreen . shopPin:d4 :pinNumber 4; :connectedTo shopOw: . shopPin:d5 :pinNumber 5; :connectedTo shopButtons:x . shopPin:d6 :pinNumber 6; :connectedTo shopButtons:x . shopPin:d7 :pinNumber 7; :connectedTo shopButtons:x . shopPin:d8 :pinNumber 8; :connectedTo shopButtons:rot . shopPin:d9 :pinNumber 9; :connectedTo shopButtons:rot . shopPin:d10 :pinNumber 10; :connectedTo shopShift:data . shopPin:d11 :pinNumber 11; :connectedTo shopShift:briteLatch . shopPin:d12 :pinNumber 12; :connectedTo shopShift:lightClock . shopPin:d13 :pinNumber 13; :connectedTo shopShift:briteClock . shopPin:a4 :pinNumber "a4"; :connectedTo shopPwm:sda . shopPin:a5 :pinNumber "a5"; :connectedTo shopPwm:scl . shopOw: a :OneWire; :connectedTo shopOw:temperatureSensor . shopOw:temperatureSensor a :TemperatureSensor; :position :workshop . shopPwm:roomLights a :PwmBoard; :scl shopPwm:scl; :sda shopPwm:sda; :output [:area shopPwm:sewingLight; :channel 0; :wattage 7], [:area shopPwm:shopLight0; :channel 1; :wattage 10], [:area shopPwm:shopLight1; :channel 2; :wattage 10], [:area shopPwm:ariLight; :channel 3; :wattage 10], [:area shopPwm:shopLight2; :channel 4; :wattage 10], [:area shopPwm:shopLight3; :channel 6; :wattage 8] . # shiftbrite EI (arduino d12) still needs to be connected to +5