All MikroElektronika´s development systems represent irreplaceable 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 and efficient way.
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.
page UNI-DS6 Table of Contents General information ����������������������������������������������������������������������������������������������������������4 Key features ���������������������������������������������������������������������������������������������������������������������5 1. Connecting UNI-DS6 to power supply module �������������������������������������������������������������6 2.
page 4 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.
1 2 3 4 5 6 7 8 page UNI-DS6 9 24 23 22 10 21 20 19 18 17 16 15 14 13 12 11 Key features 1. Power supply module 2. ADC input 3. USB UART1 module 4. USB UART2 module 5. USB communication connector 6. LCD2x16 display contrast potentiometer 7. mikroBoard socket 8. Jumpers used to select pull-up/pull-down resistors 9. DIP switches for enabling pull-up/pull-down resistors 10. I/O ports 11. GLCD contrast potentiometer 12. Touch panel controller 13. GLCD display connector 14.
page 6 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.
page UNI-DS6 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.
page 8 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.
page UNI-DS6 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.
page 10 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.
page UNI-DS6 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.
page 12 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 VCC VCC DD+ GND D- USB-VBUS USB-DN USB-DP #SS2# #SCK2 #MISO2 #MOSI2 USB B D+ GND #SS1# #SCK1 #MISO1 #MOSI1 USB-VBUS USB-DP Bottom view USB-DN CN21 Figure 7-1: USB connector of B type Figure 7-2: USB connector connection schematic 8.
page UNI-DS6 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.
page 14 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.
page UNI-DS6 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.
page 16 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.
page UNI-DS6 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 protective 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.
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.
page UNI-DS6 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.
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.
page UNI-DS6 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.
page 22 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.
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.
All MikroElektronika´s development systems represent irreplaceable 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 and efficient way.