Gunn Systems Inc.                                         Ph: (352) 326-3264

Control Software and Systems Solutions

37703 Ricker Dr.                                                                   WWW: http://www.gunnsys.com

Lady Lake Fl. 32159                                                             Email: hgunner@worldnet.att.net

 


 

 

 

 

 

GSI-2C Hardware

and  

Simple Rulez Embedded Software

 

Operator’s Manual

 

 

 

 

 

 

 

 

In support of:

Simple Rulez Software 1.0

Hardware GSI-2C

2/19/03

 

 

 


Chapter 1 Overview.. 4

Features: 4

Simple Rulez Software Features. 5

Chapter 2 Installation. 7

Chapter 3 General Operation. 12

Chapter 4 Setting Clock. 13

Chapter 5 Inputs. 14

Time. 14

Temperature. 14

Light Level 15

IR Commands. 16

Digital Inputs. 16

Analog Inputs. 16

Chapter 6 Outputs. 17

Health LED.. 17

Relays. 17

Digital Outputs. 18

Tones. 18

X10 Send. 19

Expansion Outputs (Relay or IO expansion boards) 19

Chapter 7 Event Programming. 20

Entering A New Event 20

Clearing a Programmed Event 21

Delay Timers. 21

Examples. 22

Chapter 8 Logging. 23

Chapter 9 Settings. 24

Temp Units. 24

X10 Address. 24

X10 Housecode. 24

Relay Mode. 24

Logging. 25

Load Defaults. 25

Chapter 10 Serial Interface. 26

Input Command (I) 26

Output Command (O) 27

Dump Command (D) 27

Set Time/Date Command (S) 28

EEPROM Utilities (E) 28

Tone Command (Q) 29

Health Command (H) 30

Digital Output Command (J) 30

Relay Output Command (R) 31

Configure Settings Command (C) 31

Display Log Command (L) 33

Display Status Command (Z) 34

Chapter 11 GSI-2 Utility. 35

Using the GSI-2 Utility to download event programs from a file. 36

Changing GSI-2 settings using the GSI-2 Utility. 37

Chapter 12 Downloading the Simple Rulez Software to the GSI-2. 39

Downloading Simple Rulez Software to the GSI-2 Using the HC08Loader Utility. 40

Downloading Simple Rulez software to the GSI-2 Using the PRog08sz Utility. 41

Chapter 13 Specifications. 42

Physical 42

Electrical 42

Hardware. 42

Software. 43

 


 

Chapter 1 Overview

The Gunn Systems GSI-2C hardware platform is a versatile embedded platform with a high-speed microprocessor and simple on-board inputs and outputs.

 

Coupled with the embedded Simple Rulez software, the GSI-2 becomes a powerful yet simple logic controller that is fully operational from the front panel.

 

 

Features:

The GSI-2 Controller (Hardware) Provides:

·         Serial (RS-232) Interface

·         10 Mhz Microprocessor with 32K Flash ROM

·         Real Time Clock with power outage backup

·         LCD Display (20x2 characters) with backlight or Vacuum Fluorescent **

·         Simple Encoder/One-Button user interface (called selector knob); Keypad option also available.

·         X10 Home automation interface (optional)

·         1 or 2 external Temperature sensors  (Dallas 1 Wire interface)

·         Audio tone Output (various frequencies and durations)

·         2 Single-pole 10 Amp Relays on-board (Plug able Terminal block connector)

·         4 High Current DC Switched Output s (1/2 A)

·         4 Analog Inputs (0-5V DC inputs)

·         Status LEDs: Processor (blue), and Health (bi-color)

·         EEPROM (2K Bytes), socketed for easy removal Used for Log and configuration

·         SPI Connector for expansion

·         Mountable molded plastic box

 

Note: ** = Industrial range version with fluorescent display is optional

 

Simple Rulez Software Features

The Simple Rulez embedded software is written in the C language. It provides:

·         A user interface and menuing system that utilizes the GSI-2’s LCD display and selector knob (or keypad).  Allows easy configuration, status display, and event programming from the front panel.

·         Communications are provided through RS-232 (9600 baud, 1 stop bit). ASCII terminal interface and intuitive menuing system.

·         Communications through X10 control (programmable events, time sync).

·         Programmable events (simple “If…Then”-style programming).

·         Event Logging (with time and date stamp).

·         Value Logging  (once an hour – temp, light, analog inputs, x10)

·         EEPROM (non-volatile memory) Storage of settings, events, and logging.

 

Possible Outputs (programmable using events):

10 Amp Relays (two)

½ Amp DC Outputs (four)

Tones (once, once a minute, once every 8 seconds, once a second, variable Freq and vol.)

Dual Color LED Indicator

X10 Commands Sent (any address, any house code, Cmds: ALL ON, ALL OFF, ON, OFF, DIM, BRIGHT)

SPI – Expansion outputs (to future external relay board, D-A/A_D board)

 

 

Possible Inputs (programmable using events):

Time / Date Schedules

Temperature Sensor (up to 2 external temp probes)

Light level

Infrared Remote

X10 commands received (ON, OFF, BRIGHT, DIM)

4 Inputs (Analog or Digital)

 

 

 

 

X10 Interface Provides (with optional X10 adaptor):

·         X10 Commands Sent, triggered by Programmed Events

·         X10 Commands Received trigger Programmed Events

·         Time Sync (3:00 AM) with external computer (requires optional software)++

·         Health LED Override++

X10 interface supports either the Power-Linc X10 adaptor (provides power and X10 communications) or TW-523.

++ = See settings chapter for enabling automatic X10 functions


 

 

Chapter 2 Installation

 

WARNINGS:

 

NEVER CONNECT THE GSI TO A TELEPHONE LINE; THE RJ-11 CONNECTOR IS FOR THE X10 POWER-LINC ADAPTOR ONLY, NOT TELEPHONE.

 

IF YOU ARE USING THE POWERLINC X10 ADAPTOR, YOU DO NOT NEED ANY OTHER POWER SOURCE (THE POWER-LINC ADAPTOR PROVIDES IT).

 

ONLY THE RELAYS (TB2) MAY HAVE AC CONNECTED DIRECTLY TO THEM. CONNECTING 125VAC TO ANY OTHER POINT ON THE BOARD WILL ABSOLUTELY VOID ANY WARRANTY.

 

IF YOU FEEL YOU DON’T KNOW WHAT YOU ARE DOING AFTER FULLY READING THIS MANUAL, THEN ASK OR HIRE SOMEONE WHO DOES BEFORE INSTALLING AND USING THIS PRODUCT.

 

GUNN SYSTEMS RECOMMENDS USING A QUALIFIED ELECTRICIAN FOR ANY AC WIRING


 

 

 

Mounting the GSI-2C

The overall size of the GSI-2 is 6.7”W x 4.077”L x 3.75”H (Note that switch and cabling come out top; access “punch-out” on bottom for user cabling).

 

 


GSI-2 Connections:

 

Temp Probe – You can use one or two temperature probes connected to the small mini jack type connector on the top left of the unit. If you have two temperature sensors you will need a Y cable. Note temperature sensors have a maximum length of 3 feet (1 M).

 

Serial Port  - If you are connecting to a laptop or desktop PC use a standard serial cable to connect to the DB-9 serial connector (RS-232 serial connector) on the GSI-2.

 

Internal Connections

 The following connections are provides inside the unit. Open the back cover by removing the 3 Philips screws. Two removable punch-out plugs are provided on the bottom of the case for routing wiring.

 

 

The terminal block (TB 1, the one with 10 terminals) positions are used for four digital or analog inputs. These are 0 to 5 volt inputs. These inputs are suitable for contact closure to ground, for example to connect a switch to an input connect one side to ground and the other to the input terminal.

 

Input Terminals (on TB1):

Terminal 6 – Input 1

Terminal 7 – Input 2

Terminal 8 – Input 3

Terminal 9 – Input 4

Terminal 1 - Ground

Note 1: Terminal 1 is Ground, and Terminal 10 is +5V.

Note 2: The inputs include an onboard pull-up on RN1.

 

 

 

The terminal block (TB 1, the one with 10 terminals) positions are also used for four digital inputs. These are DC outputs (sink type) capable of sinking ½ amp DC.

 

Output Terminals (on TB1):

Terminal 1 - Ground

Terminal 2 – Output 1

Terminal 3 – Output 2

Terminal 4 – Output 3

Terminal 5 – Output 4

 

Note: 10K pull-ups are included on-board (via RN1).

  Relays – (on TB2)

            Pin 1 is to the left next to the 10 pos terminal block

 

PINS 1 and 2 are contacts for RELAY 1

PINS 3 and 4 are contacts for RELAY 2

 

Power –

 

  IF USING X10 - If you are using the optional X10 power pack (it will be labeled “PowerLinc”, then you will connect the small telephone (RJ-11) connector to the X10 connector. on the GSI-2.

 

 IF NOT USING X10 – If you are using the standard 12VDC power pack, plug the power jack into the jack next to the power switch.

 

NOTE: The Program/Run Switch should be in the RUN Position (towards the Serial Connector) for normal operation.

 

WARNING: Do not use the Powerlinc adaptor and any other power source at the same time or damage may occur.