background image

M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D

9

9

page

dsPICPRO

USB

3

dsPICPRO3 User

s Manual

MikroElektronika

Development tools

MM

CC

UU

  CC

AA

RR

DD

    

You have to follow these steps in order to place your MCU Card properly in the
dsPICPRO3 MCU socket :

If MCU Card has been already placed
on dsPICPRO3, you  have to remove it
by pulling it up slowly.

Place MCU Card on the board.
Note that the label on the MCU
Card  must be placed in the upper-
left corner as it is drawn on the
dsPICPRO3 board.

When the MCU Card is properly
placed on the board, please,  push it
down by putting pressure on all
edges at the same time.

Step no.1 

Step no.2 

Step no.3 

Summary of Contents for dsPICPRO3

Page 1: ...rals many practical code examples and a broad set of add on boards Serial Ethernet Compact Flash MMC SD ADC DAC CAN RTC RS 485 etc MikroElektronika development boards make fast and reliable tool which...

Page 2: ...le RTC and switch 6 to enable MMC CS line Switches 7 and 8 are used to enable Serial Ethernet INT and WOL lines 12 The first two switches on SW3 are used to enable CS and RST lines of Serial Ethernet...

Page 3: ...S1820 Digital Thermometer page 13 Jumpers page 7 MCU Card Connector page 8 Switches page 6 LEDs page 14 Pushbutton Switches page 16 Graphic LCD page 18 RS 232 Communication page 20 LCD 2x16 in 4bit Mo...

Page 4: ...Start installation from the product CD CD_Drive product zip dsPICFlash_setup exe After the installation connect USB cable to the dsPICPRO3 board You ll be asked for dsPICFLASH drivers Point to them i...

Page 5: ...sily exercise and explore the capabilities of dsPIC microcontrollers It enables dsPIC microco ntrollers to be interfaced with a broad range of peripheral devices enabling user to concentrate on softwa...

Page 6: ...PORTD high PORTF PORTG low and PORTG high For example if switch 1 on SW1 is OFF then all PORTA LEDs will be turned off Switch 1 on SW2 turns LEDs on PORTG high ON or OFF Switches 2 and 3 are used to...

Page 7: ...ection when you place jumper between two disconnected pins For example jumper J13 is used to connect or disconnect RS232A Tx line to the RF3 MCU pin Connection is made when jumper is placed between tw...

Page 8: ...D dsPICPRO USB 3 dsPICPRO3 User s Manual MikroElektronika Development tools 8 8 page M M C C U U C C A A R R D D dsPICPRO3 development board has 80 pin MCU Card If you want to use some other microcont...

Page 9: ...steps in order to place your MCU Card properly in the dsPICPRO3 MCU socket If MCU Card has been already placed on dsPICPRO3 you have to remove it by pulling it up slowly Place MCU Card on the board No...

Page 10: ...ts connected to LEDs pushbutton switches and pull up down resistors enable users to monitor and test digital pin state easily Some of the pins are connected to other peripherials DS1820 temperature se...

Page 11: ...g LM7805 voltage regulator External power supply can be AC or DC with voltage between 8V and 16 V and jumper J10 should be set in the left hand position You can see power connectors USB left and exter...

Page 12: ...rd USB programmer R2 27 1K RSTbut USBDP USBDN USBDN RB0 RB1 PGC PGD RB1 PGC RB0 PGD MCLR MULTIPLEXER R5 VCC D5 BAT43 10K R13 10K Reset 100n VCC X1 10MHz C1 22pF C2 22pF RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG...

Page 13: ...damaged Switch 4 on SW2 switch group is used to enable DS1820 by connecting it to microcontroller RF6 pin X1 10MHz C1 22pF C2 22pF VCC RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5...

Page 14: ...for displaying pins digital state dsPICPRO3 has 67 LEDs connected to microcontroller s ports PORTA PORTB low PORTB high PORTC PORTD low PORTD high PORTE low PORTE high and PORTF Figure 13 Light Emitt...

Page 15: ...esponding micro controller pin otherwise the LEDs will always be off no matter what the pin state is as no current can flow through them RN11 8x1K 1 2 3 4 5 6 7 8 9 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 1 O...

Page 16: ...C14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 Vss OSC2 OSC1 CLKI Vdd RG2 RG3 RF6 RF7 RF8 RF2 RF3 RB6 RB7 RA9 RA10 AVdd AVss RB8 RB9 RB11 Vss Vdd RB12 RB13 RB14 RB15 RD14 RD15 RF4 RF5 RG13 RG12 RG14 RA7 RA6 RG0...

Page 17: ...3 RD0 RD11 RD10 RD9 RD8 RA15 Vss OSC2 OSC1 CLKI Vdd RG2 RG3 RF6 RF7 RF8 RF2 RF3 RB6 RB7 RA9 RA10 AVdd AVss RB8 RB9 RB11 Vss Vdd RB12 RB13 RB14 RB15 RD14 RD15 RF4 RF5 RG13 RG12 RG14 RA7 RA6 RG0 RG1 RF1...

Page 18: ...eter P2 GLCD backlight can be turned off by turning switch 3 on SW2 OFF P2 5K Vee VCC Vo Contrast Adjustment VCC D5 D4 D3 D2 D1 D0 E R W RS LED Vo LED VCC Vee GND RST CS2 D7 CS1 D6 1 20 mikroElektroni...

Page 19: ...e you place or remove LCD from dsPICPRO3 LCD 2X16 IN 4 BIT MODE P1 10K Contrast Adjustment VCC RS RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5 RB4 RB3 RB2 RB1 RB0 RC14 RC13 RD0 RD11...

Page 20: ...used in data acquisition applications for data transfer between microcontroller and PC Since the volt age levels of microcontroller and PC are not directly compatible with each other a level transiti...

Page 21: ...10uF E10 10uF E11 10uF E12 10uF VCC RS232 CON CONNECT MCU TO PC Receive data Rx Send Data Tx 1 5 6 9 CONNECT PC TO MCU SERIAL CABLE PC VCC RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13...

Page 22: ...10uF E14 10uF E15 10uF E16 10uF VCC RS232 CON CONNECT MCU TO PC Receive data Rx Send Data Tx 1 5 6 9 CONNECT PC TO MCU SERIAL CABLE PC VCC RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13...

Page 23: ...e time Jumper group J17 enables connection between potentiometer P3 and one of the following pins RB8 RB9 RB10 or RB11 Jumper group J18 enables connection between potentiometer P4 and one of the follo...

Page 24: ...RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5 RB4 RB3 RB2 RB1 RB0 RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 Vss OSC2 OSC1 CLKI Vdd RG2 RG3 RF6 RF7 RF8 RF2 RF3 RB6 RB7 RA9 RA10 AVdd AVss RB8 RB...

Page 25: ...RO3 User s Manual MikroElektronika Development tools Figure 29 Keyboard connected to development board Figure 28 PS 2 connector PS 2 KEYBOARD CONNECTOR PS 2 READY DEVELOPMENT DEVELOPMENT PS 2 READY PS...

Page 26: ...rals are not connected to the microcontroller by setting appropriate jumpers and switches while external peripherals use the same pins The connectors can also be used for attaching logic probes or oth...

Page 27: ...All lines are disconnected Pull down line is connected VCC VCC X1 10MHz C1 22pF C2 22pF VCC RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5 RB4 RB3 RB2 RB1 RB0 RC14 RC13 RD0 RD11 RD10...

Page 28: ...s on board voltage reg ulator with MMC card MC33269DT 3 3 Data lines from microcontroller to MMC card must be also adjusted to 3 3V It is done by resister voltage dividers as shown on Fig 35 MMC card...

Page 29: ...7 6 SW4 RG8 RF4 RF5 RC13 RG7 RG6 RG2 RG3 MOSI RX485 TX485 RT485 MISO SCK SCL SDA X1 10MHz C1 22pF C2 22pF VCC RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5 RB4 RB3 RB2 RB1 RB0 RC14...

Page 30: ...bit MAC address which is used to specify both the destination and the source of each data packet Serial Ethernet has 28 pin ENC28J60 10BASE T Ethernet Controller with on board Media Access Control an...

Page 31: ...B4 B5 B6 B7 GND OE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 VCC VCC3 3 VCC3 3 VCC3 3 100nF C17 100nF C18 100nF C19 VCC3 3 FP2 FERRITE BEAD 10K R25 VCC3 3 CN18 1 ON 4 3 2 5 8 7 6 RF6 RA12 RG...

Page 32: ...Time Clock to micro controller pins OSCI OSCO A0 GND VDD INT SCL SDA PCF8583P R22 10K R21 10K R20 10K X1 32 768 KHz C10 22 pF D7 BAT43 D6 BAT43 R19 56 C4 100 nF BAT1 3V 230mA VCC VCC X1 10MHz C1 22pF...

Page 33: ...de into an analog signal A typical digital to analog converter outputs an analog signal which is usu ally voltage or current and proportional to the value of digital code provided to its inputs dsPICP...

Page 34: ...RX485 TX485 RT485 MISO SCK SCL SDA 1 ON 4 3 2 5 8 7 6 RF0 RG1 RG0 SW3 RC1 RC2 CAN RX1 CAN TX1 ETH CS CAN TX2 CAN RX2 DAC CS DAC LD ETH RST RG13 RF1 RG12 X1 10MHz C1 22pF C2 22pF VCC RG15 RC1 RC2 RC3 R...

Page 35: ...m microcontroller is connected to LTS485 through three switches on SW4 These switches are used to connect Rt Rx and Tx lines from microcontroller to RS485 port RS 485 COMMUNICATION LTC485 B DI VCC RE...

Page 36: ...RB1 RB0 RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 Vss OSC2 OSC1 CLKI Vdd RG2 RG3 RF6 RF7 RF8 RF2 RF3 RB6 RB7 RA9 RA10 AVdd AVss RB8 RB9 RB11 Vss Vdd RB12 RB13 RB14 RB15 RD14 RD15 RF4 RF5 RG13 RG12 RG14 RA...

Page 37: ...step code execution Breakpoints Register and Variable Watch Modify In Circuit Debugging Target VCC monitor X1 10MHz C1 22pF C2 22pF RG15 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 Vss Vdd RA12 RA13 RB5 RB4...

Page 38: ...S ABILITY OR FITNESS FOR A PARTICULAR PURPOSE MIKROELEKTRONIKA ITS DIRECTORS OFFICERS EMPLOYEES OR DISTRIBUTORS WON T BE LIABLE FOR ANY DAMAGES WHETHER DIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL INCL...

Page 39: ...C U U s s Enables RS485 SPI communication lines and I2C communication lines If jumper is set to the upper position the pins of the appropri ate port tare set o logical one pull up If jumper is set to...

Page 40: ...eriencing problems with any of our products or you just want additional information please let us know We are committed to meeting any need of yours Technical Support support mikroe com If you have an...

Reviews: