home automation control board - travis industries · home automation control board sku# 94400141...
TRANSCRIPT
Home Automation Control Board Sku# 94400141
Page 1 of 12 17601989 - 3/5/19 Travis Industries, Inc.
Installation Overview J1 connects to Fireplace (via CAT5 cable)
J2 connects to the User Interface Board (touch screen) (via CAT5 cable)
J3 connects to Serial Port
U1 U2
MAIN UIJ1
J2
J1
J3
To Automation
System
Serial Interface Panel
GND RX +5V TX
GND TX +5V RX
CAT5+
DaVinci Fireplace
DaVinci DCP Breakout
DaVinci User Interface
CAT5+
UART: 115200 baud 8/1 bits
No parity Photo-isolated
(Requires +5Vdc, 50mA)
J2
Home Automation Control Board Sku# 94400141
Page 2 of 12 17601989 - 3/5/19 Travis Industries, Inc.
v104
DCP 1.1
Commands
command
VERSION Gets firmware versionATSETGET
HELP?
PARAMS Show list of parameters
Parameters
parameter rangeLED r/w ON/OFF
LEDCOLOR r/w 0‐255 (x4)
LEDFADETIME r/w 0‐32767LEDDWELLTIME r/w Sets how long a color will remain before it transitions to the ne
LEDPULSEr/w ON/OFF
HUMIDITY r 0‐100 reading of humidity sensor in %rHTEMPERATURE r 0‐255 reading of temperature sensor in deg C
DEWPOINTr 0‐255
FLAME r/w ON/OFFHEATFAN r/w ON/OFFHEATFANSPEED r/w 1‐10FLAMELEVEL r/w 1‐10 Level of flame, if presentLAMP r/w ON/OFFLAMPLEVEL r/w 1‐10 Level of lampAUXBURNER r/w ON/OFF
Examples
ATOK
SET LED ONOKHEY LED ON
SET LEDCOLOR 0, 255, 0, 0OKHEY LEDCOLOR RED: 0 GREEN: 255 BLUE: 0 WHITE: 0
GET HEATFANOFF
SET BLAH ONERROR
(when a change is made on the control panel)HEY FLAME OFF
date rev description author
9.29.2017 102 added revision history; firmware revision CD
10.3.2017 103 CD
10.19.2018 CD
corrected baud rate, added notification
Revision History
sets speed of Heat exchanger.
Lamp on or off (non LED)
auxiliary burner or valve, if present
description
turns the LEDs on or off
RGBW values for LEDs (RR, GG, BB, WW) format. If only 1
value is listed, it is applied to all 4 values. Note that some
appliances can have White Only, RGB Only, or both.
Sets fade time between led colors (milliseconds)
Turns the heat exchanger blower on or off, if present.
104 strikethough help and param commands
DaVinci Command Protocol
The Davinci Command Protocol is a serial protocol to command various functions of the appliance. It supports
notifications for 2‐way syncronization. When used with a wired UART, the baud rate is 115200, 8 bit, 1 stop bit, and
no parity (This high baud rate allows for real‐time control of parameters).
description
Turns flame relay on or off
Sets LEDs to "pulse" between current color and the color set
by LEDCOLOR after turning LEDPULSE to ON
reading of calculated dewpoint based on humidity and
temperature readings
Attention ‐ used to test connection
show list of possible commandshelp on particular command or parameter
Gets parameter
Sets parameter
Home Automation Control Board Sku# 94400141
Page 3 of 12 17601989 - 3/5/19 Travis Industries, Inc.
Integration with Control Systems Some control systems may require additional programming or driver software not provided by Travis Industries. Check with your A/V Integrator to make sure that they are capable of this work. Wiring to RS232 Connector This board works with “TTL” levels. A RS232 Shifter may be needed for systems using “RS232” levels. The following example shows a typical connection to a RS232 shifter. The RS232 shifter is not included (this example was sourced at https://www.sparkfun.com/products/449 ).
RXTX SparkFun
GN
D
TX
- O
RX
- I
U1 U2
To PowerSupply
+-
VC
C
MAIN UIJ1
J2
Home Automation Control Board Sku# 94400141
Page 4 of 12 17601989 - 3/5/19 Travis Industries, Inc.
Communication Troubleshooting Overview The information below illustrates how to test the operation of the DaVinci Home Automation Board and Auxiliary board for troubleshooting purposes.
Required Items
DaVinci Auxiliary (AUX) board
DaVinci Home Automation Control Board (sku# 94400141)
Power Cord with Molex Connector (sku#250-00316)
Cat 5+ Cable
USB to 5v TTL UART serial Cable Amazon Link https://www.amazon.com/EZSync-serial-TTL-232R-5V-WE-compatible-EZsync009/dp/B010K5NC68/ref=sr_1_15?ie=UTF8&qid=1549492853&sr=8-15&keywords=usb+serial+interface+ftdi
TTL Emulator software (i.e. PuTTy)
http://www.putty.org/
A PC computer with USB ports
Home Automation Control Board Sku# 94400141
Page 5 of 12 17601989 - 3/5/19 Travis Industries, Inc.
Configuring the Hardware 1. Download and install a TTL emulator software such as “PuTTy”. PuTTy is free and able to be
downloaded at the following address: http://www.putty.org/ 2. Connect the USB to TTL cable to the terminal block of the Home Automation board as shown below.
Wire Color Location Function
Black 1 Ground
Yellow 2 Transmit
Red 3 5V +
Orange 4 Receive
Green Not Used Not Used
Brown Not Used Not Used
3. Connect one end of the CAT-5 cable to the CAT-5 socket labeled “MAIN” and the other end to the CAT-5 socket on the AUX board (see below).
U1 U2
MAIN UIJ1
J2
1 2 3 4
B Y R O G B
NOTE: These colors are for the USB to 5v TTL UART serial Cable that is linked to in the “Required Items” list above. If using a different cable, the colors may be different.
Home Automation Control Board Sku# 94400141
Page 6 of 12 17601989 - 3/5/19 Travis Industries, Inc.
4. Connect the power cord to the AUX board. NOTE: Do not connect the cord to 120VAC power at this time.
5. Connect the USB end of the USB to TTL cable from step 2, to the USB port on the computer you will be
doing the testing with.
6. Make sure the AUX board is sitting on a non-conductive material (i.e. wood, paper, plastic, cloth). Plug the power cord into 120VAC power.
7. Open the “Device Manager” on the computer. Select “Ports” and determine the port name for the USB port you connected to (i.e. COM 1, COM 5…).
NOTE: If you can not identify which port you plugged into, unplug the USB and the list will update. Plug the USB cord back into the port and watch the “Ports” in the “Device Manager” and see what pops up.
8. Open the PuTTy software or other TTL emulator software on the computer.
Home Automation Control Board Sku# 94400141
Page 7 of 12 17601989 - 3/5/19 Travis Industries, Inc.
9. After opening “PuTTy” the following configuration window will open.
Home Automation Control Board Sku# 94400141
Page 8 of 12 17601989 - 3/5/19 Travis Industries, Inc.
10. Select the “Serial” radio button. The serial line will automatically enter COM1 and Speed of 9600.
11. Enter the COM port number that you identified in step 6 in the “Serial Line” field (for this example it is
COM5).
Select “Serial”
Will default to COM1 and 9600
Home Automation Control Board Sku# 94400141
Page 9 of 12 17601989 - 3/5/19 Travis Industries, Inc.
12. Enter 115200 in the “Speed” field. Select “Open”.
13. Check the label on the AUX board (see below). If the board is V1.30, skip this step and go directly to step
15. If the AUX board is V1.50 or above, PuTTy should be configured to set “Echo On”. This will allow you to see the key strokes that you type into PuTTys command screen.
Enter “115200”
V1.3.0 = Echo Off V1.5.0 or Higher = “Echo On”
Select “Open”
Home Automation Control Board Sku# 94400141
Page 10 of 12 17601989 - 3/5/19 Travis Industries, Inc.
14. If the AUX board is V1.5 or higher, Select “Terminal from the left hand menu on the PuTTy Configuration screen. Next find the “Local echo” section and select “Force on”. After making the changes, select “Open”.
15. After selecting “Open” the command window the will appear. You cannot backspace or delete in this
window. You can move the cursor and type over a mistake if you make one. If you make a typing error and press “enter” the board will return an error message. If this occurs, just proceed with another command.
A. Select “Terminal”
B. Select “Force on”
Home Automation Control Board Sku# 94400141
Page 11 of 12 17601989 - 3/5/19 Travis Industries, Inc.
16. Type the command “set flame on”. Press return.
17. The Aux board should respond with “HEY FLAME ON”.
18. Type the command “set led on”. Press return.
19. The Aux board should respond with “HEY LED ON”.
20. Type the command “set ledcolor 0,255,0,0”. Press return.
21. The Aux board should respond with “HEY LEDCOLOR RED: 0 GREEN: 255 BLUE: 0 WHITE:0”.
22. Type the command “set led off”. Press return.
Home Automation Control Board Sku# 94400141
Page 12 of 12 17601989 - 3/5/19 Travis Industries, Inc.
23. The Aux board should respond with “HEY LED OFF”.
24. Type the command “set flame off”. Press return.
25. The Aux board should respond with “HEY FLAME OFF”.
The same tests can be run for other options on the board as shown in the DaVinci Command Protocol document. Other options include LEDFADETIME, HUMIDITY, TEMPERATURE, DEWPOINT, HEATFAN, etc. The commands stay the same.
GET asks the board what the setting is currently (i.e. “GET FLAME” and the board would respond “OK HEY FLAME OFF” if the flame is off.)
SET tells the board that you want to change a setting (i.e. “SET LEDCOLOR 0, 255, 0, 0” and the board would respond “OK HEY LEDCOLOR RED: O GREEN: 255 BLUE: 0 WHITE: 0”).
If the board responds to the commands as described above, it indicates that it is functioning properly. If there are still issues getting a smart home system to control the fireplace, you will need to troubleshoot the smart home system to find the communication issue.