Home
UNI-DS3 Development System User manual
Contents
1. OFF ON el lee Tre PLACING LCD ON DEVELOPMENT BOARD IF THE POWER SUPPLY IS CONNECTED WHILE PLACING LCD UNIT CAN BE PERMANENTLY DAMAGED MAKE SURE TO PLACE THE LCD PROPERLY IMPROPER PLACEMENT MAY DAMAGE THE LCD UNIT PERMANENTLY ul x e 03 9 S 223 rs characters in 4 bit mode os awe us 9z Qui z e 8 lt u to port e pins O E IMPORTANT U LT K MAKE SURE TO TURN OFF THE POWER SUPPLY BEFORE ba a 4 a 1 ull Oo 1 Doun a 1 1 MCU CARD CONNECTOR eseo B sesos SS 9RS OSS gt gt S gt S gt gt gt gt onv N SESS MMi iiih Aiii eeelpmo 006000066 Es ES Es 4000000606 DIP SWITCHES PERIPHERALS FUNCTION SELECTION LEDs are activated by logical one 5U SS SS OS Es ES EF Es Es Es ES Loss ee ee eoo eu 9 OO S 6 LA Z o 7 LA esos A o 0 Z v a Seis 020 Z O LS alo e ajo eto to port 2 a afa pins D LA LODO o eses See Z ale T D RR A osos mococcrra 3 o 0 a to port NI A oo a pins 4 Z Z BY MIKROELEKTRONIKA e e e E A Z o o wO Up Z Z HH Rev 1 02 oo c A Z esos lt gt Eel puii O Z Z 1 Doun Z N e Q i a Z L O aall IE ee oe oe ee Fe 4 Fe Fe 8 esee lt Q ieeeeeecec L OS ey ocos o E to port Z m Z a R 4 4 4 F ins 1 1 1 l 1 I Reze z Up E Z i LA Coe oo oo oe ot ose 968 9089 9 e e 13 Hopu amp eel ec Z LA IMPORTANT e z
2. I j j m PP VBUS PP USBDN PP USBDP P a Figure 4 1 USB connector for Figure 4 2 USB connector CN15 schematic MCU programmer 5 0 USB Communication Module The USB connector CN21 enables connection between the MCU card provided with the microcontroller with the USB communication module and external device The MCU card is connected to the USB connector CN21 through MCU USBDN and MCU USBDP communication lines The MCU VBUS line is used to detect external USB device connected to the development system CN21 MCU VBUS VCC MCU USBDN D MCU USBDP D 2 x GND 67 USB B Bottom view Figure 5 1 USB connector for USB Figure 5 2 USB connector CN21 schematic communication MikroElektronika 10 UNI DS3 Development System 6 0 CAN Communication Module CAN Controller Area Network is a communication standard primarily intended for use in automotive industry It enables the microcontroller to communicate to a car device without using a host PC In addition such communication is widely used in industrial automation The MCP2551 circuit is used for communication between the CAN controller MCP2510 and the taget device The MCP2510 circuit is a stand alone CAN controller which communicates to the microcontroller using SPI communication To enable connection between the microcontroller and MCP2510 it is necessary to set switches 6 7 and 8 on the DIP switch SW2 as well as switches 4 5 and 6 on the DIP sw
3. 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 dsPlICprog 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 Mikroelektronika 2010 All Rights Reserved UJOO e0JXIu D eoro Je sn JOe UOD 0 ejejseu jou op sjesodoud sseuisnd Jo sjueuJuioo suoijsenb AUS an
4. C S RE1 CAN RST RB5 CAN INT RC1 RT485 RB4 ETH INT RB5 ETH WOL RAO ETH CS RA1 ETH RSTH RBO LCD CS1 RB1 LCD CS2 RB2 LCD RS RB3 LCD RW RB5 LCD E RB4 LCD RST 0 CLIT IL R Ee B MikroElektronika 32 UNI DS3 Development System 23 0 MCU Card with PIC Microcontroller in TAFP80 Package The MCU card is provided with the PIC18F8520 microcontroller in 80 pin TQFP package In addition to this microcontroller there is also a built in programmer P Cflash with mikrolCD support provided on the MCU card To enable the P Cflash programmer to operate properly it is necessary to install the appropriate USB driver Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the P Cflash programmer from the product CD To enable a hex code to be loaded into a PIC microcontroller it is necessary to install the P Cflash program The P Cflash programmer has a hardware mikroICD support which enables real time debugging As a result it is possible to monitor variables and state of all registers within the microcontroller during programming Built in P Cflash programmer Microcontroller in TQFP80 package MIKROELEKTRONIKA DEVELOPMENT ER EMBEDDED WORLD T2 TT PIC Card ede elt HWI W Bev wi Or P NAIG A xp Le Lel i FOR UNI DS 3 TI HHI Eu Eu RA dr TE raa in COTA OLI e P E pe nm
5. TM m User manual 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 EJMikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Development System making eS sim ple TO OUR VALUED CUSTOMERS want to express my thanks to you for being interested in our products and for having confidence in mikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager The Atmel name and logo the Atmel logo AVR AVR Logo AVR Freaks AVR Freaks Logo AVR Studio IDIC megaAVR megaAVR Logo picoPower tinyAVR are trademarks of Atmel Coorporation The Microchip name and logo the Microchip logo Accuron dsPIC KeeLog microlD MPLAB PIC PlCmicro PICSTART PRO MATE PowerSmart rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U S A and other countries UNI
6. 5 Connector for RS485 communication 18 Graphic LCD display contrast adjustment 6 Connector for RS232 communication 19 Push buttons simulate microcontroller input pins 7 4 096V voltage reference source 20 Jumper for selecting push buttons logic state 8 Connector for CAN communication 21 Reset button 9 MCU programmer USB connector 22 Analog to digital converter 10 Connector for USB communication 23 72 LEDs indicate pins logic state 11 Jumper for pull up pull down resistor selection 24 Digital to analog converter 12 I O port connectors 25 Real time clock 13 Pull up pull down resistors 26 Alphanumeric LCD display connector MikroElektronika 1 0 Connecting the System to a PC Step 1 Prior to connecting the development system to a PC it is necessary to install the appropriate USB driver essential for the proper operation of the programmer In addition to the USB driver it is also necessary to install the appropriate program for loading a hex code into the microcontroller Instructions for installing USB drivers are provided in the relevant manual accompanying the development system Quick guide for installing USB drivers Step 2 MCU card with the microcontroller must be placed into the DIMM 168P socket prior to connecting the development system to a PC Step 3 Use the USB cable to connect the UN DS3 development system to a PC One end of the USB cable with a USB connector of B type should be connected to the
7. A lt gt T T Alphanumeric 2x16 LCD display 16 OR 5 i PORTH PORTO PORTF PORTE PORTD a na E 1 35 73 PORTS P Gt 3 Graphic LCD display with backlight que ER EIE CR ERE Dp O o ey o3 Dr OO cC xs Tis rs Hs Te Ts P E ERE ERE O O G CN x Liv rls rls tls fs ls DO e al OE GLCD128x64 O O O dada da ds EIE LE D De dele LED O DR la Lo Every MCU card is provided with appropriate programmer To load a hex code from a PC to the microcontroller it is also necessary to have appropriate program for it installed on the PC MCU cards with PIC microcontrollers use the P Cflash program MCU cards with AVR microcontrollers use the AVRflash program etc Package contains Development system UNI DS3 CD product CD with relevant software Cables USB cable Documentation UNI DS3 manual quick guide for installing USB drivers and electrical schematic of the system System specification Power supply over a AC DC connector 8 16V AC DC or over a USB cable for programming 5V DC Power consumption 20mA when all on board modules are off Dimension 25 x 21cm 9 8 x 8 2inch Weight 400g 0 88lbs MikroElektronika Q 2 8 e Dum Sum 2 I POWER POWER SUPPLY enc SELECT a e e USB CONNECTOR FOR MCUs WITH USB SUPPORT ANd USB H Up T 2 0 Pull S PROGRAMMER 9 Doun i O ess EXT USB SERIAL thernet 9e 1e e
8. Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the PSoCprog programmer from the product CD To enable a hex code to be loaded into a PSoC microcontroller it is necessary to install the PSoCflash program providing an interface between the microcontroller and a PC Built in PSoCprog programmer Microcontroller in SSOP package HU Rew wi Ol ES PSOC Card AA CUATE EDE E HHHHEHEHEL HE LLL LLL LLL LL LUN Figure 24 1 MCU card with a PSoC microcontroller Figure 24 2 PSoC MCU card placed into the DIMM 168p socket UNI DS3 Development System eel ovcc y RB1 PGC RBO PGD L PSoCprog x p ro U rammer RX232A_RC6 5 C S RE6 CAN RST 74HC4053 RB2 RT485 RA6 RX232B RA7 TX232B RX485 RAG g alts T lelo lels ls x olola E El PA E Po ES alalolulolo O Ola a als Ro ajo o E m nr ae KA 00 Sar E Shree or AU es ee SN es AMEND Corro D p EM oss P1 2 a 1 GND P1 0 Reopen A REZ SSOP48 REO ETH INT VCC VCC R15 c3 RA7 S 1K 100nF u C RAO LCD CS1 RA1 LCD CS2 eg C0 e La I wo MAR pud c 2 c AM S Ki ERa L E2 ZU RBS be EE 2 MEUM E a MN K 0 0 aes 1 os Ue Y MH GC RS 4 o MAN R P3 6 i Rc IR o d ES m E m RS o L NN
9. DS3 Development System TABLE OF CONTENTS Introduction to UNI DS3 Development System esses nennen nnns 4 gc EEUU P H 5 1 0 Connecting the System to a HC eee 6 20 PACHO MOCO S eere Diosas a E R a E r e 7 3 0 POWER SUD iii 8 4 0 USB Connector Tor MCU Programmer e sese y Drum Ep ee ee eee eee 9 5 0 USB Communication Module sss ee eee 9 6 0 CAN Communication Module sra ai 10 0 R9232 Communication MOQU sessions a EE 11 8 0 R5485 Communication Module sss dene itor pas Domnus 12 IO MIME SD OPA GEOR 13 10 0 Real Time Clock RTC 14 11 0 Digital to Analog Converter DAC 15 12 0 A D Converter Test Inputs sse eee eee 16 13 0 S rY ModUlG camas 17 20 LEDO orei aE e 9 18 19 5 TPUSIt BULON arde 19 A LCD DISP A A ne ee eer eee eee 20 17 0 128x64 Graphic LCD Display sees eee 21 o OPI nn E nation aces 22 19 0 MCU Card with 8051 Microcontroller o n ona t oon tunm tn oan de xin han eu pen conn ainia 24 20 0 MCU Card with AVR Microcontroller sss eee 26 21 0 MCU Gard with dsPIC MICFOCORILFOIIGE sss eee 28 22 0 MCU Card with PIC Microcontroller in DIP40 Package sss sees 30 23 0 MCU Card with PIC Microcontroller in TQFP80 Package sese eee 32 24 0 MCU Card with PSoC Microcontroller ss eee eee 34 25 0 MCU Car
10. a 3 i i AAA EIDE HBHH HHIHH 51H 98 5 GRAS Figure 23 1 MCU card with a PIC microcontroller UNI DS3 Development System OVCC i RB6 PGC RX232A RC7 R R R TX485 RGl PROGRAM 74HC4053 ADC CS RE3 DAC CS RE4 DAC LD RES RTC INT RB1 SDA RC4 R R R 9 B DONN bl OF 40Muz 7 E px pepe aleta p 3 S M D3 Ros n 2 DS RoS C zi 22pF 22pF E UE O D7 RDT R HE a C E Z gt MRAZ ES aa daa O ES WEES E R gt wer c3 Roo m RBO R LIE o T M RB2 Re PIC1 8F8520 Sac E lt VCC Wes E TS R15 ek 1K im El ie C REZ A ROUEN K TT mm AVCC Xen iB PHA VCC VCC VCC C3 C4 C5 C6 C7 10uF 10uF 100nF 100nF 100nF 100nF 100nF VCC VCC Az o H Zz LL U Figure 23 3 MCU card with the DIMM 168p socket connection schematic H TBUT GND GND C S E1 CAN RST BO CAN INT E7 RT485 RG2 RX232B B2 ETH INT B3 ETH WOL G4 ETH RST FO LCD CS1 F4 LCD RST UJ CLIT IL tH CN1 MikroElektronika 34 UNI DS3 Development System 24 0 MCU Card with PSoC Microcontroller The MCU card is provided with the CY8C27643 microcontroller in 48 pin SSOP package In addition to this microcontroller there is also a built in programmer PSoCprog provided on the MCU card To enable the PSoCprog programmer to operate properly it is necessary to install the appropriate USB driver
11. as MAX232 Figure 7 1 RS232 module connector Port RS232A is connected to the microcontroller VCC U2 C F L E8 Tur vcc t 100nF 100nF SW3 V GND m O exp T1 ouT NM R1 H R Im Rx232 Pe pra om ri il Bre AN 1R21N R20UTI RX232A EA ETX2328 MAX232 CAN RST CAN INT RX485 TX485 MISO MOSI SCK ADC CS DAC CS Bottom view Figure 7 3 RS232 module and microcontroller connection schematic RS232 connector As mentioned above the UNI DS3 development system is a universal tool which makes it suitable for use with different microcontrollers The position of pins used for RS232 communication is not the same for all microcontrollers In order to enable different microcontrollers to make advantage of RS232 communication it is necessary to select appropriate microcontroller pins to be used for such communication DIP switch SW3 is used as a communication line selector The method of connecting the RS232 communication module depends on the MCU card placed into the DIMM 168P socket All MCU cards are described at the end of this manual and it is clearly stated which pins are used for RS232 communication with microcontrollers For example for the 8051 MCU card switches 5 RX232A and 6 TX232A on the DIP switch SW3 are used For the ATmega128 MCU card switches 5 6 7 and 8 on the DIP switch SW3 may be used Which of these four pins are to be used here depends on which pins
12. card and microcontroller it is necessary to adjust their voltage levels Memory card is powered by the 3 3V power supply voltage VCC3 generated by the REG2 voltage regulator whereas the microcontroller s power supply voltage is 5V VCC In case the MCU card is powered with 5V power supply voltage it is necessary to remove jumpers J17 J18 and J19 As a result resistors start acting as a voltage dividers In this case such divider is used to lower the microcontroller s power supply voltage from 5V to 3 3V To enable communication between microcontroller and memory card switches 4 5 and 6 on the DIP switch SW4 should be set to the ON position Figure 9 1 MMC SD connector Figure 9 2 MMC SD memory card To use MCU cards requiring 5V power supply voltage it is necessary to remove jumpers J17 J18 and J19 MMC CS MMC CARD WEGA REG VIN VCC ADC CS VCC3 2 DAC CS E16 1 C8 E15 COE MC33269DT 3 3 C CS 10uF 100nF 10uF Figure 9 3 MMC SD connector connection schematic MikroElektronika mund UNI DS3 Development System 10 0 Real Time Clock RTC A real time clock is widely used in alarm devices industrial controllers consumer devices etc Thanks to the PCF8583 circuit the UNI DS3 development system is capable of keeping the real time The main features of the real time clock are as follows clock with calendar 12C serial interface Universal counter used as an alarm ability to change the time form
13. development system as shown in Figure 1 2 whereas the other end of the cable with a USB connector of A type should be connected to the PC When establishing a connection make sure that jumper J11 is placed in the USB position as shown in Figure 1 1 AC DC connector USB connector Jumper J11 for selecting power supply source Figure 1 1 Power supply Figure 1 2 Connecting USB cable POWER SUPPLY switch Step 4 Turn on your development system by setting the POWER SUPPLY switch to the ON position An LED diode marked as POWER will be automatically turned on indicating that your development system is ready to use NOTE If some additional modules are used such as LCD GLCD etc it is necessary to place them properly on the development system while it is turned off Otherwise either can be permanently damaged Refer to Figure below for the proper placing of the additional modules Figure 1 3 Placing additional Friodiles on the development system MikroElektronika UNI DS3 Development System 2 0 Placing MCU Card The UNI DS3 development system provides a DIMM 168P socket to place an MCU card into All MCU cards are placed in the same manner It is shown in figures below how to place the UN DS3 card with a PIC microcontroller in TQFP80 package Any card intended to be used on the UNI DS3 development system may be placed instead of this one Push the MCU card down gently into the DIMM 168P socket and lift extractio
14. voltage will appear on the RB1 pin provided that jumper J10 is placed in the VCC position In order to enable port PORTB pins to be connected to pull up resistors and the port input pins to be supplied with a logic zero 0 it is necessary to place jumper J2 in the Up position and jumper J10 in the GND position This enables any port PORTB input pin to be driven high 5V in idle state over the 100K resistor As a result every time you press the RB1 push button a logic zero 0V will appear on the RB1 pin In case that jumpers J2 and J10 have the same logic state pressure on any button will not cause input pins to change their logic state MikroElektronika 24 UNI DS3 Development System 19 0 MCU Card with 8051 Microcontroller The MCU card is provided with a socket for 8051 microcontrollers in DIP40 package The AT89S8253 microcontroller normally delivered with the 8051 MCU card is placed into the DIPAO socket In addition to this microcontroller there are also other microcontrollers in DIP40 package such as AT89S51 AT89S52 AT89S53 and AT89S8252 that can be used here There is an on board programmer 8051prog provided on the MCU card To enable the proper operation of this programmer it is necessary to install the appropriate USB driver Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the 8051prog programmer from the product CD To enable a
15. 5 m 1 39 E Y R15 RTC INT amp P0 16 ES 00 1K PP USBDN 4 scr P02 E arad SE 4 ETHANT im irt P0 15 ETH WOL P0 13 ETH RST DO P1 16 z O Di PLI x gt P017 LCD CS14 m Ds P1 19 P018 LCD CS2s z P0 19_LCD RS PPOSC1 PPOSC2 PALTA ADD AA DS ra P0 20 LCD RW ADO 07 P123 P0 22 LCD RST TRETE E tst exco Om Hip BE Bom poz X1 mm RTXC2 P0 8 10MHz E GND A Poo mz LPC2148 a NENNEN C 32 7O8KHz ROSC1 L xm Pao O ra P130 DATA BUS O VCC3 REG1 10uF 100nF 100nF 100nF 100nF MC33269DT 3 3 Schematic continues overleaf 10uF 100nF VCC3 VCC3 VCC3 VCC3 VCC3 10uF 100nF 100nF 100nF 100nF Figure 25 2 MCU card with the DIMM 168p socket connection schematic MikroElektronika iid P1 31 le vcc30 TAS Dok R24 10K J2 RTCK A R25 10K P1 30 J4 vccso S R26 10K MCU USBDP MCU USBDN P1 28 s J10 10K MCU VBUS vccao MCU P023 y a RESSW R28 10K P1 27 A 3V 230mA vccao PP R29 10K DATA BUS UAB U4C UAE U4D J7 7AHCO4 74HCO4 7AHCO4 74HCO4 VCC30 RESSW RESSW MCU RST Continuation of schematic m La Figure 25 4 ARM MCU cad placed into the DIMM 168p socket 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 manu
16. 99 a RTE 5 9 o o o o on OF on MAKE SURE TO TURN OFF THE POWER SUPPLY BEFORE A EE La Z 2 u ee e e e e e e e 7 L TUM Mm MN em CER m NE A IF THE POWER SUPPLY IS CONNECTED WHILE PLACING Pus Y 25 io por Z Z 4 4 o GLCD UNIT CAN BE PERMANENTLY DAMAGED E ping gt AL Z Up A Z MAKE SURE TO PLACE THE GLCD PROPERLY e e a Z Z esas 9 9 9 A IMPROPER PLACEMENT MAY DAMAGE Make sure to place the ie o Z Z UNIT PERMANENTLY U MCU card properly a Z Z 1 2 G 3 24202 12 10 13 MES ney OREA RS MO e 0 90 9 0 950 920 9 SWI SW4 TURNS ON OFF PORT LED S AND ENABLE DISABLE PERIPHERAL UJ MODULES BUTTONS MA MO MO M 9 K 9 4 9 R ee 41 49 PULL UP DOWN PORTA PORTB PORIC PORTD PORTE PORTF as UP DOIN 9 906 96 96 0 6 9 6 9 J10 CHOOSE VOLTAGE LEVEL TO BE APPLIED WHEN THE BUTTON ns I PRESSED O J11 SUPPLY SELECTOR USB OR EXTERNAL or on o M 9 OF OF OF 9 M o J12 J14 SELECTS SERIAL ETHERNET OUTPUT L VEI 3 3V OR 5V Uz e eo o9 9 0_90_90_90_9 J15 SELECTS REFERENCE VOLTAGE VCC OR 4 096V 209 J17 J19 CONNECTS MOSI SCK AND MMC CS LINE DIRECTLY TO MMC S sz JUMPER ON OR THROUGH VOLTAGE DIVIDER JUMPER OFF uu I I i 1 i I I i z eee o 0 9 090_90_90_9 y Oren Key Features 1 Power supply voltage regulator 14 Socket for placing MCU card 2 Ethernet connector 15 DIP switches 3 Ethernet module 16 MMC SD card slot 4 Alphanumeric display contrast adjustment 17 Graphic LCD display connector
17. A REO 2 C S RE3 CAN RST AV Rprog programmer RD4 RT485 RD2 RX232B RD3 TX232B PROGRAM RX485 RD2 TX485 RD3 MISO RB3 MOSI RB2 VCC O PF4 TCK ADC CS RBO TDO 5 E USBDP A DAC CS amp RB4 DAC LD RB5 MMC CS RBG MPF5 TMS pag Vsupply D RTC INT REA SDA RD1 RE5 ETH INT REG ETH WOL RB7 ETH CS RA1 ETH RST qe Ce e 1 DO RCO RA2 LCD CS1 74HC04 U4B 74HC04 VS Ds Rcs RA3_LCD CS2 n RA4 LCDRS R11 AHL C Ds Ros RAS LCD RW 1K lt x x RAG LCD E M D7 RC7 RAT LCD RST gann EA w E Md NE YA PAC A R PA A R MEE QA m AC o s PC6 N YS PCS E NE Sl R7 ooo o TTC E E E 1 a da pe oco SEE EE A UAE Lac hu NO a 74HC04 74HC04 ey Co sce gt ps E um 2 D rp DOS LOR Re Y E F s Re 22pF 22pF le UA m VCC VCC VCC VCC C4 C5 100nF 100nF 10uF 10uF Figure 20 3 MCU card with the DIMM 168p socket connection schematic MikroElektronika 28 UNI DS3 Development System a gt 21 0 MCU Card with dsPIC Microcontroller The MCU card is provided with the dsPIC6014A microcontroller in 80 pin TQFP package In addition to this microcontroller there is also a built in programmer dsP Cprog provided on the MCU card To enable the dsP Cprog programmer to operate properly it is necessary to install the appropriate USB driver Place the MCU card into the DIMM 168p socket first and t
18. D RT DC X IINMNNXMNMO gt L OOOO OU OOO Oo SO VCC VCC VCC VCC VCC VCC VCC E1 E2 C3 C4 C5 C6 C7 100nF 100nF 100nF 100nF 100nF 10uF 10uF Figure 21 3 MCU card with the DIMM 168p socket connection schematic PROGRAM RC14 m dl VCC RG2 de W a a RF3 TBUT GND w o z Oo RX232A RF2 RA9 CAN CS RA10 CAN RST RA15 CAN INT RF1 RT485 RX485 RF4 RF4 RX232B TX485 RF5 MOSI RF8 ADC CS RC1 DAC CS RC2 DAC LD RC3 RTC INT RA12 RA13 ETH INT RA14 ETH WOL RD14 ETH CS RD15 ETH RSTA DO RDO RD8 LCD CS1 RD9 LCD CS2 RD10 LCD RS RD11 LCD RW D4 RD4 D6 RD6 RD13 LCD RST w pun n Az DID Os D B RB10 RB14 0 HIRIE C FR D A 00 D CN1 MikroElektronika 2 22 0 MCU Card with PIC Microcontroller in DIP40 Package The MCU card is provided with a socket for PIC microcontrollers in DIP40 package The PIC18F4520 microcontroller normally delivered with the PIC MCU card is placed into the DIP40 socket In addition to this microcontroller there are also other microcontrollers in DIP40 package such as PIC16F877A PIC18F4550 etc that can be used here There is a built in programmer P Cflash with mikrolCD support provided on the MCU card To enable the proper operation of this programmer it is necessary to ins
19. Figure 15 2 Push buttons and port PORTB connection schematic MikroElektronika 20 16 0 2x16 LCD Display UNI DS3 Development System The UNI DS3 development system provides an on board connector for the alphanumeric 2x16 LCD display This connector is linked to the microcontroller via pins DO D1 D4 D5 D6 and D7 on the MCU card Potentiometer P2 is used for display contrast adjustment The display backlight is automatically turned on by turning the development system on Communication between the LCD display 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 a E ab d SIIJJJIJIi Figure 16 1 Alphanumeric LCD display connector Contrast adjustment potentiometer LETT FF A M Figure 16 2 Alphanamere 2x16 6LCD display LCD display backlight is automatically turned on along with the development system Figure 16 3 Alphanumeric 2x16 LCD display connection schematic MikroElektronika RTC INT SCL ETH INT ETH WOL ETH CS ETH RST LCD CS1 LCD CS2 LCD RS LCD RW LCD E LCD RST UNI DS3 Development System 21 17 0 128x64 Graphic LCD Display 128x64 graphic LCD display GLCD is connected to the microcontroller via the following pins on the MCU card LCD CS1 LCD CS2 LCD RS LCD RW LCD E LCD RST and DO D7 It has a screen resolution of 128x64 pixels which allows diagrams ta
20. al 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 manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose 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 MikroElektronika reserves the right to change information contained in this manual at any time without prior 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
21. at 12 24h The real time clock provided on the UN DS3 development system is used to generate an interrupt at pre set time In order to establish connection between the microcontroller and real time clock it is necessary to set switch 1 on the DIP switch SW3 as well as switches 7 and 8 on the DIP switch SW4 to the ON position 3V battery enables the operation of the real time clock when the power supply is off Quartz crystal provides accuracy of the clock signal used by the real time clock Real time clock is connected to the microcontroller via DIP switches SW3 and SW4 AT1 C4 D1 BAT43 100nF VCCO K C5 22pF X1 32 768KHz _ KOROH eser L Wi Np PCF8583P MikroElektronika B 3V 230mA T VCCI NN S IAN Figure 10 2 Real time clock and microcontroller connection schematic RTC INT SW3 h Lo RTC INT ex DAC LD MMC CS RTC INT ETH INT ETH WOL ETH CS ETH RST UNI DS3 Development System 1 11 0 Digital to Analog Converter DAC A digital to analog converter is a module used to convert a digital code into an analog voltage signal The UN DS3 development system is equipped with the MCP4921 circuit which acts as a 12 bit digital to analog converter This circuit provides a high accuracy of conversion as well as a high quality signal despite noises occuring when it is used in industrial applications It communicates with the microcontroller via SPI se
22. bles and other graphic content to be displayed Potentiometer P1 is used for the GLCD display contrast adjustment The display backlight is automatically turned on by turning the UN DS3 development system on Contrast adjustment potentiometer XY SMELL Tu N aod T Y f Ba p paa A ho mes y Figure 17 1 GLCD display Figure 17 2 GLCD connector GLCD display backlight is automatically turned on along with the development system LCD CS24 GND CD RS p p y E p p p p p Figure 17 3 GLCD display connection schematic MikroElektronika 22 UNI DS3 Development System 18 0 Input Output Ports Along the right side of the development system there are nine 10 pin connectors which are connected to the microcontroller s I O ports Microcontroller pins used for programming are not directly connected to the appropriate 10 pin connectors but via a multiplexer The multiplexer is provided on the MCU card and is connected to the programmer Microcontroller pins can be connected to pull up pull down resistors by means of jumpers J1 J9 All pull up pull down resistors together form a resistor network which can be removed and replaced with another one If pull up pull down resistors are not used it is necessary to remove them or jumpers J0 J9 y nma A n mue 4 m E pa a dium eu m 4 a ia EE r lt Additional module connected to PORTC Jumper for pull up pu
23. cation To make this transmission possible it is necessary to set switch 2 on the DIP switch SW3 as well as switches 4 5 and 6 on the DIP switch SWA4 to the ON position A voltage reference supplied on the Vref pin of the MCP3204 circuit is used to determine maximum input analog signal whereas jumper J15 is used to determine this voltage reference When jumper J15 is in the 4 096 position the 4 096V voltage is used as a voltage reference Otherwise when jumper J15 is in the VCC position then the 5V power supply voltage is used as a voltage reference TT Figure 12 1 ADC module VCC O O o GND AGND MCP1541 ok Tis SCK DOUTIE D HRT485 i RX232B I DGND CS Wu S HTX232B MCP3204 Figure 12 3 ADC module connection schematic MikroElektronika Bal UNI DS3 Development System 1 13 0 Ethernet Module The UNI DS3 development system is provided with an ethernet module Its function is to provide an interface between the microcontroller and LAN local area network A stand alone controller ENC28J60 enables ethernet communication on the development system This circuit is used to transfer data from LAN to the microcontroller using serial communication The 3 3V voltage is required for the operation of this circuit To enable data to be transferred to the microcontroller powered with the 5V power supply voltage it is necessary to adjust these voltage levels by means of the 74HCT245 transciever Jumpers J12 J13 and J14 ar
24. d with ARM Microcontroller occitano 36 MikroElektronika 4 UNI DS3 Development System Introduction to UNI DS3 Development System The UNI DS3 development system provides a universal development environment for programming and experimenting with microcontrollers Thanks to the universal DIMM 168P socket it is possible to place MCU cards with different microcontrollers on this development system Every MCU card is also provided with appropriate programmer used for loading a hex code into the microcontroller The UNI DS3 development system may come with an MCU card with PIC dsPIC AVR 8051 ARM or PSoC microcontroller Numerous on board modules such as RS232 CAN ADC DAC LCD display GLCD display etc allow you to easily experiment with your microcontroller UNE Universal development xam system for microcontroller based devices nmm di M Le 2 M E INE Ca a YA PESE A TIT WW W nas i f Loses LAA B ww s 4 gt L K pw E On board USB 2 0 programmer B PORTE RAR IN CIRCUIT PROGRAMMER gt p DIP SWITCHES PORPIGRALS FUNCTION SELECTION op S 111111343 TUU 00911 PEREPERE vs Eal TYT 7 TIT U K K ACA CT 2 L m Lem HIS JULLE 11111111 P mam OO E Digital to analog converter A me Se ER L E MCU CARD CONNECTOR LAN died laii Lu 2222 m e Q NACEN E TF
25. e used for selecting voltage levels In case that MCU card with the microcontroller requiring the 5V power supply for its operation is used it is necessary to set jumpers J12 J13 and J14 to the 5V position In case the microcontroller requiring the 3 3V power supply for its operation is used it is necessary to set jumpers J12 J13 and J14 to the 3 3V position To enable connection between the ethernet module and the microcontroller switches 2 3 4 and 5 on the DIP switch SW2 as well as switches 4 5 and 6 on the DIP switch SW4 must be set to the ON position rud Xn rA IB J IP J Figure 13 2 Ethernet connector TX232B VCC U10 VCC U6 O O O E4 100nF Boj Meno LEDA Bill E CLKOUT LEDB gll INTZ 5V INTZ 3 3V OSC VCC L Wed f vcaP Mere ETH INT OSC2 OSC1 OSC GND PLL GND PLL VCC RX VCC TX GND TPOUT TPouT TX VCC WOL 5V El Ero N E Figure 13 3 Ethernet module connection schematic MikroElektronika 14 0 LEDs LED Light Emitting Diode is a highly efficient electronic light source When connecting LEDs it is necessary to use a current limiting resistor A common LED diode voltage is approximately 2 5V while the current varies from 1 to 20mA depending on the type of LED The UNI DS3 uses LEDs with current 1mA There are 72 LEDs on the UN I DS3 development system which visually indicate the state of each microcontroller I O pin An active LED indicates that a l
26. er J11 should be placed in the EXT position The development system is turned on off by switching the position of the POWER SUPPLY switch AC DC connector Power supply voltage regulator POWER SUPPLY switch DA a Figure 3 1 Power supply J11 EXT USB AC DC connector B ar J11 USB connector EXT USB Side view Side view DB1 B250C1500 O 5V_USB s 220uF CN12 T Side view Bottom view Figure 3 2 Power supply source schematic MikroElektronika UNI DS3 Development System 4 0 MCU Programmer USB Connector The USB connector CN15 provided on the UN DS3 development system is connected to the on board programmer on the MCU card Every MCU card is supplied with a built in programmer matching the relevant microcontroller For example the MCU card with a PIC microcontroller is supplied with the built in P Cflash programmer with mikro CD support To load a hex code from a PC into the microcontroller it is necessary to install the program providing an interface between the PC and built in programmer For the MCU card with a PIC microcontroller it is the P Cflash program to be installed In case an MCU card with some other type of the microcontroller is used then it is necessary to install the appropriate program depending on the microcontroller in use 45V USB FP1 FERRITE BEAD fli A as USE D as B a C1 GND giz Up ih O Pull 100nF USB B Bottom view Li Doun El
27. ey nof y poddns ua uO9 Soy T0 V MMM je 49491 INOA 97610 aseajd uoneuuojur jeuonippe peeu jsn Jo sjonpojJd Jno jo Aue Q sue qoud eulos Bur ueuedxe aJe nof j WOT SOIHILUMMM Je 91ISq9 JNO SIA eseejd SIONPOIA JNO 1r oqe eJouJ uJee oj jUe nof y CQ THOM CQ3Q0Q038W3 4034 SNOILN TOS 3H VMOSVH ANY 38VMLJOS OE E
28. hen follow the instructions provided in the relevant manual and install driver for the dsP Cprog programmer from the product CD To enable a hex code to be loaded into a dsPIC microcontroller it is necessary to install the dsP Cflash program The dsP Cprog programmer has a hardware mikroICD support which enables real time debugging As a result it is possible to monitor variables and state of all registers within the microcontroller during programming Built in dsP Cprog programmer Microcontroller in TQFP80 package MIKROELEKTRONIKA DEVELOPMENT TOOLS FOR EMBEDDED WORLD ee 1 j Sessa LZ asPIC Card Na mI HY Rew vi 02 zt El El T M S Sl L ill LI ii b 1 i I US oc WE i r EN I di 30 lS i Pa Figure 21 2 dsPIC MCU card placed into the DIMM 168p socket UNI DS3 Development System vee OVCC i RB1 PGC Y X RBO PGD eet i dsPICprog programmer 74HC4053 hon N 5 D Woe x8 i A A z 3nnpnnnnnrnn nr SSZZ4O00LLOSDGOOGDnLSTOOD eOO rrrrrsorrerroorreer S E TT J unm RC1 RC13 22pF 22pF i uE C das oa S isi ee C lt no TL 77 E wan Nel E LL cS pete so PIC3O0F6014 ost VCC u END OSC2 ma VCC OSC1 R15 T 1K LH G OBS RG3 oo HA RB4 RF6 POWER p RES LRT EGG b EIE RBO ouA o cO t 10 xt 10 Oo 0Zoo0 600ccccr cc c sio 9 S L SO E
29. hex code to be loaded into an 8051 microcontroller it is necessary to install the 8051flash program providing an interface between the microcontroller and a PC On board 8051prog programmer Microcontroller in DIP40 package uc 2 la 2 AA A Oa Lad 25 JE UST g v 8051Card UNI DS3 HH Rev v1 01 DEVELOPMENT BOARD Figure 19 1 MCU card with an 8051 microcontroller g P al vat vg Coa E pa E Y Figure 19 2 8051 MCU card placed in the DIMM 168p socket MikroElektronika UNI DS3 Development System 2 vee j OVCC i RB6 MISO RB5 MOS Y T BB5 Mos pos xo PMA All RSTBUT GND 38051prog x Lemgo programmer ADC CS RCO RX232A RDO RDS CAN CSH RD6 CAN RST RD3 CAN INT RD7 RT485 RX232B TX232B C 74HC4053 R8 JR DAC LD RB3 100K 100K RTC INT RD2 SDA RB1 INT RD4 ETH WOL RD6 ETH RST DO RAO RC2 LCD CS1 D4 RA4 RC4 LCD RS D6 RAG Uu P1 4 RB5 MOSI 1 P15 eno P1 6 a a oO z uo Aii co U4E U4C IP30 U 74HC04 74HC04 RB4 o 3 lee Ss E OSC1 uw 5 x e Do O P3 4 am P3 7 I XTAL1 Ken PATATE LLL LL LL RR k DIP40 VCC VCC m w C6 T 100nF 10uF Figure 19 3 MCU card with the DIMM 168p socket connection schematic MikroElektronika 26 UNI DS3 Development System 20 0 MCU Card with AVR Microcontroller The MCU card is pro
30. itch SW4 to the ON position Connection for CAN communication Figure 6 1 CAN module Figure 6 2 CAN module connector CAN communication is enabled via DIP switches SW2 and SW4 R23 1K Ge SE Lp NN Tay SANA E eee NIB L e TO MCP2551 vcc O U9 D R25 TX CAN rade BB Lei i 1K BRX CAN RESET n EU CAN CS CAN RST CAN RST CAN CS gers CAN INT _ ICA RSTE y E TX1RTS TX2RTS RT485 es Te RX232B AA 7X232B ej i US MCP2510 HMOSI ADC CS B M MISO A 0Ac cs vec sc orcos MMC CS mU C16 co EN 100nF 100nF Figure 6 3 CAN communication module connection schematic MikroElektronika 7 0 RS232 Communication Module USART Universal Synchronous Asynchronous Receiver Transmitter is one of the most common ways of exchanging data between the PC and peripheral units The RS232 serial communication is performed through a 9 pin SUB D connector and the microcontroller USART module The UN DS3 provides one RS232A port Use switches marked as RX232A and TX232A as well as RX232B and TX232B on the DIP switch SW3 to enable port RS232A The microcontroller pins used in such communication are marked as follows RX receive data line and TX transmit data line Data rate goes up to 115 kbps In order to enable the microcontrollers USART module to receive input signals which meet the RS232 standard it is necessary to adjust voltage levels using an IC circuit such
31. ll down resistor selection A A s Figure 18 2 J3 in pull down position A TERI LET PORTF 2x5 male connector Resistor network may be removed and replaced with another one i ie r 0 Figure 18 3 J3 in pull up position Figure 18 1 I O ports Port PORTB pins are connected to pull down resistors A RBO J LD10 VU A RB1 M LD11 VV Figure 18 4 Port PORTB connection schematic MikroElektronika 2 Pull up pull down resistors enable you to set the logic level on all microcontroller s input pins when they are in idle state Such level depends on the position of the pull up pull down jumper The RB1 microcontroller pin with jumper J2 and the RB1 push button with jumper J10 are used here for the purpose of explaining the performance of pull up pull down resistors The principle of their operation is the same as for all other microcontroller pins RN2 UU UU 11 8x100 TINO st 10 co copa 0 co co cn tc a a a a ac RN2 OS e O TOO mja m cn cn 0 KIC a a a ac VCC O up pull J2 down Figure 18 7 Jumpers J2 and J10 in the same position In order to enable connection between the PORTB port and pull down resistors it is necessary to place jumper J2 in the Down position first In this way any PORTB port pin can be supplied with a logic zero OV in idle state over jumper J2 and 8x100K resistor network As a result every time you press the RB1 push button a logic one VCC
32. m IR Figure 24 3 MCU card with the DIMM 168p socket connection schematic MikroElektronika 25 0 MCU Card with ARM Microcontroller The MCU card is provided with the LPC2148 microcontroller in LAFP64 package In addition to this microcontroller the MCU card is also supplied with a battery used to power the microcontroller when the power supply is off The LPC2148 microcontroller requires 3 3V generated by the REG1 voltage regulator In addition to the built in programmer ARMprog the microcontroller can be programmed by means of the external JTAG programmer as well To enable the ARMprog programmer to operate properly it is necessary to install the appropriate USB driver Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the ARMprog programmer from the product CD To enable a hex code to be loaded into an ARM microcontroller it is necessary to install the ARMflash program providing an interface between the microcontroller and a PC Built in ARMprog programmer When the external programmer is used jumpers J1 J7 should be placed in the JTAG position POWER USB LINI de L AS UEM NND QM lt ARM Y HIM FJ H s m moy _ LUE EUA L li CA i E 1r gt 7 1PO2148 Bd ARM Card HW Rev vi gi MIKROE EXTROWIKA DEVE OPMEK TOOLS FOR EMBEDDED WORLD Figure 25 1 MCU ca
33. n levers slowly at the same time PP USBDP PP USBDN MCU USBDP MCU USBDN CAN CS CAN RST CAN INT RT485 RX232B TX232B ETH INT ETH WOL ETH CS ETH RST PP VBUS MCU VBUS RSTBUT1 RSTBUT2 RX232A TX232A RX485 TX485 MISO MOSI SCK ADC CS DAC CS DAC LD MMC CS RTC INT SCL SDA Figure 2 1 Schematic of the DIMM 168P socket s pinout The UNI DS3 development system may be delivered with MCU cards with one of the following microcontroller families PIC dsPIC AVR 8051 ARM and PSoC Detailed descriptions of MCU cards are provided at the end of this manual Close the reri layers mme the MCU pame is gams m into the socket Extraction lever used Extraction lever used to fix MCU card in the to fix MCU card in the open position closed position MikroElektronika page 3 0 Power Supply The UNI DS3 development system may use one of two power supply sources 1 5V PC power supply through the USB programming cable and 2 External power supply source connected to an AC DC connector provided on the development board The LM7805 voltage regulator and Gretz rectifier are used to enable external power supply voltage to be either AC in the range of 8V to 16V or DC in the range of 8V to 16V Jumper J11 is used as a selector for a power supply source To make advantage of the USB power supply jumper J11 should be placed in the USB position When using external power supply jump
34. ogic one 1 is present on the pin In order to enable the pin state to be shown it is necessary to select appropriate port PORTA PORTB PORTC PORTD PORTE PORTE PORTG PORTH or PORTJ using the DIP switch SW1 and switch 1 on the DIP switch SW2 Resistor network used to limit current flow A ADN LD10 Na Y A KP LD PY Figure 14 2 LEDs and ports PORTB and PORTC connection schematic MikroElektronika UNI DS3 Development System 1 15 0 Push buttons The logic state of all microcontroller input pins may be changed by means of push buttons Jumper J10 is used to determine the logic state to be applied to the desired microcontroller pin by pressing appropriate push button Right next to the push buttons there is a RESET button which is used to provide the MCLR pin with the microcontroller reset signal over the programmer provided on the MCU card RESET button Jumper J10 used for selecting logic state to be applied to the pin by pressing push button Internal Top view connection EJ Push buttons used for simulating digital inputs A E gg Bottom view Side view Figure 15 1 Push buttons In Figure 15 2 jumper J10 is in the VCC position In this case by pressing any push button a logic one 5V will be applied to the appropriate microcontroller pin Pressure on any push button will cause the microcontroller pin to be driven high 1 o st o a e con BBB RB7 RB6 RB5 o 9 19 T16 T15 T14
35. on the ATmega128 microcontroller you want to use for RS232 communication In case pins REO and RE are used switches 5 RX232A and 6 TX232A on the DIP switch SW3 should be set to the ON position In case pins RD2 and RD3 are used switches 7 RX232B and 8 TX232B on the DIP switch SW3 should be set to the ON position MikroElektronika 12 UNI DS3 Development System 8 0 RS485 Communication Module RS485 communication is a communication standard primerily intended for use in industrial applications The main features of this communication standard is the ability to exchange data between distant points up to 1200 m and high tolerance to accompanying noise The UNI DS3 development system features a connector used for connecting devices which use RS485 communication The LTC485 circuit acts as a transciever between an external device and the microcontroller To enable connection between the microcontroller and the RS485 communication module it is necessary to set switches 1 2 and 3 on the DIP switch SW4 to the ON position Connector for RS485 communication Figure 8 1 RS485 module Figure 8 2 RS485 module connector RS485 communication is enabled via DIP switch SW4 1K LTC485 Figure 8 3 RS485 module connection schematic MikroElektronika UNI DS3 Development System 1 9 0 MMC SD Connector The MMC SD connector is used to enable memory cards to be interfaced with the microcontroller To enable communication between memory
36. rd with an ARM microcontroller Microcontroller in LQFP64 package The male CN2 connector is used to connect the external JTAG programmer In case the external programmer is used it is necessary to place jumpers J1 J7 in the JTAG position In case the USB communication is used via the CN21 connector provided on the development system jumper J10 should be placed in the VBUS position thus connecting the MCU 0 23 microcontroller pin to the MCU VBUS pin on the DIMM 168p socket In case the USB communication is not used jumper J10 should be placed in the BOARD position In this case the MCU 0 23 microcontroller pin gets connected to the P0 23 pin on the DIMM 168p socket The function of the LED diode marked as UP_LED is to detect and signal external USB device connected to the microcontroller via the CN21 connector for USB communication To enable the UP_LED diode to perform its signal function it is necessary to place jumpers J8 and J9 in the UP LED position When jumpers J8 and J9 are placed in the CONNECT position the powering of the external USB device is controlled from within the software MikroElektronika UNI DS3 Development System MCU RST PP USBDN MCU USBDP 0 10 CAN CS P P0 11 CAN RST P0 30 CAN INT P1 24 RT485 P0 9 RX232B SORICON TX1 TX232B VCC3 VCC3 O O e VCC TRST in im a ADC CS P0 25 im im DAC CS P0 28 EIS LD1 d lt T POWER MMC CSK P1 2
37. rial communication In order to establish connection between these two circuits it is necessary to set switches 3 and 4 on the DIP switch SW3 to the ON position It is also necessary to enable serial communication by setting switches 4 and 6 on the DIP switch SW4 to the ON position The function of jumper J15 is to determine voltage reference to be used in digital to analog conversion By setting jumper to the 4 096 position the MCP4921 circuit will be powered with the 4 096V voltage By setting jumper J15 to the VCC position the MCP4921 circuit will be powered with the 5V power supply voltage Zz NAE DAC CS ue m DAC CS VCC DAC LD Mr ME DAC LD E U4 RT485 D Eno VCC RX485 RX232B HVCC VOUTI e O VCC HTX485 HTX232B e Y REF cs END VIN MISO SCK f J15 R GND T nosi Aa H 4090 VOUT ADC CS 100 MCP1541 DAC CS E10 DAC LD MMC CS 10uF Figure 11 3 DAC module connection schematic MikroElektronika 16 12 0 A D Converter Test Inputs An A D converter is used for converting an analog signal into the appropriate digital value A D converter is linear which means that converted number is linearly dependent on the input voltage value The MCP3204 circuit is used as an A D converter on the UNI DS3 development system Voltage to be converted is brought to the A D converter input pins which converts it into a 12 bit number The result of conversion is transferred to the microcontroller by means of serial communi
38. tall the appropriate USB driver Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the P Cflash programmer from the product CD To enable a hex code to be loaded into a PIC microcontroller it is necessary to install the P Cflash program providing an interface between the microcontroller and a PC The built in P Cflash programmer has a hardware mikrolCD support which enables real time debugging As a result it is possible to monitor variables and state of all registers within the microcontroller during programming A USB communication between the microcontroller and an external USB device is enabled by means of jumpers J1 J2 and J3 In case the USB communication is not used it is necessary to set jumpers J1 J2 and J3 to the upper position Built in P Cflash programmer Microcontroller in DIP40 package DIP40 R PIC Card E min K KL X MANN K SUL Position DEVELOPMENT BOARD UNI DS3 Development System eed OVCC RB6 PGC vi RB7 PGD 74HC4053 10MHz VCC MCLR h MCLR RIS i e i umm 22pF 22pF LED2 a M a MES Py umm VCC J3 RC5 SoRCS E C de 100nF R19 27 RC4 VCC UMCU USBDN L 4 n El R20 10uF 27 J1 RC3 Merca TE VCC E2 10uF Figure 22 3 MCU card with the DIMM 168p socket connection schematic i PICflash programmer 88391 9ld MCU USBDP GND
39. vided with the ATmega128 microcontroller in 64 pin TQFP package In addition to this microcontroller there is also a built in programmer AVRprog as well as the CN2 connector provided on the MCU card Such connector is intended for connecting the external JTAG programmer To enable the AVRprog programmer to operate properly it is necessary to install the appropriate USB driver Place the MCU card into the DIMM 168p socket first and then follow the instructions provided in the relevant manual and install driver for the AVRprog programmer from the product CD To enable a hex code to be loaded into an AVR microcontroller it is necessary to install the AVRflash program providing an interface between the microcontroller and a PC The external JTAG programmer is connected to the microcontroller on the MCU card by means of the 2x5 male connector CN2 When this programmer is used the MCU card doesn t necessarily have to be placed into the DIMM 168p socket on the development system In this case the MCU card is powered by the external JTAG programmer Built in AVRprog programmer Microcontroller in TQFP64 package POWER USB LINK fe PE Ij mA AVR 54 pin Card ry HH Rev vi 01 d PE E e T J CE AIMROELEKTROMNIKA DEVELOPMENT TOOLS FOR EMBEDDED WORLD He e m E a e B AVR rmm Figure 20 2 AVR MCU card placed into the DIMM 168p socket UNI DS3 Development System vee j OVCC vi RE1 MISO xi TBUT GND GND RX232
Download Pdf Manuals
Related Search
Related Contents
User Manual AC4790 User`s Manual v1.4.fm Alpha 900 Manual - Rosco Laboratories MANUALE D`USO E MANUTENZIONE MACINACAFFÈ n°1 Profoon Telecommunicatie HALO H2552FL28 User's Manual Escene ES320-PN Quick Setup Guide Copyright © All rights reserved.
Failed to retrieve file