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

UNI-DS6

If you are experiencing some problems with any of our products or just need additional information, please place your ticket at
User manual

If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com
All MikroElektronika´s development systems represent irreplaceable

Development system
tools for programming and developing microcontroller-based devices.
Carefully chosen components and the use of machines of the last
generation for mounting and testing thereof are the best guarantee of
high reliability of our devices. Due to simple design, a large number of
add-on modules and ready to use examples, all our users, regardless
of their experience, have the possibility to develop their project in a fast
If you want to learn more about our products, please visit our website at www.mikroe.com

and efficient way.


www.mikroe.com/en/support
DISCLAIMER

All the products owned by MikroElektronika are protected by copyright law and international copyright treaty.
Therefore, this manual is to be treated as any other copyright material. No part of this manual, including
product and software described herein, may be reproduced, stored in a retrieval system, translated or
transmitted in any form or by any means, without the prior written permission of MikroElektronika. The
manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this
TO OUR VALUED CUSTOMERS manual is prohibited.

I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied,
Mikroelektronika. including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular
The primary aim of our company is to design and produce high quality electronic products and to constantly purpose.
improve the performance thereof in order to better suit your needs.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may
appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be
liable for any indirect, specific, incidental or consequential damages (including damages for loss of business
profits and business information, business interruption or any other pecuniary loss) arising out of the use
of this manual or product, even if MikroElektronika has been advised of the possibility of such damages.
Nebojsa Matic MikroElektronika reserves the right to change information contained in this manual at any time without prior
General Manager notice, if necessary.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or
resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as
in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct
life support machines or weapons systems in which the failure of Software could lead directly to death,
personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its
suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.

TRADEMARKS

The Mikroelektronika name and logo, the Mikroelektronika logo, mikroC, mikroC PRO, mikroBasic, mikro-
Basic PRO, mikroPascal, mikroPascal PRO, AVRflash, PICflash, dsPICprog, 18FJprog, PSOCprog, AVR-
prog, 8051prog, ARMflash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM,
EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyVR Stamp LV18FJ, LV24-33A, LV32MX,
PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS are trademarks
of Mikroelektronika. All other trademarks mentioned herein are property of their respective companies.

All other product and corporate names appearing in this manual may or may not be registered trademarks
or copyrights of their respective companies, and are only used for identification or explanation and to the
owners’ benefit, with no intent to infringe.

The Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS
Inc. in the U.S.A and other countries. ©MikroelektronikaTM, 2011, All Rights Reserved.
UNI-DS6 3

page
Table of Contents

General information����������������������������������������������������������������������������������������������������������4
Key features���������������������������������������������������������������������������������������������������������������������5
1. Connecting UNI-DS6 to power supply module�������������������������������������������������������������6
2. mikroBoard�������������������������������������������������������������������������������������������������������������������7
3. Placing mikroBoard������������������������������������������������������������������������������������������������������8
4. Programming microcontroller���������������������������������������������������������������������������������������9
5. USB UART1 and USB UART2 modules���������������������������������������������������������������������10
6. ADC module �������������������������������������������������������������������������������������������������������������� 11
7. USB communication���������������������������������������������������������������������������������������������������12
8. EEPROM module�������������������������������������������������������������������������������������������������������12
9. Piezo buzzer���������������������������������������������������������������������������������������������������������������13
10. DS1820 temperature sensor������������������������������������������������������������������������������������14
11. MMC/SD connector �������������������������������������������������������������������������������������������������15
12. LEDs�������������������������������������������������������������������������������������������������������������������������16
13. Push buttons������������������������������������������������������������������������������������������������������������17
14. 2x16 LCD display ����������������������������������������������������������������������������������������������������18
15. 128x64 graphic LCD display �����������������������������������������������������������������������������������19
16. Touch panel��������������������������������������������������������������������������������������������������������������20
17. Input/output ports�����������������������������������������������������������������������������������������������������21

MikroElektronika
4
page UNI-DS6

General information
The UNI-DS6 development system provides a development environment for programming and experimenting with
various microcontrollers from different manufacturers. Numerous modules, such as 128x64 graphic LCD display, 2x16
alphanumeric LCD display, piezo buzzer, USB-UART, etc. are provided on the board and allow you to easily simulate
the operation of your target device.

Full-featured development
system for microcontroller
based devices

UART communication via


USB connector

MMC/SD card connector

Integrated EEPROM module

Graphic LCD display with


backlight

Package includes:

Development system: UNI-DS6


CD: product CD with relevant software
Cables: USB cable
Documentation: manual and electrical schematic for UNI-DS6

System specification:

Power supply: over an AC/DC connector (7-23V AC or 9-32V DC)


or a USB cable (5V DC)
Power consumption: 50mA when all on-board modules are off
Dimensions: 26,5 x 22cm (10,4 x 8,6inch)
Weight: ~420g (0.92lbs)

MikroElektronika
UNI-DS6 5

page
1 2 3 4 5 6 7 8 9

24

23

22
10
21

20

19

18 17 16 15 14 13 12 11

Key features
1. Power supply module 13. GLCD display connector
2. ADC input 14. Touch panel connector
3. USB UART1 module 15. DIP switches for enabling on-board modules
4. USB UART2 module 16. Push buttons
5. USB communication connector 17. Jumper used to shorten protective resistor
6. LCD2x16 display contrast potentiometer 18. Jumpers used to select push buttons’ logic state
7. mikroBoard socket 19. MMC/SD card connector
8. Jumpers used to select pull-up/pull-down resistors 20. Socket for DS1820 temperature sensor
9. DIP switches for enabling pull-up/pull-down resistors 21. Piezo buzzer
10. I/O ports 22. LEDs
11. GLCD contrast potentiometer 23. Serial EEPROM module
12. Touch panel controller 24. LCD display connector

MikroElektronika
6
page UNI-DS6

1. Connecting UNI-DS6 to power supply module


In order to enable the development system to be turned on, it is necessary to provide the appropriate power supply
voltage over an AC/DC connector CN19, Figure 1-1. When the development system is powered, it is necessary to set
switch marked POWER SUPPLY to the ON position. The power supply voltage provided via the CN19 AC/DC connector
may be in a range between 7 and 23V AC or 9 and 32V DC.

Figure 1-1: Powering the development system

A mikroBoard board with different voltage levels can be placed in the mikroBoard
socket provided on the development system. The position of jumper J16 depends
on the voltage level required. When a 5V mikroBoard is placed in the socket it is
necessary to place jumper J16 in the 5V position. If a 3.3V mikroBoard is placed
move jumper J16 in the 3.3V position.

Figure 1-2: Power supply module

VCC-5V
R57 VCC-MMC VCC-3.3 REG1
VIN
OFF ON FP2 3
VOUT
2
4x1N4007 0.22 E8 FERRITE E10 1 C5 E4
MC33269DT-3.3
D7 D5 U10 10uF 10uF 100nF 10uF
AC/DC
SWC DRVC
E1 SWE IPK
L2
330uF CT Vin 220uH VCC-5V
D6 D4 VCC-SW
CN19 GND CMPR LD79
VCC-3.3 POWER
C24 D10 E2 3.3V {
MC34063A VCC-BRD
5V {
330uF VCC-5V E3
220pF R56 R55 MBRS140T3 R5
J16
2K2
330uF
1K 3K

Figure 1-3: Power supply module connection schematic

MikroElektronika
UNI-DS6 7

page
2. mikroBoard
mikroBoard is designed for placing microcontroller on a development system. Every mikroBoard features an integrated
programmer that is used for MCU programming. For connection with a development system, the mikroBoard uses two
2x40 male headers. In addition, the mikroBoard can be used as a standalone device.

There are several mikroBoard types: mikroBoard for 8051 40-pin, mikroBoard for AVR 64-pin, mikroBoard for dsPIC
80-pin, mikroBoard for PIC 40-pin, mikroBoard for PIC 80-pin, mikroBoard for ARM 64-pin, mikroBoard for ARM 144-pin
and mikroBoard for PSoC.

Figure 2-1: mikroBoard for PIC Figure 2-2: mikroBoard for Figure 2-3: mikroBoard for
40-pin 8051 40-pin PSoC

MikroElektronika
8
page UNI-DS6

3. Placing mikroBoard
The UNI-DS6 development system is designed for usage with various mikroBoards. All the mikroBoards are placed in
a universal mikroBoard socket , Figure 3-1. This socket consists of two 2x40 female headers. To place mikroBoard in
this socket follow the steps below:

STEP 1:

Make sure that all header pins on mikroBoard


are aligned with the mikroBoard socket

STEP 2:

Apply pressure on mikroBoard


edges until it fully fits the socket

Figure 3-1: mikroBoard placed in socket

MikroElektronika
UNI-DS6 9

page
4. Programming microcontroller
The mikroBoard on the development system uses a built-in programmer for MCU programming. All you need to do
is to connect the mikroBoard to a PC via a USB cable (Figure 4-1), and to install the appropriate software on your PC.

Figure 4-1: Connecting mikroBoard to PC via USB cable

Depending on which mikroBoard is in use it is necessary to install the appropriate software for MCU programming:

- mikroBoard for 8051 40-pin: 8051Flash


- mikroBoard for AVR 64-pin: AVRFlash
- mikroBoard for PSoC: PSoC Flash
- mikroBoard for dsPIC 80-pin, mikroBoard for PIC 40-pin, mikroBoard for PIC 80-pin: mikroProg Suite for PIC
- mikroBoard for ARM 64-pin, mikroBoard for 144-pin: ARMflash

To download flash software visit Mikroelektronika’s website at www.mikroe.com

MikroElektronika
10
page UNI-DS6

5. USB UART1 and USB UART2 modules


USB UART modules enable the UNI-DS6 development system to be connected to a PC via a USB connector. In
addition to PC, the development system can also be easily connected to other devices that use USB communication.
USB UART modules are connected to the microcontroller supplied on the development system via #RX232A and
#TX232A pins for USB UART1 or #RX232B and #TX232B for USB UART2.

In order to establish connection between the USB UART1 module and the
microcontroller, it is necessary to set switches 1 and 2 on the DIP switch SW13 to
the ON position. To connect the USB UART2 module and the microcontroller, it is
necessary to set switches 3 and 4 on the DIP switch SW13 to the ON position.

Figure 5-1: USB UART modules

U1
SW13
#RX232A RX-FTDI1 RX-FTDI1 VCC-5V VCC-BRD
VCC-SW VCC-5V TX-FTDI1
TXD OSCO
#TX232A
#RX232B RX-FTDI2 DTR# OSCI C1 C2
#TX232B TX-FTDI2
RTS# TEST
RA0 RA1 RE0 RE1 100nF 100nF
RA2 RA3 RE2 RE3 VCC-BRD VCCIO AGND
RA4 RA5 RE4 RE5 TX-FTDI1
RXD NC
RA6 RA7 RE6 RE7
VCC-5V
RA8 RA9 RF0 RF1 RI# CBUS1 VCC-5V
RA10 RA11 RF2 RF3 GND CBUS1 E5
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7 NC GND
10uF
R18
RB0 RB1 RF8 RF9
DSR# VCC 4K7
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13 DCD# RESET#
RB6 RB7 RF14 RF15
CTS# GND
RB8 RB9 RG0 RG1
CN34
RB10 RB11 RG2 RG3 CBUS4 3V3OUT VCC
RB12 RB13 RG4 RG5 D-
CBUS2 USBDM
RB14 RB15 RG6 RG7 D+
RC0 RC1 RG8 RG9 CBUS3 USBDP GND
RC2 RC3 RG10 RG11
USB B
RC4 RC5 RG12 RG13 FT232RL R19
RC6 RC7 RG14 RG15 C3 10K
RC8 RC9 RH0 RH1
100nF

D+ GND
D-
RC10 RC11 RH2 RH3

VCC
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
RD0 RD1 RJ0 RJ1 Bottom view
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
U2
RD6 RD7 RJ6 RJ7
RD8 RD9 RX-FTDI2
OSCO
VCC-5V VCC-BRD
TXD
RD10 RD11
RD12 RD13 DTR# OSCI C14 C15
RD14 RD15
RTS# TEST
#RX232A #RX232B #SS1# #SS2# 100nF 100nF
#TX232A #TX232B #SCK1 #SCK2 VCC-BRD VCCIO AGND
#SCL #CS1# #MISO1 #MISO2 TX-FTDI2
RXD NC
#SDA #CS2# #MOSI1 #MOSI2
VCC-5V
USB-VBUS RI# CBUS1 VCC-5V
USB-DP USB-DN CBUS1 E7
GND
CN20 CN21 GND
NC
R6 10uF
DSR# VCC 4K7
DCD# RESET#

CTS# GND
CN35
CBUS4 3V3OUT VCC
CBUS2 USBDM
D-
D+
CBUS3 USBDP GND
USB B
FT232RL R7
C16 10K

100nF
D+ GND
D-
VCC

Bottom view

Figure 5-2: USB UART modules connection schematic

MikroElektronika
UNI-DS6 11

page
6. ADC module
The ADC module is used to convert an analog voltage level into the appropriate 12-bit digital value. The analog voltage
is supplied via screw terminals CN15 and CN16. The voltage supplied via the VREF pin is used as a voltage reference.
In order to use this voltage, switch 8 on the DIP switch SW14 should be set to the ON position.

Figure 6-1: ADC module

Serial SPI communication is used for data transfer between the ADC module and the microcontroller. In order to
establish connection between the ADC module and the microcontroller, it is necessary to set switches 1, 2 and 3 on the
DIP SW14 switch to the ON position. Optionally, you can use switches 4, 5 and 6 on the DIP switch SW14.

VCC-SW VCC-5V

SW14 R38 R40


SCK1 #SCK1 SCK2 #SCK2 RA0 RA1 RE0 RE1
SCK1 SCK
RA2 RA3 RE2 RE3
#MISO1 MISO 51 51
RA4 RA5 RE4 RE5
MOSI1 MOSI
RA6 RA7 RE6 RE7
SCK2 SCK R39 R41
VCC-5V MOSI1 #MOSI1 MOSI2 #MOSI2 RA8 RA9 RF0 RF1
REF1 #MISO2 MISO
RA10 RA11 RF2 RF3
VIN MOSI2 MOSI 51 51
RA12 RA13 RF4 RF5
GND R4 RA14 RA15 RF6 RF7
VOUT 4.096V AREF
RB0 RB1 RF8 RF9
MCP1541 100 RB2 RB3 RF10 RF11
E11 RB4 RB5 RF12 RF13
VCC-BRD RB6 RB7 RF14 RF15
10uF RB8 RB9 RG0 RG1
RB10 RB11 RG2 RG3
C32
RB12 RB13 RG4 RG5
100nF
RB14 RB15 RG6 RG7
CH0-U12

CH3-U12

VCC-BRD VCC-BRD VCC-BRD RC0 RC1 RG8 RG9


VCC-BRD
U11 U12 RC2 RC3 RG10 RG11
RC4 RC5 RG12 RG13
C33 CH0-U12
D11 VOUTA VOUTD D15 CH0 VCC RC6 RC7 RG14 RG15
100nF
R86 1N4148 1N4148 CH1-U12 AREF RC8 RC9 RH0 RH1
VINA- VIND- CH1 Vref
RC10 RC11 RH2 RH3
VIND+ CH2-U12
1K D12 VINA+ D16 CH2 AGND RC12 RC13 RH4 RH5
3x51
1N4148 1N4148 CH3-U12 SCK RC14 RC15 RH6 RH7
VCC GND CH3 CLK R1
RD0 RD1 RJ0 RJ1
VINB+ VINC+ MISO
NC DOUT R2 RD2 RD3 RJ2 RJ3
CN15 MOSI RD4 RD5 RJ4 RJ5
VINB- VINC- NC DIN R3
CH0 D1 D13 RD6 RD7 RJ6 RJ7
VOUTB VOUTC ADC-CS#
R87 1N4148 1N4148 DGND CS RD8 RD9
CH1
RD10 RD11
R90
1K D2 MCP6284 D14 MCP3204 RD12 RD13
100K
CN25 1N4148 1N4148 RD14 RD15
#RX232A #RX232B SS1# #SS1# #SS2# SS2#
VCC-BRD #TX232A #TX232B SCK1 #SCK1 #SCK2 SCK2
SW13
#SCL #CS1# MISO1 #MISO1 #MISO2 MISO2
R88 #SDA #CS2# MOSI1 #MOSI1 #MOSI2 MOSI2
1K USB-VBUS
CH2
USB-DP USB-DN
CH3
CN20 CN21
CH1-U12

CH2-U12

R89
CN16
1K #CS1# ADC-CS#
#CS1#

Figure 6-2: ADC module connection schematic

MikroElektronika
12
page UNI-DS6

7. USB communication
The UNI-DS6 development system can communicate with external devices via the USB connector used for USB
communication. The USB connector is directly connected to the microcontroller pins used for USB communication.

CN36
USB-VBUS VCC
#SS1# #SS2#
USB-DN D-

D+ GND
D-
#SCK1 #SCK2
USB-DP D+
#MISO1 #MISO2

VCC
GND
#MOSI1 #MOSI2
USB-VBUS USB B Bottom view
USB-DP USB-DN
CN21

Figure 7-1: USB connector Figure 7-2: USB connector connection schematic
of B type

8. EEPROM module
EEPROM module enables the microcontroller to use additional 1Kbit EEPROM
memory via I2C serial connection. To establish connection between this memory
module and the microcontroller, it is necessary to set switches 5 and 6 on the DIP
switch SW13 to the ON position.

Figure 8-1: EEPROM module

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7
RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11 VCC-BRD VCC-BRD
RB4 RB5 RF12 RF13
SW13
RB6 RB7 RF14 RF15
U6
RB8 RB9 RG0 RG1
RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
A0 VCC R24 R25
1K 1K
RB14 RB15 RG6 RG7
#SCL SCL
A1 WP
RC0 RC1 RG8 RG9 SCL
RC2 RC3 RG10 RG11
#SDA SDA
C9
A2 SCL
SDA
RC4 RC5 RG12 RG13 100nF GND SDA
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1 24AA01
RC10 RC11 RH2 RH3
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7
RD8 RD9
RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 8-2: EEPROM module connection schematic

MikroElektronika
UNI-DS6 13

page
9. Piezo buzzer
Due to a built-in piezo buzzer, the UNI-DS6 development system is capable of emitting audio signals. In order to enable
the piezo buzzer to operate properly it is necessary to generate a voltage signal of specific frequency. Remember, when
writing code for voltage signal generation, that the piezo buzzer’s resonant frequency is 3.8kHz. Other frequencies in
the range between 20Hz and 20kHz can also be used, but the best performance is provided with frequencies ranging
between 2kHz and 4kHz. To establish connection between the piezo buzzer and the microcontroller, it is necessary to
place jumper J14 in adequate position. If jumper J14 is placed in the RC1 position the RC1 MCU pin is used for signal
generation, Figure 9-2. Otherwise place jumper J14 in the RA4 position in order to use the RA4 MCU pin for signal
generation, Figure 9-3.

Figure 9-1: Piezo buzzer Figure 9-2: Signal generation via RC1 Figure 9-3: Signal generation via RA4

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7
RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13
RB6 RB7 RF14 RF15
RB8 RB9 RG0 RG1
VCC-5V RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
RB14 RB15 RG6 RG7
RC0 RC1 RG8 RG9
R23 RC2 RC3 RG10 RG11
PZ1
1K RC4 RC5 RG12 RG13
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
RC1 RC10 RC11 RH2 RH3
R22
BUZZER RC12 RC13 RH4 RH5
RA4 RC14 RC15 RH6 RH7
10K
Q1
J14 RD0 RD1 RJ0 RJ1
BC846
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7
RD8 RD9
RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 9-4: Piezo buzzer connection schematic

MikroElektronika
14
page UNI-DS6

10. DS1820 temperature sensor


DS1820 is a temperature sensor that uses 1-wire communication for its operation. It is used to measure temperature in
a range between -55 and 125°C and provides ±0.5°C accuracy for temperatures in a range between -10 and 85°C. The
power supply voltage of 3.3V to 5V is used for the operation of this sensor. It takes maximum 750ms for the DS1820 to
convert temperature with 9-bit resolution. There is a socket for this temperature sensor provided on the development
system. Communication between this module and the microcontroller is enabled via the microcontroller pins RC1 and
RA4. To use pin RC1 place jumper J15 in the RC1 position and for the RA4 pin place jumper J15 in the RA4 position.

1-wire® serial communication enables data to be transferred over one single communication line, while the process
itself is under control of the master microcontroller. The advantage of this communication is that only one microcontroller
pin is used. All slave devices have a unique ID code, which enables the master device to easily identify all devices
sharing the same communication bus.

NOTE:
Make sure that the
rounded side of the
DS1820 matches half-
circle on the board

Figure 10-1: DS1820 Figure 10-2: Temperature Figure 10-3: Temperature


connector (DS1820 is sensor DS1820 is sensor DS1820 is
not connected) connected via pin RA4 connected via pin RC1

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7
VCC-BRD RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13
RB6 RB7 RF14 RF15
R13
DS1820 RB8 RB9 RG0 RG1
1K
RC1 RB10 RB11 RG2 RG3
DQ DS1820-DQ RB12 RB13 RG4 RG5
RA4 RB14 RB15 RG6 RG7
RC0 RC1 RG8 RG9
J15
RC2 RC3 RG10 RG11
RC4 RC5 RG12 RG13
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
125 C DS
18
20
RC10
RC12
RC11
RC13
RH2
RH4
RH3
RH5
RC14 RC15 RH6 RH7
RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
GND
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7
DQ
RD8 RD9
VCC-MCU RD11
-55 C
RD10
DQ RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
Botoom view #TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
VCC-MCU GND USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 10-4: DS1820 and microcontroller connection schematic

MikroElektronika
UNI-DS6 15

page
11. MMC/SD connector
The UNI-DS6 development system is capable of reading memory cards due to the
on-board MMC/SD connector. Memory card communicates with the microcontroller
through the microcontroller pins used for serial communication. In order to establish
connection between MMC/SD cards and the microcontroller, it is necessary to set
switches 1, 2 and 3 (optionally 4, 5 and 6) on the DIP switch SW14, as well as
switch 8 on the DIP switch SW13 to the ON position.

Figure 11-1: MMC/SD memory card

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7
VCC-MMC U14 VCC-BRD RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11
C7 VCCA VCCB RB4 RB5 RF12 RF13
100nF
RB6 RB7 RF14 RF15
DIR NC
RB8 RB9 RG0 RG1
MMC-CS#-3.3
A0 OE RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
A1 B0 C6 RB14 RB15 RG6 RG7
A2 B1 100nF RC0 RC1 RG8 RG9
MISO-3.3 A3 B2
RC2 RC3 RG10 RG11
R126 RC4 RC5 RG12 RG13
MISO
A4 B3 RC6 RC7 RG14 RG15
100 RC8 RC9 RH0 RH1
A5 B4
R114 RC10 RC11 RH2 RH3
10K A6 B5 RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
A7 B6
VCC-MMC RD0 RD1 RJ0 RJ1
GND B7 RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
GND GND C8
RD6 RD7 RJ6 RJ7
100nF
RD8 RD9
74LVCC3245 RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B SS1# #SS1# #SS2# SS2#
#TX232A #TX232B SCK1 #SCK1 #SCK2 SCK2
#SCL #CS1# MISO1 #MISO1 #MISO2 MISO2
#SDA #CS2# MOSI1 #MOSI1 #MOSI2 MOSI2
USB-VBUS
USB-DP USB-DN
VCC-MMC U13 VCC CN20 CN21
C28 VCCA VCCB
C27
100nF 100nF
DIR NC VCC-MMC CN13 SW14
A0 OE
MMC CARD SCK1 SCK
R11 #MISO1 MISO
MMC-CS#-3.3
A1 B0 100K MMC-CS#-3.3 MOSI1 MOSI
CS
MMC-CS# SCK2 SCK
A2 B1 MOSI-3.3
Din #MISO2 MISO
A3 B2 MOSI2 MOSI
GND
MOSI-3.3 A4 B3
+3.3V
MOSI
A5 B4 SCK-3.3
SCK
A6 B5 SW13
GND
SCK-3.3 A7 B6 MISO-3.3
Dout
GND B7
SCK CD
G
COM

MMC-CD#
GND GND R37 R36
100K 100K R9
74LVCC3245 100K
VCC-BRD #CS2# MMC-CS#
MMC-CD#

Figure 11-2: MMC/SD connector and microcontroller connection schematic

MikroElektronika
16
page UNI-DS6

12. LEDs
There are 72 LEDs on the UNI-DS6 development system used to visually indicate the state of each microcontroller
I/O pin. An active LED indicates that a logic one (1) is present on the pin. In order to enable LEDs to illuminate, it is
necessary to select the appropriate port (PORTA, PORTB, PORTC, PORTD, PORTE or PORTF/G) by using DIP switch
SW12. Ports PORTH and PORTJ are not connected to LEDs.

Notch indicating the SMD


LED cathode

Microcontroller

SMD resistor used to limit


current through an LED
Figure 12-1: LEDs

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
SW12
RA14 RA15 RF6 RF7 LD1 RN11
RA0 LED-RA
RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13
RB6 RB7 RF14 RF15 LD2
RA1
RB8 RB9 RG0 RG1
RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
RB14 RB15 RG6 RG7 LD3
RA2
RC0 RC1 RG8 RG9
8x4K7
RC2 RC3 RG10 RG11
RC4 RC5 RG12 RG13
RC6 RC7 RG14 RG15 LD4
RA3
RC8 RC9 RH0 RH1
RC10 RC11 RH2 RH3
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7 LD5
RA4
RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7 LD6
RA5
RD8 RD9
RD10 RD11
RD12 RD13
RD14 RD15 LD7
RA6
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2 LD8
RA7
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 12-2: LED and port PORT0 connection schematic

MikroElektronika
UNI-DS6 17

page
13. Push buttons
The logic level of all microcontroller input pins may be changed by using push buttons. Jumper J13 is used to determine
the logic level to be supplied on the appropriate microcontroller pin by pressing a push button. The function of the protec-
tive resistor is to limit the maximum current, thus preventing the development system and peripheral modules from being
damaged in case a short circuit occurs. If needed, advanced users may shorten this resistor by using jumper J12.

Figure 13-1: Push buttons

By pressing any push button when jumper J13 is in the VCC-BRD position, a logic one (3.3V or 5V) will be applied to the
appropriate microcontroller pin, as shown in Figure 13-2.

VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
RA14 RA15 RF6 RF7
RB0 RB1 RF8 RF9
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13
RB6 RB7 RF14 RF15 RA0
RB8 RB9 RG0 RG1 RA1
RB10 RB11 RG2 RG3 RA2
RB12 RB13 RG4 RG5 RA3
RB14 RB15 RG6 RG7 RA4 VCC-BRD
RC0 RC1 RG8 RG9 RA5
RC2 RC3 RG10 RG11 RA6
RC4 RC5 RG12 RG13 RA7
RC6 RC7 RG14 RG15 0V
RC8 RC9 RH0 RH1
RC10 RC11 RH2 RH3 VCC-BRD
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
RD0 RD1 RJ0 RJ1
J13
RD2 RD3 RJ2 RJ3 RA7 RA6 RA5 RA4 RA3 RA2 RA1 RA0
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7 R58
J12
RD8 RD9 220
RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 13-2: Push buttons and port PORT0 connection schematic

MikroElektronika
18
page UNI-DS6

14. 2x16 LCD display


The UNI-DS6 development system features an on-board connector for the alphanumeric 2x16 LCD display. This
connector is linked to the microcontroller via DIP switches (SW18 (PORTA) or SW15 (PORTB)) and (SW16 (PORTD)
or SW17 (PORTC)) . Potentiometer P1 is used to adjust display contrast. The LCD-BCK switch on the DIP switch SW18
is used to turn the display backlight on/off.

To enable the 2x16 LCD display it is necessary to write a program which defines which MCU pins will be used for
communication between the 2x16 LCD display and the MCU. For data transfer you can use PORTD or PORTC pins
on MCU via DIP switch SW16 or SW17. For display control you can use PORTA and PORTB on MCU via DIP switches
SW15 and SW18.

Communication between this LCD and the microcontroller is performed in a 4-bit mode. Alphanumeric digits are
displayed in two lines each containing up to 16 characters of 7x5 pixels.

Figure 14-1: Connector for alphanumeric LCD display Figure 14-2: Alphanumeric 2x16 LCD display

VCC-SW VCC-5V

SW16 SW17 SW15


RA0 RA1 RE0 RE1 RD0 D0 RC0 D0 LCD-CS1# RB0
RA2 RA3 RE2 RE3 RD1 D1 RC1 D1 LCD-CS2# RB1
RA4 RA5 RE4 RE5 RD2 D2 RC2 D2 LCD-RW RB3
RA6 RA7 RE6 RE7 RD3 D3 RC3 D3 VCC-5V LCD-RST RB4
RA8 RA9 RF0 RF1 RD4 D4 RC4 D4 LCD-E RB5
RA10 RA11 RF2 RF3 RD5 D5 RC5 D5 LCD-RS RB2
Vee
RA12 RA13 RF4 RF5 RD6 D6 RC6 D6
RA14 RA15 RF6 RF7 RD7 D7 RC7 D7
P1
RB0 RB1 RF8 RF9
10K
RB2 RB3 RF10 RF11
RB4 RB5 RF12 RF13
SW18
RB6 RB7 RF14 RF15
RB8 RB9 RG0 RG1
RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
RB14 RB15 RG6 RG7
LCD-E RA6
Vee
LCD-RS

LCD-E

D4

D6
D7
D5

RC0 RC1 RG8 RG9


LCD-RS RA4
RC2 RC3 RG10 RG11
LCD-BCK
RC4 RC5 RG12 RG13 VCC-5V
VCC-5V R65 10
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
RC10 RC11 RH2 RH3 CN12
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7 1
D1

RD0 RD1 RJ0 RJ1


GND

LED+
RS

D2
VO

D0

D4
D3

D6
D7
VCC

D5

LED-
R/W

RD2 RD3 RJ2 RJ3


RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7
RD8 RD9

LCD Display
RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A
#SCL
#SDA
#TX232B
#CS1#
#CS2#
#SCK1
#MISO1
#MOSI1
#SCK2
#MISO2
#MOSI2
4-bit mode
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 14-3: 2x16 LCD display connection schematic

MikroElektronika
UNI-DS6 19

page
15. 128x64 graphic LCD display
128x64 graphic LCD (GLCD) is connected to the microcontroller via DIP switches (SW18 (PORTA) or SW15 (PORTB))
and (SW16 (PORTD) or SW17 (PORTC)). It has a screen resolution of 128x64 pixels, which allows diagrams, tables
and other graphic contents to be displayed. Potentiometer P2 is used for the GLCD display contrast adjustment. Switch
8 (GLCD-BCK) on the DIP switch SW18 is used to turn the display backlight on/off.

To enable the GLCD display it is necessary to write a program which defines which MCU pins will be used for
communication between the GLCD display and the MCU. For data transfer you can use PORTD or PORTC pins on
MCU via DIP switch SW16 or SW17. For display control you can use PORTA and PORTB on MCU via DIP switches
SW15 and SW18.

Figure 15-1: GLCD display Figure 15-2: GLCD connector

SW18
LCD-CS1# RA2
SW16 SW17 LCD-CS2# RA3
VCC-SW VCC-5V
RD0 D0 RC0 D0 LCD-RW RA5
RD1 D1 RC1 D1 LCD-RST RA7
RD2 D2 RC2 D2 LCD-E RA6
RA0 RA1 RE0 RE1 RD3 D3 RC3 D3 LCD-RS RA4
RA2 RA3 RE2 RE3 RD4 D4 RC4 D4
R12 10
RA4 RA5 RE4 RE5 RD5 D5 RC5 D5 GLCD-BCK
VCC-5V
RA6 RA7 RE6 RE7 RD6 D6 RC6 D6
RA8 RA9 RF0 RF1 RD7 D7 RC7 D7
RA10 RA11 RF2 RF3
Vo SW15
GLCD-BCK

RA12 RA13 RF4 RF5


LCD-CS1# RB0
RA14 RA15 RF6 RF7
LCD-CS2# RB1
RB0 RB1 RF8 RF9
VCC-5V LCD-RW RB3
RB2 RB3 RF10 RF11
LCD-RST RB4
RB4 RB5 RF12 RF13 P2
LCD-CS1#
LCD-CS2#

LCD-E RB5
LCD-RST
LCD-RW

RB6 RB7 RF14 RF15 10K


LCD-RS
VCC-5V

LCD-RS RB2
LCD-E

RB8 RB9 RG0 RG1


Vee

RB10 RB11 RG2 RG3


D1
D0

D2
D3
D4
D5
D6
D7
Vo

RB12 RB13 RG4 RG5


CN14
RB14 RB15 RG6 RG7
RC0 RC1 RG8 RG9 20
1
RC2 RC3 RG10 RG11
CS1

D1

LED+
CS2
GND

RS

D2
D0

D4
D3

D6
D7
VCC

D5

Vee
Vo

LED-
RST
R/W

RC4 RC5 RG12 RG13


RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
RC10 RC11 RH2 RH3
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5
RD6 RD7 RJ6 RJ7
RD8 RD9
RD10 RD11
RD12 RD13
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 15-3: GLCD display connection schematic

MikroElektronika
20
page UNI-DS6

16. Touch panel


A touch panel is a thin, self-adhesive, transparent, touch-sensitive panel. It is placed over a GLCD display. Its main function
is to register pressure at some specific display point and to forward its coordinates in the form of analog voltage to the
microcontroller. Switches 5, 6, 7 and 8 on the DIP switch SW19 are used to connect the microcontroller and touch panel.

A B C D

Figure 16-1: Placing touch panel over a GLCD

Figure 16-1 shows how to place a touch panel over a GLCD display. Make sure that the flat cable is to the left of the
GLCD, as shown in Figure 1D.
VCC-SW VCC-5V

RA0 RA1 RE0 RE1


RA2 RA3 RE2 RE3
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
RA8 RA9 RF0 RF1
RA10 RA11 RF2 RF3
RA12 RA13 RF4 RF5
VCC-BRD SW19 RA14 RA15 RF6 RF7
1 20 BOTTOM RA0 RB0 RB1 RF8 RF9
CS1

D1
CS2
GND
VCC

RS

E
D0

D2
D3

D7
Vo

D6

Vee
LED+
D5
D4

RST

LED-
R/W

LEFT RA1 RB2 RB3 RF10 RF11


Q8 R48 VCC-BRD DRIVEA RB4 RB5 RF12 RF13
RC0
BC856 1K
DRIVEB RC1 RB6 RB7 RF14 RF15
Q6 R44 BOTTOM RF0 RB8 RB9 RG0 RG1
BC846 1K LEFT RB10 RB11 RG2 RG3
R49 RF1
10K DRIVEA RB8 RB12 RB13 RG4 RG5
RIGHT
R47 DRIVEB RB9 RB14 RB15 RG6 RG7
CN22 VCC-BRD 10K RC0 RC1 RG8 RG9
Q7 RC2 RC3 RG10 RG11
BC856 RC4 RC5 RG12 RG13
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
R46
10K
RC10 RC11 RH2 RH3
TOP RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
LEFT Q5
BC846 RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
R66 RD4 RD5 RJ4 RJ5
100nF

100K
R45 RD6 RD7 RJ6 RJ7
C25

RIGHT GLCD 10K RD8 RD9


TOP VCC-BRD RD10 RD11
LEFT RD12 RD13
BOTTOM BOTTOM Q9 R50 RD14 RD15
BC846 1K #RX232A #RX232B #SS1# #SS2#
R67
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
100nF

100K
R51
C26

10K #SDA #CS2# #MOSI1 #MOSI2


USB-VBUS
USB-DP USB-DN

TOUCHPANEL CN20 CN21


CONTROLLER

Figure 16-2: Touch panel connection schematic

A B C D

Figure 16-3: Connecting touch panel


Figure 16-3 shows in detail how to connect a touch panel to the microcontroller. Bring the end of the flat cable close to
the CN22 connector (Figure 3A). Plug the cable into the connector (Figure 3B) and press it easily so as to fully fit the
connector (Figure 3C). Now, a GLCD can be plugged into the appropriate connector (Figure 3D).

NOTE: LEDs and pull-up/pull-down resistors on ports which are in use should be off when the touch panel is in use.

MikroElektronika
UNI-DS6 21

page
17. Input/output ports
Along the right side of the development system, there are eleven 10-pin connectors linked to the microcontroller I/O
ports. Pull-up or pull-down resistors can be connected to I/O ports via jumpers J1-J11 and DIP switches SW1-SW11.

Figure 17-3: J9 in pull-


down position

Figure 17-2: Additional board


connected to I/O port
Figure 17-4: J9 in pull-up
position
Figure 17-1: I/O ports

Figure 17-5: Port PORTA connection schematic

MikroElektronika
22
page UNI-DS6

Pull-up/pull-down resistors enable you to feed all microcontroller’s input pins with logic level when they are in idle state.
This level depends on the position of the pull-up/pull-down jumper (J1-J11). The RA0 pin with the relevant jumper J1
and RA0 push button with jumper J13 are used here for the purpose of explaining the performance of pull-up/pull-down
resistors. The principle of their operation is the same for all other microcontroller pins.

In order to enable the PORTA pins to be


VCC-SW VCC-5V
connected to pull-down resistors, it is necessary
RA0
RA2
RA1
RA3
RE0
RE2
RE1
RE3 to place jumper J1 in the Down position first.
RA4 RA5 RE4
This enables any PORTA port pin to be supplied
RE5
RA6 RA7 RE6 RE7
VCC-BRD
RA8 RA9 RF0 RF1
RA10
RA12
RA14
RA11
RA13
RA15
RF2
RF4
RF6
RF3
RF5
RF7
up
pull
RN1 8x10K
with a logic zero (0V) in idle state over jumper
RB0
RB2
RB1
RB3
RF8
RF10
RF9
RF11
down J1 SW1
J1 and 8x10k resistor network. To provide the
RB4 RB5 RF12 RF13
RB6
RB8
RB7
RB9
RF14
RG0
RF15
RG1
VCC-BRD RA0 pin with this signal, it is necessary to set
switch 1 on the DIP switch SW1 to the ON
RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
RA0
RB14 RB15 RG6 RG7 J13
RC0
RC2
RC4
RC1
RC3
RC5
RG8
RG10
RG12
RG9
RG11
RG13 RA0 J12
R58
position.
220
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
RC10 RC11 RH2 RH3
RC12
RC14
RC13
RC15
RH4
RH6
RH5
RH7
As a result, every time you press the RA0 push
button, the RA0 pin will be fed with a logic one
RD0 RD1 RJ0 RJ1
RD2 RD3 RJ2 RJ3
RD4 RD5 RJ4 RJ5

(VCC-BRD voltage), provided that jumper J13


RD6 RD7 RJ6 RJ7 VCC-BRD
RD8 RD9
RD10 RD11
RD12
RD14
RD13
RD15
0V is placed in the VCC-BRD position.
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 17-6: Jumper J1 in pull-down and jumper J13 in pull-up position

In order to enable the PORTA pins to be


VCC-SW VCC-5V
connected to pull-up resistors and the port
RA0
RA2
RA1
RA3
RE0
RE2
RE1
RE3 input pins to be supplied with a logic one (1),
it is necessary to place jumper J1 in the Up
RA4 RA5 RE4 RE5
RA6 RA7 RE6 RE7
VCC-BRD
RA8 RA9 RF0 RF1
RA10
RA12
RA14
RA11
RA13
RA15
RF2
RF4
RF6
RF3
RF5
RF7
up
pull
RN1 8x10K
position and jumper J13 in the GND position.
RB0
RB2
RB1
RB3
RF8
RF10
RF9
RF11
down J1 SW1
This enables any port PORTA input pin, when
RB4 RB5 RF12 RF13
RB6
RB8
RB7
RB9
RF14
RG0
RF15
RG1
VCC-BRD it is in idle state, to be driven high (VCC-BRD)
over the 10k resistor.
RB10 RB11 RG2 RG3
RB12 RB13 RG4 RG5
RA0
RB14 RB15 RG6 RG7 J13
RC0 RC1 RG8 RG9
RC2 RC3 RG10 RG11
R58
RC4 RC5 RG12 RG13 RA0 J12
As a result, every time you press the RA0 push
220
RC6 RC7 RG14 RG15
RC8 RC9 RH0 RH1
RC11 RH3
button, the RA0 pin will be fed with a logic zero
RC10 RH2
RC12 RC13 RH4 RH5
RC14 RC15 RH6 RH7
RD0
RD2
RD4
RD1
RD3
RD5
RJ0
RJ2
RJ4
RJ1
RJ3
RJ5
(0V), provided that switch 1 on the DIP switch
SW1 is set to the ON position.
RD6 RD7 RJ6 RJ7 VCC-BRD
RD8 RD9
RD10 RD11
RD12 RD13 0V
RD14 RD15
#RX232A #RX232B #SS1# #SS2#
#TX232A #TX232B #SCK1 #SCK2
#SCL #CS1# #MISO1 #MISO2
#SDA #CS2# #MOSI1 #MOSI2
USB-VBUS
USB-DP USB-DN
CN20 CN21

Figure 17-7: Jumper J1 in pull-up and jumper J13 in pull-down position

In case that jumpers J1 and J13 are in the


VCC-BRD VCC-BRD
VCC-BRD same positions, pressure on any button will not
up cause input pins to change their logic state.
pull J1 J13
down 0V

Figure 17-8: Jumpers J1 and J13 in the same positions

MikroElektronika
DISCLAIMER

All the products owned by MikroElektronika are protected by copyright law and international copyright treaty.
Therefore, this manual is to be treated as any other copyright material. No part of this manual, including
product and software described herein, may be reproduced, stored in a retrieval system, translated or
transmitted in any form or by any means, without the prior written permission of MikroElektronika. The
manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this
TO OUR VALUED CUSTOMERS manual is prohibited.

I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied,
Mikroelektronika. including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular
The primary aim of our company is to design and produce high quality electronic products and to constantly purpose.
improve the performance thereof in order to better suit your needs.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may
appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be
liable for any indirect, specific, incidental or consequential damages (including damages for loss of business
profits and business information, business interruption or any other pecuniary loss) arising out of the use
of this manual or product, even if MikroElektronika has been advised of the possibility of such damages.
Nebojsa Matic MikroElektronika reserves the right to change information contained in this manual at any time without prior
General Manager notice, if necessary.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or
resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as
in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct
life support machines or weapons systems in which the failure of Software could lead directly to death,
personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its
suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.

TRADEMARKS

The Mikroelektronika name and logo, the Mikroelektronika logo, mikroC, mikroC PRO, mikroBasic, mikro-
Basic PRO, mikroPascal, mikroPascal PRO, AVRflash, PICflash, dsPICprog, 18FJprog, PSOCprog, AVR-
prog, 8051prog, ARMflash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM,
EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyVR Stamp LV18FJ, LV24-33A, LV32MX,
PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS are trademarks
of Mikroelektronika. All other trademarks mentioned herein are property of their respective companies.

All other product and corporate names appearing in this manual may or may not be registered trademarks
or copyrights of their respective companies, and are only used for identification or explanation and to the
owners’ benefit, with no intent to infringe.

The Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS
Inc. in the U.S.A and other countries. ©MikroelektronikaTM, 2011, All Rights Reserved.
UNI-DS6

If you are experiencing some problems with any of our products or just need additional information, please place your ticket at
User manual

If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com
All MikroElektronika´s development systems represent irreplaceable

Development system
tools for programming and developing microcontroller-based devices.
Carefully chosen components and the use of machines of the last
generation for mounting and testing thereof are the best guarantee of
high reliability of our devices. Due to simple design, a large number of
add-on modules and ready to use examples, all our users, regardless
of their experience, have the possibility to develop their project in a fast
If you want to learn more about our products, please visit our website at www.mikroe.com

and efficient way.


www.mikroe.com/en/support

You might also like