Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

877 DEVELOPMENT AND TRAINING

SYSTEM

877-DATS

TECHNICAL REFERENCE
AND USER MANUAL
This manual is published by
ABITEC PRODUCTS
Oak House, 50 Barton Drive,
New Milton, Hants, U.K.
BH25 7JJ

©GnB 2003, All Rights Reserved.

Copyright of the 877 DEVELOPMENT AND TRAINING SYSTEM (877-DATS), its associated
software and documentation belongs to GnB and may not be used, sold, licensed, transferred, copied or
reproduced in any manner of form other than with the written permission of GnB.

Purchase of this product entitles the purchaser to use the software on a single machine but does not
constitute ownership of the software. Unauthorised copying, lending, or re-distribution of the software
or documentation in any manner constitutes breach of copyright. Software piracy is theft.

DISCLAIMER

No warranties of any kind are made with respect to the contents of this software package, nor its fitness
for any particular purpose. Neither GnB nor any associates or sub-contractors shall be liable for errors
in the software or documentation, or for any direct, indirect or consequential damages or financial
losses arising from the use of the package.

TRADEMARKS

All registered trademarks acknowledged.


THE HEALTH AND SAFETY AT WORK ACT 1974
We are required under the Health and Safety at Work Act 1974, to make available to users of
this equipment certain information regarding its safe use.
The equipment, when used in normal or prescribed applications within the parameters set for
its mechanical and electrical performance, should not cause any danger or hazard to health or
safety if normal engineering practices are observed and they are used in accordance with the
instructions supplied.
If, in specific cases, circumstances exist in which a potential hazard may be brought about by
careless or improper use, these will be pointed out and the necessary precautions emphasized.
While we provide the fullest possible user information relating to the proper use of this
equipment, if there is any doubt whatsoever about any aspect, the user should contact Abitec
Products.
This equipment should not be used by inexperienced persons unless they are
under qualified supervision.
We are required by European Directives to indicate on our equipment panels certain areas and
warnings that require attention by the user. These have been indicated in the specified way by
yellow and black warning labels.

DECLARATION CONCERNING ELECTROMAGNETIC COMPATIBILITY


Should this equipment be used outside the classroom, laboratory study area or similar such
place for which it is designed and sold then Abitec Products hereby states that conformity
with the protection requirements of the European Community Electromagnetic Compatibility
Directive (89/336/EEC) may be invalidated and could lead to prosecution.
This equipment, when operated in accordance with the supplied documentation, does not
cause electromagnetic disturbance outside its immediate electromagnetic environment.

Component replacement

Where components are of a ‘Safety Critical’ nature, i.e. all components involved with the
supply or carrying of voltages at supply potential or higher, these must be replaced with
components of equal international safety approval in order to maintain full equipment safety.
In order to maintain compliance with international directives, all replacement components
should be identical to those originally supplied.
Any component may be ordered direct from Abitec Products or its agents by quoting the following information:
1. Equipment type 2. Component value or type 3. Component reference

Components can often be replaced by alternatives available locally, however


we cannot therefore guarantee continued performance either to published specification or
compliance
877-DATS Introduction

Introduction

The 877-DATS Development and Training system allows programs to be developed,


downloaded and debugged using then In-Circuit Debugging (ICD) facility provided
by the 16F877 microcontroller. When ICD is being used a number of ‘floating’
windows are available to present microcontroller information whilst debugging
programs.

When program development is complete the 877-DATS (target board) enables the
user to program the PIC16F877 microcontroller via a serial port on a PC and then run
the program at the flick of a switch without the need to remove the device.

The 877-DATS is constructed on a high quality double-sided through plated printed


circuit board and is powered from a single rail power supply. The board holds all
circuitry necessary to program and run programs developed of the PIC16F877
microcontroller. Onboard LED’s indicate the current operation (Running a program,
Loading a program or Idle) that is controlled using two switches:

• A push button to start and stop programs (reset or not reset).


• A slide switch to switch between programming and operation mode.

The 877-DATS has a variety of connectors fitted that allow the user to connect their
own applications. If fitted, all available I/O lines are accessible via optional screw
terminals located around the perimeter of the PCB. Each terminal is identified on the
PCB and is designated with its respective pin on the PIC16F877.
Three IDC connectors are also provided and allow the unit to be connected to a
number of application boards.

Four switches are fitted on the board allowing logic 0 and 1 to be set to inputs RC0,
RE0, RE1 and RE2 on the 16F877.

The power supply requirement is + 8V to +15V unregulated dc at 1A maximum.


When purchased as a Microcontroller trainer a suitable PSU is included in the
package.

Microchips web site www.microchip.com provides a vast amount of information on the


16F877 microcontroller, including manuals, application notes and data sheets. The
cross-assembler and MPLAB (an integrated development system for the full range of
microcontrollers) can be freely downloaded.
877-DATS Introduction

In-Circuit Debugging Restrictions

The In-Circuit Debugging code requires some system resources and therefore these
are not available to the user. The resources used are as follows:

• Register File 070 Hex


• Register Files 166 Hex – 16F Hex
• One level of stack
• Ports RB6 & RB7
• The first operation must be NOP
877-DATS Board Layout

Board Layout

All available I/O lines are also connected to the screw terminal connectors TB1 to
TB4 on the top and bottom edges of the PCB.

Figure 31

Circuit Diagram

The circuit diagrams are shown on the following two pages:


Circuit Diagram 1 of 2
VCC

+ C3 + C5
U1 R14 U3
4.7uF 4.7uF 12V
1K 8
16 1 V+
5V +C1 5 + C11 D4
6 2 4 REF 44uF 1N5817
-10V +10V + C6 SHDN 7
3 LX
-C1 4.7uF MAX761
C4 L1
4 3 44uH
+
4.7uF +C2 FB 1
14 5 2 LBO VCC
P1
1 T1out -C2 LBI 6
6 7 GND
2 T2out
7 13 11 + C12
3 R1in T1in C10 44uF
8 8 10 0.1uF
4 R2in T2in
9 15
5 Gnd 12
R1out R7
9 10K
SERIAL PORT R2out R8 10K

Max232 Q1
R6
Q2
BC109 BC212L
1K IC4
MCLR

R9
VCC U2 R5 10K
330
1 18 VCC
RA2 RA1
C8
R2 2 17
10K RA3 RA0
3 16 D2
RA4 OSC1 33pF PROG
Y1 R12
4 15 4MHz 330
MCLR OSC2
C9
+ C7 5 14
10uF Vss Vdd
R13
6 13
RB0 RB7 33pF
D3
7 12 RUN
100 RB1 RB6 IC4 RB7
8 11 (PGD)
VCC R4 RB2 RB5
IC4 RB6 R10 R11
100 9 10 (PGC) Q3
RB3 RB4 BC109
R3 PIC16F84
IC4 RC6 330 10K
10K (TX)
S1 IC4 RC7
(RX)

S2
RUN RUN/PROG
Circuit Diagram 2 of 2

9V
REG1
P1 7805 Vcc
3 2
1 VIN VOUT
2 R1
+ C1 ADJ 330
100uF + C2
100uF C13 C14 C15
1 0.1uF 0.1uF 0.1uF

D1
POWER

VCC
C16
14
S4
RE0 R15

IC4 33pF
XT2
10K
16F877 CRYSTAL SW SPDT

S6
C17 R16
15 RE2

33pF 10K
SW SPDT

S5 P4
+5V RE1 R17
1
2
RC4/SDA 3
12 10K 4
SW SPDT
5
35
RC5/SDO 5 PIN DIN
S3
RC0 R18
13

34 10K
SW SPDT
877-DATS tPIC16F877 Pinout

16F877 PLCC Pinout


877-DATS Board Layout

I/O Connectors

40 Way Connector P5

1 2

39 40

Function PIN No Function PIN No


N/C 1 N/C 2
N/C 3 N/C 4
N/C 5 N/C 6
N/C 7 N/C 8
N/C 9 N/C 10
N/C 11 N/C 12
+5 Volts 13 +5 Volts 14
RA0 15 RE1 16
RA1 17 RE0 18
RA2 19 RA5 20
RA3 21 RA4 22
RD0 23 RD7 24
RD1 25 RD6 26
RD2 27 RD5 28
RD3 29 RD4 30
RB0 31 RB7 32
RB1 33 RB6 34
RB2 35 RB5 36
RB3 37 RB4 38
0 Volts 39 0 Volts 40
877-DATS Board Layout

26 Way Connector P6

1 2

25 26

Function PIN No Function PIN No


RA0 1 RA1 2
RA2 3 RA3 4
RA4 5 RA5 6
RE0 7 RE1 8
0 Volts 9 RD0 10
RD1 11 RD2 12
RD3 13 RD4 14
RD5 15 RD6 16
RD7 17 0 Volts 18
RB0 19 RB1 20
RB2 21 RB3 22
RB4 23 RB5 24
RB6 25 RB7 26
877-DATS Board Layout

Serial I/O Pinout

P2 ‘D’ Type Socket

1 5

6 9

Pin Function
1 N/C
2 RxD
3 TxD
4 DTR
5 GND
6 DSR
7 RTS
8 CTS
9 N/C
877-DATS Board Layout

20 Way Connector P7

1 2

19 20

Function PIN No Function PIN No


RA0 1 RA1 2
RA2 3 RA3 4
RA4 5 RA5 6
RE0 7 RE1 8
RE2 9 RC0 10
RC1 11 RC2 12
RC3 13 RC4 14
RC5 15 RB0 16
0 Volts 17 RB1 18
RB2 19 RB3 20

Connector P4

Pin Function
1 +5V
2 Ground
3 Ground
4 RC4/SDA 3 1
5 RC5/SAO
5
4

You might also like