0% found this document useful (0 votes)
176 views

Nx-Dspic30f e

The NX-dsPIC30F documentation describes an experiment board that supports Microchip's dsPIC30F microcontrollers. Key features include: - Support for dsPIC30F microcontrollers in 28-pin and 40-pin packages, with a dsPIC30F2010 included in a 28-pin socket and an empty 40-pin socket. - Debugging and programming support via INEX's ICDX-30 or Microchip's ICD2 debugger/programmer (sold separately). - Includes components like LEDs, buttons, LCD interface, analog sources, and more to experiment with the dsPIC's features. - Runs off a single external DC power supply and includes a complete sche
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
176 views

Nx-Dspic30f e

The NX-dsPIC30F documentation describes an experiment board that supports Microchip's dsPIC30F microcontrollers. Key features include: - Support for dsPIC30F microcontrollers in 28-pin and 40-pin packages, with a dsPIC30F2010 included in a 28-pin socket and an empty 40-pin socket. - Debugging and programming support via INEX's ICDX-30 or Microchip's ICD2 debugger/programmer (sold separately). - Includes components like LEDs, buttons, LCD interface, analog sources, and more to experiment with the dsPIC's features. - Runs off a single external DC power supply and includes a complete sche
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

NX-dsPIC30F documentation l 1

NX-dsPIC30F
dsPIC30F microcontroller
Experimennt board
Specification
l Supports Microchip’s dsPIC microcontroller in DIP-28 and 40 pins package. On-
board has dsPIC30F2010 on 28-pin socket. About 40-pin socket can support
dsPIC30F4011 (microcontroller chip is optional)
l Debugging and Programming with INEX’s ICDX-30 or Microchip’s ICD2 (Sold
separated)
l Mode select (RIN and PROG) by a push switch with indicator. This experiment
board will separate 2 parts of dsPIC socket. Experimenter can test voth dsPIC
microcontroller in same time if require.
l 7.3728MHz clock for 28-pin dsPIC and 4MHz for 40-pin dsPIC
l Provides all port pin of dsPIC microcontroller
l +5V and GND supply connector
l Two RESET switch for dsPIC microcontroller both version
l 8-LED monitor with limit current resistor. Active logic “1”
l 4-Button switch with pull-up resistor. Active logic “0”
l Two of RS-232 serial port interface circuit.
l Piezo speaker
l LCD interface connector with brightness adjustment
l Four of 0-5V Variable analog source for Analog to Digital Converter
l Pulse generator 1Hz, 10Hz, 100Hz and 1kHz selected by push-switch with indicator
l 800-points Breadboard
l Need +9V to +16V from external DC adaptor

Packing List l Experiment board l Documentation l 16x2 LCD module


l RS-232 serial port cable l Wire jumper box set
2 lNX-dsPIC30F documentation

1. Schematic of NX-dsPIC30F experiment board


Figure 1 is complete schematic of NX-dsPIC30F experiment board. The dsPIC
microcontroller is provided a dsPIC30F2010 on 28-pin socket. Addition this experiment
board provide a blank 40-pin socket for support dsPIC microcontroller 40-pin version.
On the NX-dSPIC30F expeiment board provides 2 units of Microcontroller
circuit, 28 and 40-pin. Each circuit has a Mode selection switch with indicator, a
RESET switch and all microcontroller port pin in the female expeiment connector.
Experimenters can use 2 units together.
In programming, need external programming tools such as ICD2 from
Microchip or ICDX-30 In-circuit Debugger and PX-800 Programmer from Innovative
Expeiment via RJ-11 jack ICD2 pin compattible.
The NX-dSPIC30F contains many experiment tools include :
(1) LED monitor : 8-channel provides on this experiment board. Active
with Logic “1” and have limit current resistor.
(2) LCD interface connector : on board prepares 14-pin IDC connector
for connecting LCD with femle connector and ribbon wires. This connector can
support Character LCD 16 to 20 characters 1 and 2 line. Complete with 10kW
varaible resistor for BRIGHTNESS adjustment of LCD
(3) Piezo speaker : connected 10mF capacitor in series for coupling
the signal to drive. A piezo speaker has itself resonance frequency. Normally is 2 to
3kHz. But in another frequency this speaker can drive but low loud.
(4) Switch input : provides 4 sets of push-button switch with pull-up resistor.
If switch is not pressed, logic output is “1”. If switch is pressed, logic output is “0”.
Expeimenter can use this switch to Simple Single pulse generator
(5) Pulse generator : provides a selectable square-wave output of 1
Hz, 10 Hz, 100 Hz, and 1 kHz. Frequency selection is by the push-button near the
pulse generator output (an LED indicates current frequency). Be sure that the output
of the pulse generator is connected to an input pin only, as this output is driven
both high and low.
(6) DC motor driver : use L293D, the H-Bridge driver IC to drive 2-channel
of DC motor. Each channel need 3-pin signal to control. For motor #1, use 12EN pin
and 34EN pin for motor #2. This circuit has bi-color LED for motor pole supply. If
correct, LED will light GREEN. If swap, LED will lights RED. Supply voltage for L293D
is approximate +12V from main DC adaptor. This ciruit can drive motor 6-12V 300mA.
(7) 12-Bit Digital to Analog Converter : this experiment board offer 2-
Ch. 12-bit Digital to Analog Converter IC, MCP4922 from Microchip. It cn control
via SPI.
NX-dsPIC30F documentation l 3

+5V
+5V +5V
C5
0.1/50V

LED1 LED4
R1 R4 C8
PGM 13 20 PGM 11 21 32
510 510 0.1/50V
28 V DD V DD V DD 31
AV DD AVDD Vss
27
AVss AVss
LED2 LED3
RUN RUN 40
AV DD AV DD
J2 PGC 18 J3 PGC 26 39
PGC/EMUC/RF2 PGC/RF2 AVss AV SS
ICD GND ICD GND
PGD

PGD
2
+5V Vpp RB0 RB0/AN0/CN2/V REF+ +5V Vpp
3
RB1 RB1/AN1/CN3/V REF-
1 4 1
R2 MCLR/Vpp RB2 RB2/AN2/CN4/SS1 R5 MCLR/Vpp
S3 5 15
100k RB3 RB3/AN3/CN5/INDX 100k 30 RC13 RC13/CN1/U1ATX/SOSCI
MODE 6 RF0/C1RX RF0 16
RB4 RB4/AN4/CN6/QEA/IC7 29 RC14 RC14/CN0/U1ARX/SOSCO
17 7 RF1/C1TX RF1
+5V RB5 RB5/AN5/CN7/QEB/IC8 +5V
PGD/EMUD/RF3 RF2/SDA/U1RX/SDI1
25 2
26 RF3/SCL/U1TX/SDO1 PGD/RF3 RB0 RB0/AN0/CN2/V REF+
SK1 RE0 RE0/PWM1L 28 3
R3 25 R6 RF4/CN17/U2RX RF4 RB1 RB1/AN1/CN3/V REF-
10k dsPIC30F2010 RE1
24
RE1/PWM1H
4.7k S4
27
RF5 RB2
4
RB2/AN2/CN4/SS1
RF5/CN18/U2TX
8 RE2 RE2/PWM2L 24 5
23 MODE RF6/SCK1 RF6 RB3 RB3/AN3/CN5/INDX
RE3 RE3/PWM2H 6
22 RB4 RB4/AN4/CN6/QEA/IC7
S2 19 RE4 RE4/PWM3L S5 7
21 RB5 RB5/AN5/CN7/QEB/IC8
RESET RE5 RE5/PWM3H RESET 8
16 RB6 RB6/AN6/OCFA
RE8 RE8/SCK1/INT0/OCFA 9
RB7 RB7/AN7
9 10
OSC2 RB8 RB8/AN8
X1 11 SK2
RC13 RC13/CN1/U1ATX/SOSCI 12
7.3728MHz
RC14
12
RC14/CN0/U1ARX/SOSCO
dsPIC30F4011
10
OSC1 15 23
RD0 RD0/INT1/OC1/IC1 20 RD0 RD0/OC1/IC1/INT1
C6 C7 14 18
RD1 RD1/INT2/OC2/IC2 RD1 RD1/OC2/IC2/INT2
33pF 33pF 22
RF2/SDA/U1RX/SDI1 RD2 RD2/OC3
19
RF3/SCL/U1TX/SDO1 RD3 RD3/OC4

+V
14 38
OSC2 RE0 RE0/PWM1L
37
X2 RE1 RE1/PWM1H
+V 4MHz 36
+5V 13 RE2 RE2/PWM2L
S1 OSC1 35
POWER RE3 RE3/PWM2H
D1-D4 IC1 34
1N4001x4 +5V C9 C10 RE4 RE4/PWM3L
J1 7805 33pF 33pF 33
RE5 RE5/PWM3H
DC input 17
9-16V RE8 RE8/INT0/FLTA
C2 C3
0.1/50V 0.1/50V
C1
220/25V

VR304 VR303 VR302 VR301


VR201 K201 10k 10k 10k 10k +5V C803-C804 +5V 2-Channels DC motor driver
D7 LED108 10k UIC-LCD 470/16V
+V by L293D
D6 LED107 R304 R303 R302 R301
RS 47 47 47 47
+5V
D5 LED106 RW E
RS 16 8
D0 D1
E
D4 LED105 D2 D3
D4 P801 Vcc1 Vcc2 3
D4 D5
D5 MOTOR-1 1Y
LED104 D6 D7
D3 D6 2 1A R803
1A 1k
D7
7 K801
D2 LED103 GND P304 P303 P302 P301 2A 2A C801 MOTOR-1
1 0.1/50V +
D1 LED102
CH3 CH2 CH1 CH0 12EN 12EN 6-12V
Varaible voltage source 0-5V R801 IC801 6
D0 LED101 LCD interface for ADC experiment 4 ch.
47k
L293D
2Y
LED801
R101-R108 RED/GREEN
P802 14
510 x8 4Y
MOTOR-2
Free C701 +5V RS-232 15 4A R804
1k
8-bit LED Monitor VR305 10/50V 4A K802
10k Variable interface 3A
10
3A C802 MOTOR-2
(active high) resistor
C702
10/50V 34EN
9
34EN
0.1/50V +
6-12V
2 16 11
C703 R802 3Y
FREQUENCY (Hz) R601-R604 4 1 10/50V K701 47k LED802
C401 SP501 +5V IC701
10k x4 C704 SERIAL PORT RED/GREEN
0.1/50V 1 10 100 1k
+5V
Speaker S604 10/50V 5 MAX232 3 13 12 5 4
R401 LED401-404 32W SW3
R402 11 14
10k RED x4 TxD 2
510
3
+5V 12 13
1 S603 RxD
C501 SW2
10/50V D3 GND 5
P901
4 2 D2 DAC 1
7 S602 D1
P701
UART-1 13
IC901 +5V 2-Ch. of
VrefA VrefA MCP4922 C901
IC401 6 SW1 D0 10 7
2
VrefB
11
VrefB
0.1/50V 12-bit
PGX4100 TxD 3
5
3 S601
P601 9 8 CS
3
CS AoutA
14
P902 Digital to
P401 - SWITCH RxD 5 9 AoutA
+

R403 OUT P501


SW0
GND
SHDN
4
SHDN Analog
15 SCK SCK 10
S401
FREQ. 8 150 PIEZO P702
6
K702 LDAC
8
LDAC
AoutB P903 converter
UART-2 SERIAL PORT AoutB
Pulse generator SDI
5
SDI
12
by MCP4922
1Hz-1kHz Speaker 4-bit Switch input
C705
10/50V

Figure 1 NX-dsPIC30F dsPIC Microcontroller Experiment board

(8) 0 to +5V Reference Voltage Source : for support analog experiment,


NX-dSPIC30F experiment board provides 4 channels of 0 to 5V analog voltage source
to supply analog voltage for ADC circuit purpose only.
(9) RS-232 Serial port interface : The NX-dsPIC30F provides 2 of RS-232
serial port interface circuit. Use MAX232 IC for this circuit and female DB-9 connectotr
to interfacing
(10) The Solderless Breadboard : Most experiments will involve
components placed in the solderless breadboard. The breadboard on this
experiment board size is 2.5x7 Inches and provides 800 point-contacts.
4 lNX-dsPIC30F documentation

2. Using experiment board


2.1 Preparation
Before using, user must prepare some tool and software following :
1. Personal computer which install Window 98SE/ME/2000/XP, text editor
program, MPLAB V6.61 or higher and MPLAB C 30 compiler
MPLAB V6.61 and MPLAB C30 compiler are licenced by Microchip
Technology , for more information please contact at http://www.microchip.com
Computer must has at least one serial port if use ICDX-30 and/or USB
port for connect with Microchip’s ICD2 and PX-800 Programmer.
2. Write program with MPLAB and compile with MPLAB C30. See the
procedure from software manual. The output file is HEX file.
3. Prepare DC adpator 9-16V 500mA.

2.2 Procedure
(1) Constuct the curcuit on breadboard on NX-dsPIC30F board.
(2) Connect the hardware of programming tools to computer.
(3) Connect ICSP cable from ICD2 or ICDX-30 or PX-800 to NX-dsPIC30F board.
(4) Supply voltage to NX-877 plus board.
(5) Press MODE switch for changing to PROGRAM mode, red LED is bright.
(6) Select number of dsPIC microcontroller depend on the chip that install
on experiment board.
(7) Open HEX file.
(8) Erase and blank check data in microcontroller.
(9) Program data into microcontroller
(10) Verify programming
(11) After programming completed, press MODE switch to RUN mode.
Microcontroller will run your program.

Optional :
l ICD2 Debugger/Programmer tool for PIC/dsPIC microcontroller
l ICDX-30 Debugger/Programmer board for PIC/dsPIC microcontroller with DC
adaptor (ICD2 compatible but only work with RS-232 serial port)
l PX-800 USB- PIC/dsPIC Programmer

You might also like