Sunteți pe pagina 1din 34

Microcontroller Development

Board with programmer


NV5001

Learning Material
Ver. 1.1

Designed & Manufactured by:

141-B, Electronic Complex, Pardesipura, Indore- 452 010 India, Tel.: 91-731- 4211500,
Telefax: 91-731-4202959, Toll free: 1800-103-5050, E-mail: info@nvistech.com
Website: www.nvistech.com

NV5001

Microcontroller Development Board


With Programmer
NV5001
Table of Contents
1. Features

2. Technical Specifications

3. Theory

4. Experiment
Pin to pin study of MCU

31

5. Warranty

32

6. List of Service Center

33

7. List of Accessories

34

Nvis Technologies Pvt. Ltd.

NV5001

Features
Atmel 89C51/52 MCU clocked at 11.0592 MHz
Expansion connectors for plug in modules and prototyping area
On board programmer for AT89C51/ 52 and 55 devices
USB interface to PC for programming
Every pin is marked in order to make work easier
Master Reset/Restart Key for hardware reset
Input/Output & test points provided on board
On board breadboard
Self contained development board with on board DC power supply
CD with sample project code, Programmer software & useful documents
Learning Material

Nvis Technologies Pvt. Ltd.

NV5001

Technical Specifications
Communication

USB

MCU

AT89C51/52

Crystal Frequency

11.0592 MHz

Size of breadboard (mm)

W 175 X D 67 X H 8

Test Points

40 Nos.

DC Power Supplies

+12V, -12V, +5V & -5V

Programmer Unit

Ready to run programmer will program


AT 89C51/ 52 & 55 Devices

Interconnection for modules

2 mm patch cords and FRC cables

Power Supply

230V 10 %, 50 Hz (60 Hz on request)

Dimensions (mm)

W 340 X D 260 X H 55

Weight

1.8 Kg (approx)

General:

Nvis Technologies Pvt. Ltd.

NV5001

Theory
Microcontroller Development Board with Programmer NV5001 is an
AT89C51/52 based development kit, provides the understanding of all the
fundamentals of microcontrollers. It helps the user to gain knowledge regarding
arithmetic, logical, single bit programming and interfacing of peripherals. It provides
a platform on which to design and implement Microcontroller based systems.

A microcontroller is a single chip microcomputer with on board program ROM and


I/O that can be programmed for various control functions. Unlike a general purpose
computer, which also includes all of these components, a microcontroller is designed
for a very specific task to control a particular system.
The AT89C52 is a low power, high performance CMOS 8 bit microcomputer with 8K
bytes of Flash Programmable and Erasable Read Only Memory. The on chip flash
allows the program memory to be reprogrammed in system or by a conventional
nonvolatile memory programmer.
The AT89C52 provides 256 Bytes of RAM, 32 I/O lines, three 16 bit timer/counters,
and six vector two levels interrupt architecture, a full duplex serial port, on-chip
oscillator and clock circuitry.
Microcontrollers are less complex, reliable and faster, provide easy interaction and
have efficient instruction set.

Nvis Technologies Pvt. Ltd.

NV5001

Pin Description of AT89C52:

Figure 1
Port 0 (P0.0 - P0.7):
If designated as output, each of these pins can be connected up to 8 TTL input
circuits. If designated as input, they are high impedance inputs as their potential is
undefined with respect to the ground. If external memory is used, these pins are used
for alternate transfer of data and addresses (A0-A7) for accessing the extra memory
chip. Signal on ALE pin determines the mode of transfer on port.
Port 1 (P1.0 - P1.7):
If designated as output, each of these pins can be connected up to 4 TTL inputs. If
designated as input, these pins act like standard TTL inputs (that is, they have an
internal resistor connected to the positive supply pole and a +5V voltage). Also, pins
of Port 1 have alternate functions according to the following table:
Pin

Alternate function

P1.0

T2 (Timer 2 input)

P1.1

T2EX (Timer 2 control input)

Nvis Technologies Pvt. Ltd.

NV5001

Port 2 (P2.0 - P2.7):


If designated as input or output, this port is identical to Port 1. If external memory is
used, Port 2 stores the higher address byte (A8-A15) for addressing the extra memory
chip.
Port 3 (P3.0 - P3.7):
Similar to Port 1, Port 3 can also be used as universal I/O, but pins of Port 3 also have
alternate functions.

RST: Reset input


A high on this pin for two machine cycles while the oscillator is running resets the
device and terminate all activities. This is often referred to as a power on reset.
Activating a power on reset will cause all values in the register to be lost. Figure 2 and
figure 3 shows two ways of connecting the RST pin to the power on reset circuitry.

Power on reset circuit (a)


Figure 2
Nvis Technologies Pvt. Ltd.

NV5001

Power on reset with Debounce (b)


Figure 3
Positive voltage impulse on RST pin resets the MCU. In order to be detected, this
impulse needs to have duration of at least two operating cycles (this cycle represents
the time necessary to execute one instruction and lasts for 12 oscillator signals).
EA/VPP: External Access Enable
When this pin is connected to the ground, MCU gets program instructions from
external program memory. In case that internal program memory is used (common
case); this pin should be connected to the positive supply pole (VCC). During the
loading of program to internal Flash memory, this pin is at +12V.
ALE/PROG:
This pin emits an impulse sequence with a frequency equal to 1/6 of the frequency
generated by the main oscillator. If external memory is used, signal from this pin
controls the additional register for temporary storage of the lower address byte (A0 A7). This pin also serves as a control input during the writing of program to MCU.
PSEN: Program Store Enable
This pin is used for reading from external program memory (ROM). When the
AT89C52 is executing code from external program memory, PSEN is activated twice
each machine cycle, except that two PSEN activations are skipped during each access
to external data memory.
XTAL1 and XTAL2:
XTAL1 is the Input to the inverting oscillator amplifier and input to the internal clock
operating circuit. XTAL2 is Output from the inverting oscillator amplifier. AT89C52
has an on chip oscillator but requires an external clock to run it (See Figure.4). Most
often quartz crystal is connected to XTAL1 and XTAL2.The quartz crystal oscillator
connected to XTAL pins also needs two capacitors of 30pf value.

Nvis Technologies Pvt. Ltd.

NV5001

XTAL connection to 8051

Figure 4

VCC: Power Supply (4 6V)


GND: Negative supply pole (ground)

Nvis Technologies Pvt. Ltd.

NV5001

System Hardware of NV5001:

Figure 5
Section 1:
Section 1 (figure 5) is DC power supply section in which on board +12V, -12V, +5V
& -5V supplies are available for students to make their circuits and perform an
experiments as they desire.
Section 2:
Section 2 (figure 5) is main part of this development board, in which provides

Microcontroller ZIF Socket

Reset Block

Crystal Block

Port connector for FRC

Port socket for breadboard

Microcontroller ZIF Socket:


This is ZIF socket for PIC controller and test points on each pin of Ports.
Reset Block:
This is reset block for controller in which RC network and switch is given for reset.
Nvis Technologies Pvt. Ltd.

10

NV5001

Crystal Block:
This is clock generator section, crystal oscillator of 11.092 MHz used for clock signal.
Port connection to FRC:
In this section the 20 pin IDC socket provides to connect external modules.
There are five sockets in which ports 0, 1, 2, 3 and some controller pins like ALE,
PSEN & EA/VPP are connected.
Port 0 connector details:
It is shown on board as Port 0
Pin1&2 is P0.0

Pin3&4 is P0.1

Pin5&6 is P0.2

Pin7&8 is P0.3

Pin9&10 is P0.4

Pin11&12 is P0.5

Pin13&14 is P0.6

Pin15&16 is P0.7

Pin17&18 is VCC

Pin19&20 is GND

Port 1 connector details:


It is shown on board as Port 1

Pin1&2 is P1.0

Pin3&4 is P1.1

Pin5&6 is P1.2

Pin7&8 is P1.3

Pin9&10 is P1.4

Pin11&12 is P1.5

Pin13&14 is P1.6

Pin15&16 is P1.7

Pin17&18 is VCC

Pin19&20 is GND
Port 2 connector details:
It is shown on board as Port 2

Pin1&2 is P2.0

Pin3&4 is P2.1

Pin5&6 is P2.2

Nvis Technologies Pvt. Ltd.

11

NV5001

Pin7&8 is P2.3

Pin9&10 is P2.4

Pin11&12 is P2.5

Pin13&14 is P2.6

Pin15&16 is P2.7

Pin17&18 is VCC

Pin19&20 is GND
Port 3 connector details:
It is shown on board as Port 3

Pin1&2 is P3.0

Pin3&4 is P3.1

Pin5&6 is P3.2

Pin7&8 is P3.3

Pin9&10 is P3.4

Pin11&12 is P3.5

Pin13&14 is P3.6

Pin15&16 is P3.7

Pin17&18 is VCC

Pin19&20 is GND
10 Pin connector details:

Pin1&2 is ALE/PROG

Pin3&4 is PSEN

Pin5&6 is EA/VPP

Remaining pins are not connected in the board.


Port connector for Breadboard:
This section provides the female berg strip to connect wires to breadboard circuits.
There are four sockets in which port 0, 1, 2 and 3 are connected. Dot indicates first
pin of connector.
Port 0 connector details:
It is shown on board as Port 0

Pin 1 is P0.0

Pin 2 is P0.1

Pin 3 is P0.2

Pin 4 is P0.3

Nvis Technologies Pvt. Ltd.

12

NV5001

Pin 5 is P0.4

Pin 6 is P0.5

Pin 7 is P0.6

Pin 8 is P0.7
Port 1 connector details:
It is shown on board as Port 1.

Pin 1 is P1.0

Pin 2 is P1.1

Pin 3 is P1.2

Pin 4 is P1.3

Pin 5 is P1.4

Pin 6 is P1.5

Pin 7 is P1.6

Pin 8 is P1.7
Port 2 connector details:
It is shown on board as Port 2.
Pin 1 is P2.0
Pin 2 is P2.1
Pin 3 is P2.2
Pin 4 is P2.3
Pin 5 is P2.4
Pin 6 is P2.5
Pin 7 is P2.6
Pin 8 is P2.7
Port 3 connector details:
It is shown on board as Port 3.

Pin 1 is P3.0

Pin 2 is P3.1

Pin 3 is P3.2

Pin 4 is P3.3

Pin 5 is P3.4

Pin 6 is P3.5

Pin 7 is P3.6

Pin 8 is P3.7

Nvis Technologies Pvt. Ltd.

13

NV5001

Section 3:
Section 3 (Figure 5) is Microcontroller Programmer unit. In which USB connector is
given for programming in right side of development platform. Two ZIF socket 20 pin
and 40 pin for controller holding and switch for on & off the programmer.
One LED is for programming & one for supply indications.
Programmer details:
The programmer is meant for programming the following controllers, which are
shown in figure 21. The programmer is an add-on card to the standard personal
computer through the USB port.
Suitable software is made available to make programming operations simple,
convenient and also interesting.
Features of the Programmer:
Supports various controllers which are shown in figure 21.

Single 40 pin and 20 pin ZIF socket to accommodate DIP devices.

LED indicators are provided for power and programming signals.

Programmer can be connected through USB port of the PC.

Programming Features:
Major command are :
Erase
Protect the device against copying
Write
USB port is meant for connecting the programmer with the host personal computer
through the usb port.
The usb port connector terminations are given here:

Pin1 > Vcc

Pin2 > Data-

Pin3 > Data+

Pin4 > Gnd

How to program the IC by programmer:


Step 1: Install the ProLoad v5.4 Microcontroller Programmer software in your PC
You can download the hex code you have prepared, into the microcontroller using our
microcontroller programmer software. To install this software, choose the folder
Programmer setup in the accompanying CD (CD - NV5001 Programmer setup).
You will find file setup.exe. Now double click on setup.exe to run the installation
program. Follow the instructions on the screen. Click finish to complete the
installation. To run the program chooses ProLoad v5.4 from the start menu & Nvis
Technologies. Shortcut of ProLoad v5.4 icon also have made in desktop.

Nvis Technologies Pvt. Ltd.

14

NV5001

Step 2: Connect the Development board NV5001 to the Computer


Connect the development board to the PC through one of the USB connector that is
available, depending on the availability. Use the USB cable supplied along with the
board. Connect one end of the cable to the USB connector of the board and the other
end to the USB port of the PC. A message is displayed on toolbars to install USB
driver.

Fig. 6

Fig. 7
Choose the advanced option and click next.

Nvis Technologies Pvt. Ltd.

15

NV5001

Click browse option and choose path for FT232 USB driver, then click next option.

Fig. 8
Wait for some time while it installs the USB driver successfully. Finally a message
comes your new hardware is installed and ready to use.

Nvis Technologies Pvt. Ltd.

16

NV5001

Fig. 9

A message is displayed on toolbars to indicate that your USB driver has been installed
successfully. Turn on the switch in the NV5001 development board. Plug the
microcontroller in programmer unit ZIF socket. Turn On the power supply for
NV5001 development board. Open ProLoad v5.4 programmer. We can program the
microcontroller in two ways1. Step by step.
2. Auto program.
First we will discuss about step by step process.

Nvis Technologies Pvt. Ltd.

17

NV5001

Follow the following steps in ProLoad v5.4 software.


Check the correct com port in device manager for communication.

Nvis Technologies Pvt. Ltd.

18

NV5001

Fig. 10
Select the correct com port in ProLoad v5.4 programmer.

Nvis Technologies Pvt. Ltd.

19

NV5001

Fig. 11
Click Device Select option or Recent Devices for selecting desired microcontroller.

Nvis Technologies Pvt. Ltd.

20

NV5001

Fig. 12
After selecting Device select option follow the following root.
Device Search -> AT89C51/52 ->Select Device -> OK

Nvis Technologies Pvt. Ltd.

21

NV5001

Fig. 13
After selecting the device, click signature to detect the controller.

Nvis Technologies Pvt. Ltd.

22

NV5001

Fig. 14
Erase Facility: Erase facility can be used to erase whole flash area in the selected
microcontroller. See fig. 15

Nvis Technologies Pvt. Ltd.

23

NV5001

Fig. 15
After erasing, load the hex file which you have created, for this follow the following
root:
File option Open

Nvis Technologies Pvt. Ltd.

24

NV5001

Fig. 16
Select hex file which you have prepared, then click open. See fig. 17

Nvis Technologies Pvt. Ltd.

25

NV5001

Fig. 17
After loading hex file, we have to burn program. Click program option for
programming. See fig. 18

Nvis Technologies Pvt. Ltd.

26

NV5001

Fig. 18
After programming, clicks verify option for verification. See fig. 19

Nvis Technologies Pvt. Ltd.

27

NV5001

Fig. 19

Nvis Technologies Pvt. Ltd.

28

NV5001

Auto Program:
In this way all functions performed automatically. It performs function one by one as1. Microcontroller detection.
2. Erasing.
3. Programming.
4. Verification.
After detecting controller it asks for hex file which you have prepared. Now after
selecting hex file, it performs all functions. See fig. 20

Fig. 20

Nvis Technologies Pvt. Ltd.

29

NV5001

Here various microcontrollers are given below that can be programmed with
ProLoad v5.4 programmer.

Fig. 21
Section 4:
Section 4 (Figure 5) consists of breadboard and supply connector for +12V, -12V,
+5V & -5V DC supply, On board Breadboard allows making their own circuits and
performing an experiment as they desire.
Note:

Microcontroller Development Board NV5001 supports MCXX series modules


for different experiments.

"It also supports IMXX series modules. For this IM_MC_Converter" is


required to interface with NV5001.

Nvis Technologies Pvt. Ltd.

30

NV5001

Experiment
Objective:
Pin to pin study of MCU
Equipments Needed:

Multimeter

Oscilloscope

Procedure:
1. After programming insert the AT89C52 microcontroller in the ZIF socket of
Microcontroller Unit.
2. Switch Off the programmer switch in Programmer Unit (in NV5001).
3. Switch On the power supply.
4. Observe the output of crystal i.e., 11.0592 MHz frequency between XTAL 2
socket (TP 2) and ground on oscilloscope.
5. Observe the status of reset pin on TP 4 test point and ground. Press the reset
switch and check the status.
6. Observe the status of port pins on respective test points of pins. If inserted
microcontroller is blank (means not programmed), then you get high signal on
all port pins.
7. Observe +12V DC on +12V DC block socket.
8. Observe +5V DC on +5V DC block socket.
9. Observe -5V DC on -5V DC block socket.
10. Observe -12V DC on -12V DC block socket.
11. Observe the status of ALE/PROG pin at 1 & 2 pins of 10 pin port and ground on
oscilloscope.
12. Observe the status of PSEN pin at 3 & 4 pins of 10 pin port and ground on
oscilloscope.
13. Observe the status of EA pin at 5 & 6 pins of 10 pin port and ground on oscilloscope.

Nvis Technologies Pvt. Ltd.

31

NV5001

Warranty
1) We guarantee the product against all manufacturing defects for 24 months from
the date of sale by us or through our dealers. Consumables like dry cell etc. are not
covered under warranty.
2) The guarantee will become void, if
a)

The product is not operated as per the instruction given in the learning material.

b) The agreed payment terms and other conditions of sale are not followed.
c)

The customer resells the instrument to another party.

d) Any attempt is made to service and modify the instrument.


3) The non-working of the product is to be communicated to us immediately giving
full details of the complaints and defects noticed specifically mentioning the type,
serial number of the product and date of purchase etc.
4) The repair work will be carried out, provided the product is dispatched securely
packed and insured. The transportation charges shall be borne by the customer.

Nvis Technologies Pvt. Ltd.

32

NV5001

List of Service Center


Baroda
Guwahati
Flat No. A/1, Mudra Complex, Avijit Roy Building, A.K. Dev
Road, Fatashil Ambari, Near
Behind Sudha Hotel, Ellora
Park, Baroda-390023 (Gujarat) jalaram Mandir,
Tel: +91-0265-3089505
Guwahati-25 Assam
Fax : +91- 0265-3089506
Mobile: 09435144068
email : baroda@scientech.bz email: guwahati@scientech.bz

Indore
94, Electronic Complex,
Pardesipura, Indore-452 010
Tel: 91-731-2570301/02,
4211100,
Fax: 91-731-2555643
E-mail: info@scientech.bz

New Delhi
Bangalore
First Floor, C-19, F.I.E.,
202/19, 4th Main Street,
Patparganj Industrial Area,
Ganganagar,
Delhi-110092 (INDIA)
Bangalore - 560032
Ph: 011- 22157370, 22157371, Ph.: +91-080-41285011
T.Fax: +91-080-41285022
Fax: +91-011-22157369
email: bangalore@scientech.bz
email: ndel@scientech.bz

Kolkata
AC-101, Prafullla Kanan, Near
Kestopur Bus Stop, Krishnapur,
Kolkata- 700059 (West Bengal)
Tel: +91 33-65266800
Mob: 9433029888
email: kolkata@scientech.bz

Mumbai
Jaipur
E Type, Bldg No. 5/1/3, Sector Flat No. G-2, S-101, Bhagat
1,Vashi, Navi Mumbai-400703 Vatika North, Civil Lines,
Ph: +91-022-27826616,
Jaipur - 302006 (Raj.)
65266616
Mobile: 097998-10236
email: mumbai@scientech.bz email: jaipur@scientech.bz

Lucknow
First Floor, 279/54/20/A,
Chuhar Singh Colony, Pan
Dariba, Lucknow (U.P.)
Mobile: 09918670737
email: lucknow@scientech.bz

Hyderabad
Cochin/Kochi
Plot No. 24, Flat no. 203,
C/o Pragalbha
Laxmi Residency, Chandragiri Valsan,Poriyamadathil house,
Housing Society, Trimulgherry ABMS Lane, Asoka Road,
Secunderabad- 500015.
Near Mathrubhumi, Kaloor,
Ph:040-27740147,9247712763 Kochi - 682 017
email: hyd@scientech.bz
Ph: 0484-2409441
email: kochi@scientech.bz

Chandigarh
201, 2nd floor KMB Hospitality
Services, SCO 19, Near Kabir
Petrol Pump, Ambala-Zirakpur
Highway Zirakpur,
Mohali - 140603
Ph.: 0172-6530329
email: chandigarh@scientech.b
zOrissa

Pune
Chennai
105/106, 1st floor, Ajinkyatara, Flat C, 1st Floor, Old No. 49
Ganesh Mala, Sinhgad Road, New No. 64, Bajanai Koil
Pune - 411030
Street, Sriram Nagar Extention,
Ph.: +91-020-24254244/55
Pallipattu, Chennai-600113
Fax: +91-020-24254244
Tel: 044-43514212, 43514213
email: pune@scientech.bz
email: chennai@scientech.bz

Nvis Technologies Pvt. Ltd.

Plot No-67 (1st Floor)


Aerodrom Area,Vimpur mouza
Near Vimpur Primary School
Bhubaneswar- 751020
Mobile: 09238307873
email: orissa@scientech.bz

33

NV5001

List of Accessories
1. USB Cable .............................................................................................1 No.
2. Mains Cord.............................................................................................1 No.
3. SMPS Supply..1 No.
4. 20 Pin FRC Cable ...................................................................................4 Nos.
5. 10 Pin FRC Cable ...................................................................................1 No.
6. Patch Cords .. ...................................................5 Nos.
7. Learning Material + Software CD ...........................................................1 No.
Optional Accessories:
The comprehensive range of modules has been designed to aid the teaching of
microcontroller interfacing to various peripherals. The module design enables
students to easily understand each experiment section as it is worked upon. This plug
in modules are supplied optionally with the lab.

MC01

Input interface module

MC02

ADC/DAC module

MC03

Computer interface module

MC04

Display module

MC05

Motor drive module

Nvis Technologies Pvt. Ltd.

34