14
7/21/2019 KTA-223 Manual v12 http://slidepdf.com/reader/full/kta-223-manual-v12 1/14 KTA-223 Arduino Compatible Relay Controller 8 Relays with 10 A, 250 AC rated !onta!ts " #pti!ally isolated di$ital inputs up to 30 %C Conne!tions &ia plu$$able s!rew terminals 3 Analo$ inputs, 0 to 5 or 0 to 20 mA 'umper sele!table (ower indi!ator and serial transmit and re!ei&e )*%s All en!losed in pro+essional looin$ plasti! !ase Arduino Compatible !an be repro$ramed with the Arduino .%* A!!epts Arduino shields /*thernet ** 4T%.232 based 6 &irtual serial inter+a!e R6-"85 serial inter+a!e Can be used as a 6 to R6-"85 !on&erter 7ultiple units !an be !onne!ted in an R6-"85 bus The KTA-223 /12 %C powered and KT-223 /2" %C powered are 6 or R6-"85 !ontrolled .# modules +or inter+a!in$ (Cs to real world appli!ations, su!h as !ontrollin$ li$hts and sprinler systems, readin$ sensors and monitorin$ swit!hes and other di$ital si$nals The !ontroller ships pro$rammed as an Arduino with a !ustom set!h loaded that listens +or !ommands on the 6 or R6-"85 port and responds by swit!hin$ relays or returnin$ the state o+ inputs The set!h is a&ailable on the #!ean Controls website as an e9ample o+ Arduino pro$rammin$ +or the !ontroller The !ustom set!h speas a simple A6C.. proto!ol that allows !ontrol +rom :indows7a!)inu9 usin$ either 6 &irtual serial dri&ers or R6-"85 The !ontroller a!ts as a 6 to R6-"85 !on&erter, so multiple de&i!es !an be !onne!ted to one R6-"85 bus, allowin$ !ontrol o+ many de&i!es +rom one 6 port  4i$ure 1 - Conne!tin$ multiple !ontrollers with a R6-"85 networ The !ontroller is based on the hardware o+ the Arduino physi!al !omputin$ !ontrollers .t !an be pro$rammed as a stand-alone !ontroller usin$ the +ree, open sour!e Arduino en&ironment .nternally, 1 http://oceancontrols.com.au/KTA-223.html

KTA-223 Manual v12

Embed Size (px)

DESCRIPTION

KTA-223 Arduino Compatible Relay Controller

Citation preview

Page 1: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 1/14

KTA-223 Arduino Compatible Relay Controller

8 Relays with 10 A, 250 AC rated !onta!ts

" #pti!ally isolated di$ital inputs up to 30 %C

Conne!tions &ia plu$$able s!rew terminals

3 Analo$ inputs, 0 to 5 or 0 to 20 mA 'umper

sele!table(ower indi!ator and serial transmit and re!ei&e )*%s

All en!losed in pro+essional looin$ plasti! !ase

Arduino Compatible !an be repro$ramed with the

Arduino .%*

A!!epts Arduino shields /*thernet **

4T%.232 based 6 &irtual serial inter+a!e

R6-"85 serial inter+a!e

Can be used as a 6 to R6-"85 !on&erter

7ultiple units !an be !onne!ted in an R6-"85 bus

The KTA-223 /12 %C powered and KT-223 /2" %C powered are 6 or R6-"85 !ontrolled .#

modules +or inter+a!in$ (Cs to real world appli!ations, su!h as !ontrollin$ li$hts and sprinler systems,

readin$ sensors and monitorin$ swit!hes and other di$ital si$nals

The !ontroller ships pro$rammed as an Arduino with a !ustom set!h loaded that listens +or !ommands

on the 6 or R6-"85 port and responds by swit!hin$ relays or returnin$ the state o+ inputs The set!h

is a&ailable on the #!ean Controls website as an e9ample o+ Arduino pro$rammin$ +or the !ontroller

The !ustom set!h speas a simple A6C.. proto!ol that allows !ontrol +rom :indows7a!)inu9 usin$either 6 &irtual serial dri&ers or R6-"85 The !ontroller a!ts as a 6 to R6-"85 !on&erter, so multiple

de&i!es !an be !onne!ted to one R6-"85 bus, allowin$ !ontrol o+ many de&i!es +rom one 6 port

 

4i$ure 1 - Conne!tin$ multiple !ontrollers with a R6-"85 networ

The !ontroller is based on the hardware o+ the Arduino physi!al !omputin$ !ontrollers .t !an bepro$rammed as a stand-alone !ontroller usin$ the +ree, open sour!e Arduino en&ironment .nternally,

1http://oceancontrols.com.au/KTA-223.html

Page 2: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 2/14

KTA-223 Arduino Compatible Relay Controller

the !ontroller is ;shield-!ompatible<, allowin$ the use o+ many e9tension boards desi$ned +or the

Arduino %eumilano&e or no

The !ontroller !omes in two &ersions= a 12 %C KTA-223 and a 2" %C KT-223 The only di++eren!e

between the two &ersions is the !oil &olta$e o+ the relays loaded to the board

The relays are rated to 10 A and 250 AC At the ma9imum !urrent the (C tra!s would rise

appro9imately 80> so the !ontroller !an only handle the +ull rated relay !urrent +or short periods o+ time

The analo$ inputs are naturally 0 to 5 %C *a!h input has a pre!ision 250 ? resistor that !an be sele!ted

by mo&in$ 'umpers inside the unit .nstallin$ these 'umper shunts allow the measurement o+ 0 to 20 mA

/in!ludin$ " to 20 mA si$nals The analo$ inputs ha&e "@ ? inline resistors whi!h will prote!t the

mi!ro!ontroller +rom dama$e +or a!!idental input &olta$es up to appro9imately 30

Connections:

)abel %es!ription )abel %es!ription

#pto-.solated .nput (ositi&e 5# 5 #utput +or 6ensors

- #pto-.solated .nput Be$ati&e (ower 6upply (ositi&e .nput

AB9 Analo$ .nput 9 C#7 Common Conne!tion /round

C#7Common Conne!tion

/round6 6 -type !onne!tion to (C

% R6"85 %ata B# Relay Bormally #pen Conta!t

%- R6"85 %ata- C Relay Common Conta!t

BC Relay Bormally Closed Conta!t

Table 1 - Conne!tions

Specifications:

(ower 6upply and C#7=

KTA-223= D to 1E %C /12 Bominal F200 mA *9ternal 5 drain

KT-223= 18 to 32 %C /2" Bominal F200 mA *9ternal 5 drain

Analo$ .nput AB9=

0 to 5 = F500 ? e++e!ti&e resistan!e with no 'umper installed

0 to 20 mA= 250 ? e++e!ti&e resistan!e with 'umper installed

#pto-.solated .nput= 0 to 30 , F1 ? e++e!ti&e resistan!e G25 %C a!ti&ation threshold

Relay #utputs= 6(%T relays rated to 10 A /resisti&e 250 AC 30 %C

5 Au9iliary 6upply= 100 mA

 Jumper Settings:

The Analo$ inputs o+ the KT9-223 !an be set +or 0 to 5 %C or 0 to 20 mA operation #penin$ the !ase

and insertin$ 'umper shunts in the positions H1, H2 or H3 will set the asso!iated analo$ inputs to 0 to 20

mA operation Remo&in$ the shunts will set the analo$ inputs to 0 to 5 %C operation

:hen the 'umper labeled AT# is installed the board will reset ea!h time a serial !onne!tion is made to

the 6 serial port This should only be installed when repro$rammin$ &ia the Arduino *n&ironment, or

the de&i!e will reset ea!h time a serial !onne!tion is made to the unit

2

Page 3: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 3/14

KTA-223 Arduino Compatible Relay Controller

Using the Controller:

The !ontroller reIuires 12 %C or 2" %C to operate, !onne!ted to and C#7 This !an !ome +rom a

plu$-pa!, ben!h top power supply or battery The !ontroller has s!rew terminals +or the !onne!tion o+

power (lu$-pa! power supplies o+ten !ome with a plu$ on the end o+ the lead The plu$ !an be !ut o++

and bare wires e9posed +or the s!rew terminals on the !ontroller

Conne!t the power supply positi&e !onne!ts to the terminal and ne$ati&e to the C#7 terminal ne9tto it The (#:*R )*% should li$ht A diode prote!ts the !ontroller and pre&ents it +rom operatin$ with

power !onne!ted in re&erse polarity .+ the )*% does not li$ht, ensure your supply is deli&erin$ su++i!ient

&olta$e and is !onne!ted !orre!tly

Conne!t the !ontroller to a !omputer usin$ a 6 A male to 6 male !able :hen the power is

turned on your !omputer may prompt you to install dri&ers The dri&ers reIuired are the 4T%. irtual

6erial /C#7 (ort %ri&ers the latest &ersions +or all systems are a&ailable +rom

http=www+tdi!hip!om%ri&ersC(htm

Test Utility:

The main window o+ the :indows test utility is shown

here

.+ the Address o+ the unit you wish to !ontrol is nown put

it in the ;Address< te9t bo9, i+ not, use 0 +or the address

and any unit will respond

*nter the C#7 (ort number in the ;(ort< te9t bo9, i+ this

is not nown it !an be +ound in the de&i!e mana$er under

ports The Iui!est way to run de&i!e mana$er is by

!li!in$ 6tart-JRun and then typin$ ;de&m$mtms!<

#n!e the de&i!e is !ommuni!atin$, Relays !an be turned

on or o++ by !li!in$ the buttons in the Relays $roup and

the status o+ the %i$ital and Analo$ .nputs are shown in

their rele&ant $roups

The sour!e !ode +or this pro$ram is a&ailable +rom #!ean

Controls and is written in isual asi! *9press 2008 whi!h

is a&ailable +ree +rom 7i!roso+t

#!ean Controls !an also supply a similar e9ample pro$ram

with sour!e !ode +or isual asi! E

3http://oceancontrols.com.au/KTA-223.html

Page 4: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 4/14

KTA-223 Arduino Compatible Relay Controller

Communicating with the Controller:

The Address and aud Rate o+ the unit !an be set and are stored in the !ontrollers memory y de+ault

the !ontroller is listenin$ +or serial data at DE00 baud, and has address 00 The !ontroller will always use

1 6top it, 8 %ata its and Bo (arity

The !ommands the !ontroller uses are in the +orm

LAA CC MCRJ

The L symbol is used to de+ine the start o+ a !ommand

AA is the address o+ the unit +rom 00 to DD

CC is a two letter !ommand used to determine the !ommand type

is a one or more !hara!ters whi!h determines the parameter +or the !ommand

MCRJ is the !arria$e return !hara!ter This is A6C.. !hara!ter 13, or 090d

*a!h time a &alid !ommand is re!ei&ed the unit will respond with NAA +ollowed by any &alues that are

reIuested +rom the unitBote that 00 is the :ild!ard Address All !ontrollers respond to address 00 re$ardless o+ what their

address has been set to .+ a !ommand has 00 as the address, all de&i!es on the bus will respond as i+

they ha&e been indi&idually addressed

Command Set:

)etter Command (arameters

#B Turn Relay #n 1-8= Turn Relay 1-8 #n .ndi&idually

0= Turn All Relays #n at #n!e

#4 Turn Relay #++ 1-8= Turn Relay 1-8 #++ .ndi&idually

0= Turn All Relays #++ at #n!e

:R :rite to all Relays

at on!e

The parameter is a number whi!h determines whi!h o+ the

relays should be turned on or o++

TR Turn Relay on +or

6et Time

2 parameters, 4irst is 1-8= Relay Bumber, 6e!ond 001-255=

Time in tenths o+ se!onds to turn #B +or

KA Keep Ali&e 0= Turn #++ Keep Ali&e

1-255= Time in 6e!onds

R6 6tatus o+ Relays 1-8= Returns 6tatus o+ Relays 1-8 .ndi&idually

0= Returns 6tatus o+ All Relays

.6 6tatus o+ .nputs 1-"= Returns 6tatus o+ .nputs 1-" .ndi&idually

0= Returns 6tatus o+ All .nputs

A. Read Analo$ .nput 1-3= Read alue o+ Analo$ .nput 1, 2 or 3

0= Returns alue o+ All Analo$ .nputs

66 6ystem 6tatus 7ust be 0, Returns status o+ all Relays, Analo$ and %i$ital

.nputs

6A 6et Address 01-DD= 6ets the Address o+ the unit in 7emory

"

Page 5: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 5/14

KTA-223 Arduino Compatible Relay Controller

6 6et aud Rate 1-10= 6ets the aud Rate

1= 1200 baud E= 1D200 baud

2= 2"00 baud @= 28800 baud

3= "800 baud 8= 38"00 baud

"= DE00 baud /de+ault D= 5@E00 baud

5= 1""00 baud 10= 115200 baud

Table 1 - Command set

#B= Relay #n Command

This !ommand is used to turn a sin$le relay on *$= L"" #B 1 will turn relay 1 on +or the unit with

address "" .t !an also be used to turn all the relays on, this o!!urs when the parameter &alue is 0

#4= Relay #++ Command6imilar to the on !ommand this !ommand will turn relays o++ in the same manner *$= L"" #4 1 will

turn relay 1 o++ +or the unit with address "", L"" #4 0 will turn all relays o++

:R= :rite Relays Command

The write relays !ommand is used when more than one relay is to be turned on or o++ at on!e The

parameter is a de!imal number whi!h, in binary, represents the on and o++ status o+ the 8 relays The

least si$ni+i!ant bit o+ this &alue !ontrols relay 1 The most si$ni+i!ant bit o+ the parameter &alue

!ontrols relay 8 A set bit /1 turns the relay on, a !leared bit /0 turns the relay o++ *9ample= To turn

relays 1, 2 and E on /and others o++ the binary &alue reIuired is 00100011 .n de!imal this is 35 /2O/1-1

2O/2-1 2O/E-1 P 35 To issue this to a !ontroller with address "", the reIuired !ommand is L""

:R 35

TR= Timed Relay Command /6o+tware &11 and )ater

The timed relay !ommand is used to turn a sin$le relay on +or a set period o+ time, a+ter whi!h the relay

automati!ally turns o++ Two parameters are needed, separated by a spa!e, the +irst is the relay number

/1-8 and the se!ond is the time to turn the relay on +or in tenths o+ se!onds /001-255 the se!ond

parameter must ha&e 3 di$its *$= L"" TR 1 050 will turn relay 1 on +or 5 se!onds

KA= Keep Ali&e Command /6o+tware &12 and )ater

This !ommand is used as a wat!hdo$ timer .+ the parameter is 0 the wat!hdo$ is turned o++ .+ the

parameters is between 1 and 255 then i+ that time in se!onds has elapsed without the unit re!ei&in$

another Keep Ali&e !ommand then all the relays will turn o++ This is used +or a +ail sa+e to ensure i+ the

host so+tware !an no lon$er !ommuni!ate with the KTA-223 then the relays turn o++

.6= .nput 6tatus Command

This !ommand will return the status o+ the inputs .+ the parameter is between 1 and " then the

!ontroller will return a 0 or 1 !orrespondin$ to that input *$= L"" .6 1 will return N"" 1 i+ the input is

on, or N"" 0 i+ the input is o++

.+ the parameter is 0 then the unit will respond with the status o+ all the inputs, in similar +orm as the

:rite Relays !ommand *$= .+ inputs 1 and 2 +or the unit are on then L"" .6 0 will return N"" 3 3 is

0011 in binary, and ea!h bit represents ea!h input +rom " down to 1

5http://oceancontrols.com.au/KTA-223.html

Page 6: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 6/14

KTA-223 Arduino Compatible Relay Controller

R6= Relay 6tatus Command=

7u!h the same as the input status !ommand, this !ommand will return the status o+ the relays .+ the

parameter is between 1 and 8 then the unit will return with a 0 or 1 !orrespondin$ to that relay *$=

L"" R6 1 will return N"" 1 i+ the relay is on, or N"" 0 i+ the relay is o++

.+ the parameter to this !ommand is 0 then the unit will respond the same way as the input status

!ommand, but return the status o+ the relays

A.= Analo$ .nput Command

The analo$ input !ommand will read the status o+ the analo$ input de+ined by the parameter and return

it as a &alue between 0 and 1023 *$= L"" A. 1 will return N"" 512 i+ the analo$ input is readin$ 50Q

66= 6ystem 6tatus /6o+tware &11 and )ater

The system status will reIuires a parameter o+ 0 and returns the status o+ all relays and inputs, 5 &alues

ea!h separated by a spa!e The +irst &alue returned is the same as is returned +or an R6 0 !ommand, the

se!ond &alue returned is the same as is returned +or an .6 0 !ommand and the last 3 &alues returned are

the same as returned +rom and A. 0 !ommand

6A= 6et Address

Addresses are &alid +rom 01-DD A unit will only respond i+ its address in memory is the same as that o+

the !ommand sent, or i+ the address o+ the !ommand sent is 00 The address is sa&ed to non-&olatile

memory inside the !ontroller, meanin$ it will be preser&ed e&en a+ter power is dis!onne!t +rom the

!ontroller

6= 6et aud

(arameters +rom 1 to 10 are &alid, !orrespondin$ to &alues shown in Table 3

1= 1200 baud E= 1D200 baud

2= 2"00 baud @= 28800 baud

3= "800 baud 8= 38"00 baud

"= DE00 baud /de+ault D= 5@E00 baud

5= 1""00 baud 10= 115200 baud

Table 1 - aud rate sele!tion

The baud rate is sa&ed to non-&olatile memory inside the !ontroller, meanin$ it will be preser&ed e&en

a+ter power is dis!onne!t +rom the !ontroller

Using the Controller as an Arduino:The KTA-223, as supplied, is an Arduino !ompatible board with Arduino bootloader and a !ustom set!h

loaded that responds to the serial !ommands listed abo&e The sour!e !ode o+ this is a&ailable +rom

#!ean Controls and !an be modi+ied in the Arduino en&ironment to suit your purpose

The Arduino pro$rammin$ en&ironment !an be downloaded +or :indows, 7a! #6 and )inu9 +rom

http=wwwarduino!!

:hen usin$ the KTA-223 with the Arduino *n&ironment sele!t ;Arduino %uemileno&e w ATme$a328<

+rom the ;Tools-Joard< menu, and install the ;AT#< 'umper on the (C +or ease o+ pro$rammin$

The hardware has been desi$ned to a!!ept the Arduino !ompatible 6hields The !o&er may not be able

to be installed when usin$ lar$er shields 6ome shields may reIuire remo&al or modi+i!ation o+ the ba!panel to +it o&er-han$in$ !omponents /The )ibelium ee shield +its with ee modules usin$ !hip

antennae, but 67A antenna !onne!tions !on+li!t with the ba! panel

E

Page 7: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 7/14

KTA-223 Arduino Compatible Relay Controller

The (C &ersions be+ore re&ision E do not lo!ate the E-pin .C6( in the same position as the Arduino

%eumillano&e 6ome shields /in!ludin$ the Arduino *thernet shield tae 5 power, $round or other

si$nals +rom the .C6( header instead o+ +rom the shield headers #n KTA-223&5 and earlier !ontrollers,

 'umper wires or !onne!tions mi$ht be reIuired to use su!h shields

4or e9ample, the the )ibelium ee shield must be supplied with 5 power by !onne!tin$ 5 on the

shield to KE (in 2 and B% on the shield to KE (in E6pa!e is pro&ided on the (C to install the 6par4un Real Time Clo! module /6par4un 6K= #-

000DD The intention is to allow the !ontroller to operate in stand alone situations that reIuire more

timin$ +le9ibility than the sto! !ontroller !an pro&ide The (C !onne!ts the RTC module 6%A to

Arduino %i$ital 12 and 6C) to Arduino %i$ital 13 .nstallin$ this unit may pre&ent proper operation o+

other modules or shield that rely on these pins /+or e9ample, the *thernet shield !annot be used with

the RTC module

6older 'umpers H5 and HE !onne!t "@ ? pull up resistors to the %12 and %13 lines These pull ups are

reIuired +or .2C !ommuni!ation with the RTC module 6older 'umper H@ !onne!ts the sIuare wa&e

output o+ the RTC to %11 to allow use o+ the RTC output as an interrupt

The RTC module is not !onne!ted to the hardware .2C module o+ the mi!ro!ontroller Communi!atin$

with the RTC reIuires the use o+ a so+tware .2C library su!h as 6o+t.2C7aster by :illiam reiman

ardware re&isions 8 and later in!lude a three-way header !onne!tion suitable +or !onne!tin$ a

%618620 or %61820 temperature sensor bus 6older 'umper H8 !onne!ts a "@ ? pull up resistor to

%10, whi!h is !onne!ted to the !entre pin o+ the header

The R6-"85 trans!ei&er is !onne!ted in parallel with the 4T%. 6 to 6erial !on&erter and AT7e$a328

ART pins This trans!ei&er allows hal+-duple9 serial !ommuni!ation o&er 2 or 3 wires The trans!ei&er

reIuires a T Control si$nal to enable the transmit or re!ei&e line dri&er :hen transmittin$, the T

Control line must be asserted /dri&en hi$h To re!ei&e, the line must be le+t low

The 4T232R) 6 to 6erial !on&erter pro&ides a T*B si$nal +or R6-"85 Trans!ei&ers :hen data is

re!ei&ed +rom the 6 port by the 4T232R), it asserts the T Control line, puttin$ the R6-"85 trans!ei&er

in Transmit mode The serial data is then transmitted to the AT7e$a328 and onto the R6-"85 networ

sin$ the R6-"85 trans!ei&er +rom !ustom Arduino !ode reIuires that your !ode dri&e the T Control

line hi$h at the be$innin$ o+ data transmission and returns it low at the end o+ the transmission The T

Control line is !onne!ted to %i$ital 1D The #!ean Controls set!h pro&ides an e9ample o+ how to do

this

Table " shows the mappin$ o+ Arduino pins to the inputs and outputs o+ the !ontroller

KTA-223.#

Arduino (in AR (ort(in KTA-223 .# Arduino (in AR (ort(in

Relay 1 %i$ital 2 (#RT%2 Analo$ .n 1 Analo$ E A%CE

Relay 2 %i$ital 3 (#RT%3 Analo$ .n 2 Analo$ @ A%C@

Relay 3 %i$ital " (#RT%" Analo$ .n 3 Analo$ 0 (#RTC0

Relay " %i$ital 5 (#RT%5 R %ata %i$ital 0 (#RT%0

Relay 5 %i$ital E (#RT%E T %ata %i$ital 1 (#RT%1

Relay E %i$ital @ (#RT%@ R6-"85 T

Control

%i$ital 1D

Analo$ 5

(#RTC5

@http://oceancontrols.com.au/KTA-223.html

Page 8: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 8/14

KTA-223 Arduino Compatible Relay Controller

Relay @ %i$ital 8 (#RT0 *thernet 6hield %i$ital 10 (#RT2

Relay 8 %i$ital D (#RT1 *thernet 6hield %i$ital 11 (#RT3

#pto-.n 1 %i$ital 15

Analo$ 1

(#RTC1 *thernet

6hield RTC

6%A

%i$ital 12 (#RT"

#pto-.n 2 %i$ital 1E

Analo$ 2

(#RTC2 *thernet

6hield RTC 6C)

%i$ital 13 (#RT5

#pto-.n 3 %i$ital 1@

Analo$ 3

(#RTC3

#pto-.n " %i$ital 18

Analo$ "

(#RTC"

Table 1 - Arduino (in 7appin$

KTA-223 iring !"amples: #nputs

The opto-isolated inputs allow +or a ran$e o+ !onne!tion possibilities The +i$ures below show the wirin$

+or a dry-!onta!t swit!h, B(B and (B(-type sensor

 

4i$ure 1 - :irin$ a dry !onta!t swit!h

 

4i$ure 1 - :irin$ an B(B-type sensor

4i$ure 1 - :irin$ a (B(-type sensor

8

Page 9: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 9/14

KTA-223 Arduino Compatible Relay Controller

Analo$ inputs !an be wired +or 0 to 5 or 0 to 20 mA si$nals, dependin$ on the position o+ the input

 'umper inside the unit A re$ulated 5 %C output is pro&ided +or the !on&enien!e o+ wirin$ analo$

sensors lie potentiometers

4i$ure 1 - :irin$ a potentiometer

4i$ure 1 - :irin$ a " to 20 mA, loop-powered sensor

iring !"amples: $utputs

The relay outputs on the KTA-223 !an be wired to %C or AC loads

4i$ure 1 - :irin$ a basi! %C load

.ndu!ti&e loads at hi$h !urrents !ause lar$e &olta$e spies when turned on or o++, and this !an disrupt

sensiti&e ele!troni!s 4or lar$e indu!ti&e loads, a snubber is re!ommended A %C load !an be bypassed

with a !ir!ulation diode An AC load reIuires an RC snubber a!ross the relay !onta!ts or load *nsure

that diodes, resistors and !apa!itors used +or snubbers are !orre!tly rated +or the load and &olta$e bein$

swit!hed

Dhttp://oceancontrols.com.au/KTA-223.html

Page 10: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 10/14

KTA-223 Arduino Compatible Relay Controller

 

4i$ure 1 - :irin$ 6nubber Cir!uits

Selection %uide:

KTAS223

56.#Controller

A=12ersion=2"ersion

&ardware 'e(ision &istory:

KTA-223&1= .nitial release

*rratum= R8 is not !onne!ted to $round This was !orre!ted on shipped boards by the

addition o+ a 'umper wire to the (C This +i9 was applied at the +a!tory

KTA-223&2= 4i9 +or R8

KTA-223&5= Chan$ed to a )728"1 swit!hin$ re$ulator +or easier assembly

KTA-223&D= Added 33 linear re$ulator to tae load o++ 4T232R) !hip,

Added T and R )*%s, usin$ a li$htpipe and 55E to e9tend pulse time

Added 4*T and )*% on %13,

Added pull up resistors and 'umpers +or RTC,

Chan$ed !urrent shunt resistors to pre!ision 250 ?

Chan$ed re$ulator to )72D5",

Chan$ed diodes and pull up resistors on TRT*B lines to lo$i! $ates +or betterper+orman!e,

Chan$ed to relays with hi$her !oil to !onta!t isolation ratin$

Added +ilter !aps +rom 6 shield to $round +or better noise immunity

Added +ootprint, pull up and 'umper +or 1-:ire sensor

Chan$ed position o+ .C6( header to mat!h Arduino no

Added e9tra shield header pins to mat!h Arduino no

KTA-223&12= Chan$ed serial lo$i! $ates to lar$er pa!a$es +or more reliable assembly

Chan$ed 'umpers to a sin$le 29", sur+a!e-mount blo! +or easier assembly

Chan$ed )*%s to side-mount units to remo&e li$ht pipe

10

Page 11: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 11/14

KTA-223 Arduino Compatible Relay Controller

All other &ersions were internal prototypes

Software 'e(ision &istory:

The KTA-223 !omes pre-pro$rammed as an Arduino with a set!h loaded The set!h !an be up$raded

usin$ the Arduino .%*

6o+tware &10= .nitial Release6o+tware &11= Added TR and 66 !ommands

6o+tware &12= Added KA !ommand

)icensing:

The KTA-223 is deri&ed +rom the Arduino %eumilano&e and the s!hemati!s and CA% +iles are a&ailable

under Creati&e Commons Attribution 6hare-Alie li!enses Conta!t in+oLo!ean!ontrols!omau +or more

in+ormation

11http://oceancontrols.com.au/KTA-223.html

Page 12: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 12/14

KTA-223 Arduino Compatible Relay Controller

12

Page 13: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 13/14

KTA-223 Arduino Compatible Relay Controller

13http://oceancontrols.com.au/KTA-223.html

Page 14: KTA-223 Manual v12

7/21/2019 KTA-223 Manual v12

http://slidepdf.com/reader/full/kta-223-manual-v12 14/14

KTA-223 Arduino Compatible Relay Controller

1"