antilog rs232 data logging system oem supplement · 1. introduction the antilog rs232 data logging...

12
AntiLog RS232 Data Logging System OEM Supplement DOC/AntiLog/UG/2003002_3.5 29-Jan-2016 G Hatto (c) Anticyclone Systems Limited DOC/AntiLog/UG/2003002_3.5 Page 1 of 12

Upload: trinhhanh

Post on 27-Jul-2018

257 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

AntiLog RS232 Data Logging System

OEM Supplement

DOC/AntiLog/UG/2003002_3.5

29-Jan-2016

G Hatto

(c) Anticyclone Systems Limited

DOC/AntiLog/UG/2003002_3.5 Page 1 of 12

Page 2: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

Copyright (c) Anticyclone Systems Ltd, 2016.

All rights reserved.

No reproduction in any form of this publication, in whole or in part (except for brief quotation in critical articles or reviews),

may be made without prior written authorisation from Anticyclone Systems Ltd.

Anticyclone Systems Ltd reserves the right to make changes in the product design without reservation and without notification to its users.

www.anticyclone.co.uk

DOC/AntiLog/UG/2003002_3.5 Page 2 of 12

Page 3: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

Table of Contents1. Introduction......................................................................................................................5

1.1. User Guide Applicability.............................................................................................51.2. Setting the Real Time Clock......................................................................................5

2. Board Layout.....................................................................................................................52.1. PCB Top View...........................................................................................................62.2. Connector J3.............................................................................................................62.3. CMOS RS232 levels..................................................................................................72.4. RTC Battery Backup..................................................................................................82.5. Connector J4.............................................................................................................92.6. DC Power...................................................................................................................92.7. PP3 clip......................................................................................................................92.8. RS232........................................................................................................................9

3. PCB Underside View......................................................................................................103.1. Alternative Media.....................................................................................................10

4. Module Dimensions........................................................................................................115. References......................................................................................................................126. Abbreviations..................................................................................................................12

DOC/AntiLog/UG/2003002_3.5 Page 3 of 12

Page 4: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

DOC/AntiLog/UG/2003002_3.5 Page 4 of 12

Page 5: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

1. IntroductionThe AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone OEM (Original Equipment Manufacturer) product. The stand alone OEM product has been designed to be easily embedded into a customer application to add an RS232 data logging capability.

All that is required to make the OEM product function is the addition of some push to make switches, mating connectors and a red and green LED (or a single bi-coloured LED). It is alsopossible to solder a PP3 style battery clip cable to the OEM PCB to supply local power if you do not which to supply power via the supplied DC power jack fitted to the board. A Real Time Clock (RTC) battery backup supply is required if you want to preserve clock date and time information when other sources of power are removed.

The OEM product has the same level of functionality as the boxed product. In fact the boxed product is simply an implementation of the OEM product for consumer use.

1.1. User Guide Applicability

This manual refers to the AntiLog product hardware REV F from Anticyclone Systems Ltd running release V3.7 (single channel) and V5.3 (dual channel) of the embedded software.

This guide includes mechanical and physical installation information for the OEM product and is intended to supplement the AntiLog RS232 Data Logging System User Guide[1]. The user guide describes how to use the AntiLog system whereas this guide details OEM specific installation and operating considerations.

1.2. Setting the Real Time Clock

You will need to set the Real Time Clock value (if you want to use this feature) the first time you use the OEM unit with your own battery backup supply. The clock is set by going into the '<G> General Options' menu item by typing a 'G' at the root AntiLog terminal menu system and then typing a 'T' to go into the '<T> System time and date options' menuitem. Here you can enter another 'T' and enter a date and time which will be retained by the RTC hardware as long as at least one source of power is available (either AntiLog is turned onor the battery backup supply is present). Anticyclone Systems Ltd recommend you always set the real time clock to UTC to avoid problems with remembering time zone offsets when analysing recorded data.

2. Board LayoutThe PCB has components on both sides and so care should be exercised when handling it. There are two 2.54 mm pitch double row connectors mounted on the board. The J3 connector is used to make connections to the push to make switches, LED(s) and other application specific signals. J4 is used to allow the on board microcontroller to be reprogrammed.

DOC/AntiLog/UG/2003002_3.5 Page 5 of 12

Page 6: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

2.1. PCB Top View

2.2. Connector J3

J3 supports two push to make (non latching) switches to turn the unit on and off, two LEDS orone bi-coloured LED, 3V3 power, a two wire serial interface (I2C compatible), an Event In signal and a second serial port (or first serial port handshaking lines). To build a basic AntiLog system, all that is required are connections for the 'On' and 'Off' buttons, the LEDs and two links for the serial port handshaking lines.

DOC/AntiLog/UG/2003002_3.5 Page 6 of 12

Figure 1 - PCB Connections

Figure 2 - Header Wiring looking down onto top side of board

1

3

5

2

4

6

1

3

5

2

4

6

7

9

11

8

10

12

13

15

14

16

OnOff

RedGreen

J4

J3

DC Power

RS232

J4

J3

PP3 Clip

Page 7: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

If a bi-coloured LED is used as shown above, it must be a common cathode type. Current limiting resistors are already fitted to the OEM board for the LED(s) so an LED may be connected directly to these pin connections without the need for additional limiting resistors.

The only other connections required for basic operation are to connect Rx2/CTS to Rx2/CTS Driver and connect Tx0/RTS to Tx0/RTS Driver. This configures the RS232 RTS and CTS lines to appear on the front panel 9-way D connector under software control and allow Dual Serial Port operation.

Pin Number Connection

1 Push to make - ON

2 GND for push to make - ON

3 Push to make - OFF

4 GND for push to make - OFF

5 Red LED anode (+ve).

6 LED (Red and Green) common cathode and Power GND

7 Green LED anode (+ve).

8 3V3 power output (maximum 50mA)

9 Event In

10 VBack RTC battery backup (+1.8V to +3V3)

11 I2C Clock

12 I2C Data

13 Rx2/CTS CMOS

14 Rx2/CTS Driver

15 Tx2/RTS CMOS

16 Tx2/RTS Driver

Pins are provided for Event input, I2C bus but no connection is required to these pins for basicAntiLog operation.

2.3. CMOS RS232 levels

If the Dual Serial Port mode is enabled from the AntiLog terminal menu system, a second serial port (Secondary Port) is enabled. This can be routed through the J3 header to appear at the 9 Way D connector in the RTS/CTS lines or it can appear directly at J3 at CMOS levels for direct connection to OEM equipment (e.g. a GPS OEM module).

DOC/AntiLog/UG/2003002_3.5 Page 7 of 12

Page 8: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

Looping back pins 14 and 16 allows the RTS/CTS to function on the main 9 way-D connectorwhile the secondary serial port CMOS connections appear on J3 pins 13 and 15.

2.4. RTC Battery Backup

If a source of power is permanently applied to the VBack pin (+ on pin 10) and ground (pin 2, 4 or 6) then the built in Real Time Clock (RTC) will maintain correct time and date for time stamping recording sessions and recorded ASCII line data. The boxed version of AntiLog uses a 2032 format coin cell and holder mounted on the lid PCB daughtercard as the source of RTC backup power.

DOC/AntiLog/UG/2003002_3.5 Page 8 of 12

Figure 3 Alternative serial port wiring for J3 pins 13 to 16

1

3

5

2

4

6

7

9

11

8

10

12

13

15

14

16

Rx2 CMOS 0 to 3V3

Tx2 CMOS 0 to 3V3

Figure 4 RTC Battery Backup Connections

1

3

5

2

4

6

7

9

11

8

10

12

13

15

14

16

3V, 2032 coin cell

+-

Page 9: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

2.5. Connector J4

The J4 header allows the on board microcontroller to be programmed directly with a dedicatedprogramming cable. Attempting to program the unit yourself through this interface may destroy the FLASH memory content and hence the resident AntiLog embedded software application or bootloader. Embedded software upgrades are now applied using the built in bootloader software only.

Pin Number Connection

1 PRG-PDI

2 +3V3 (20mA)

3 PRG2-SCK

4 PRG3-PDO

5 /RESET

6 GND

2.6. DC Power

The DC power socket can be used to supply power in the range 4.5 to 18V from a standard 6.5mm (2.1mm inner pin) barrel connector. Note that the centre pin must supply the positive connection. The OEM unit is polarity protected so it is not possible to damage the unit by applying power to the DC connector the wrong way (see the User Guide[1] for more details). However, permanent damage to the OEM unit may occur if you apply a source of power with the correct polarity which exceeds 18V.

2.7. PP3 clip

The PP3 clip solder connections can be used for a standard PP3 wired clip to supply power to the unit from a PP3 battery. Alternatively, these connections can be used to supply internal power from any locally available regulated DC power source in the range 4.5 to 18V. The board PP3 solder connections are also polarity protected but permanent damage to the OEM unit may occur if you apply a source of power with the correct polarity which exceeds 18V.

2.8. RS232

This 9 way D-type connector is used to supply RS232 data from a logging source or is used to communicate with a host machine to upload or play back recorded data. A custom Dual SerialPort cable can be used to access the second serial port in Dual Serial Port mode. The Dual Serial Port mode uses the RTS/CTS lines as Tx2/Rx2 lines. See the main AntiLog User Guide[1] for more details on the serial port option and for details on constructing your own Dual Serial Port cable.

DOC/AntiLog/UG/2003002_3.5 Page 9 of 12

Page 10: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

Pin RS232 Function AntiLog connection Direction

1 Carrier Detect [Not connected] -

2 Receive Data Main Port, Receive Data (Rx1) in

3 Transmit Data Main Port, Transmit Data (Tx1) out

4 Data Terminal Ready Data Terminal Ready out

5 Signal Ground Signal Ground -

6 Data Set Ready Data Set Ready in

7 Request To Send Request To Send (RTS) orSecondary Port, Transmit Data[1] (Tx2)

out

8 Clear To Send Clear To Send (CTS) orSecondary Port, Receive Data[1] (Rx2)

in

9 Ring Indicator [Not connected] -[1] Only available on AntiLog hardware revision C or higher with Dual Serial Port Enabled.

3. PCB Underside ViewThe underside of the PCB holds a card slot for a Multimedia (MMC) or Secure Digital (SD) card. In addition, AntiLog V5.3 supports Secure Digital High Capacity (SDHC) cards. AntiLog can be fitted with any compatible MMC, SD form factor media card supporting the standard SPI protocol (but not SDXC). NEVER PULL THE CARD OUT OF THE SLOT DIRECTLY. The mechanism is a Push-Push mechanism which means to eject the card, push it further in, release and the card will eject enough so it can be removed without force.

If the system is to be used in a high vibration environment, it may be wise to apply a silicon sealant or other fixing material to the end of the card to prevent the media card ejecting out of the card slot.

3.1. Alternative Media

Please check first with your AntiLog supplier if you wish to use alternative MMC, SD or SDHC media because not all media has the speed and low power consumption of the media supplied with the product (e.g. some low cost, re-branded media can consume excessive power and may not be able to keep up with the required write speed data rates). We only supply media which has been tested and selected for optimised speed and power consumption.

DOC/AntiLog/UG/2003002_3.5 Page 10 of 12

Figure 5 - MMC/SD card slot showing insertion method

Page 11: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

4. Module DimensionsThe OEM module has 3mm diameter holes located in each corner for mounting purposes. The PCB board thickness is 1.6mm. All dimensions below are in millimetres (mm).

DOC/AntiLog/UG/2003002_3.5 Page 11 of 12

Page 12: AntiLog RS232 Data Logging System OEM Supplement · 1. Introduction The AntiLog RS232 data logging system from Anticyclone Systems Ltd is available as a boxed unit or as a stand alone

5. References1 AntiLog RS232 Data Logging System User Guide, DOC/AntiLog/UG/2003001_3.7

and DOC/AntiLog/UG/2003001_5.3

6. Abbreviations

ASCII American Standard Code for Information InterchangeCTS Clear To Send (RS232)DC Direct CurrentI2C Bi-directional two wire serial busLED Light Emitting DiodeMMC Multimedia CardOEM Original Equipment ManufacturerPCB Printed Circuit BoardPP3 9 Volt battery with stud connections on the topPWM Pulse Width ModulationRS232 A common physical interface standard specified by the Electronic Industries

Association (EIA) for the interconnection of devices.RTC Real Time ClockRTS Request To Send (RS232)SD Secure Digital MediaSPI Serial Peripheral InterfaceUTC Universal Coordinated Time

DOC/AntiLog/UG/2003002_3.5 Page 12 of 12