Professional Documents
Culture Documents
SysKriation
Innovation & Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Introduction:
P89V51RD2 Development Board is integrated with all the basic components required for most
of the 8051 microcontroller based experiments. It is made from double sided PTH PCB board to
provide extra strength to the connector joints for increased reliability. Board can work on 9 to
15V DC supply. It has built-in reverse polarity protection. It has onboard 8-channel Analog to
Digital Converter (ADC) ADC0808, RS232 interface with DB9 female connector based on
MAX232, Motor driver L293, 7-segment display with BCD to 7-segment decoder, DAC0808,
Micro-Relay with drive circuit, DIP switch, 4x4 keypad, 2-extra key, 8-LED and also 16X2
LCD connected on the board. All ports are connected to standard 8-pin female connectors. Other
device interfaces are also connected to standard connectors. It can be programmed using Flash
Magic programming utility of NXP’s own programming utility via serial port. There are
provisions for selecting the reference voltages for both ADC and DAC and reference voltages
can also be adjusted by turning the provided trimpot.
Specifications:
• Microcontroller: P89V51RD2 with 11.0592MHz crystal
• PCB: Double side high quality PTH PCB board
• Power Supply: 9 to 15V DC
• Switch: Reset
• Interface: RS232, 8-analog input, 1,-analog output, Relay output, Motor driver
Output, 4X4 Keypad, 16X2 LCD, DIP Switch
• Connectors: Standard 8-pin single line connectors for all ports and device interfaces,
16 pin connector for analog interface, standard power connector, DB9F.
• Compatibility: Compatibility with General purpose prototyping board for development and
40 pin 8051 microcontrollers
• LCD: 16X2
• Dimension: 17.6X14.8cm
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Package contents:
1. P89v51RD2 Development Board with P89v51RD2 microcontroller
2. Documentation CD containing tutorial for P89v51RD2 microcontroller
3. RS232 connector with 1.5m cable
4. 12V DC Adapter
Datasheets folder contains the datasheet of P89VRD2 and all other devices.
Manual & Tutorial folder contains the circuit schematic of the development board, manual of the
board and Tutorial for programming the board in Keil.
Software folder contains the setup file for Keil and firmware loading program (Flash Magic).
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
PORT 0 PORT 2
PORT 1 PORT 3
SysKriation
Innovation & Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
LCD Control
LCD Data
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Channel Select
Digital Out
ADC Control
Analog Input
7
Fig4. ADC Interfacing
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
ROW COL
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
POT
DC OUT
10
Fig6. Variable DC output
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Interrupt switches
11
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
LED Interface:
LED INTERFACE
13
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Motor Control
Motor 1
Motor2
2Contro
l
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
DAC Interface:
Ref Adj and Select
DAC Interface
SysKriation
Innovation & Implementation
for lower reference set the jumper between middle and left pin. However
lower reference can be measured in lower pin by DMM or Oscilloscope
before setting the jumper.
16
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
17
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Relay Interface:
Relay Interface
Fig11.Interfacing Relay.
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
We are going to use Keil-µ-Vision (Version 4) software for writing the code for the
microcontroller. We can also use any other open source of proprietary software supporting
P89V51RD2 microcontroller. P89V51RD2 Development Board CD contains free version of the
µVision 4 software. You can also download latest version from
http://www.keil.com/dd/chip/3711.htm and click C51 Evaluation Software
For writing, compiling C program and generating *.hex file in Keil-µ-Vision see the tutorial
provided in the CD.
19
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Flash Magic is Windows software which allows easy access to all the In System Programming
(ISP) features provided by the devices.
These features include:
• Erasing the Flash memory (individual blocks or the whole device)
• Programming the Flash memory
• Reading Flash memory
• Reading the signature bytes
• Reading and writing the security bits
• Direct load of a new baud rate (high speed communications)
• Sending commands to place device in Boot loader mode
Flash Magic provides a clear and simple user interface to these features
Go to ‘Flash Magic’ Icon, it will open the main window as show below.
20
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
21
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Uncheck the box which is highlighted to don’t allow Flash Magic to control PSEN & RST using
DTR & RTS. Now go for Communication selection, select ‘COM 1’ from ‘COM PORT’ Option
if you are using serial port. If you are using USB to serial converter then find out COM port
number in Device Manager.
23
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
24
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
25
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
26
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Go to ‘Erase’ section for erasing the all ‘Flash’ or Blocks used by ‘HEX File’
27
Check on the check box to Erase all Flash.
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
28
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Go to ‘Option’ section to select ‘Verify after programming’ option. This will verify hex file after
loading.
29
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
After doing all the required settings, connect serial cable between Development Board and PC.
Turn on the Board and click on the ‘Start’, it will ask to ‘RESET TO DEVICE IN TO ISP
MODE’, now press RESET Switch on the Development Board, Flash magic will load hex file on
the robot and verify it for correctness. If you are using USB to serial converter find out COM
port number in Device Manager.
30
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Notice
The contents of this manual are subject to change without notice. All efforts have been made to
ensure the accuracy of contents in this manual. However, should any errors be detected,
SysKriation welcomes your corrections. You can send us your queries /suggestions at
syskriation@gmail.com
Product’s electronics is static sensitive. Use the product in static free environment.
Read the user manuals completely before start using this product
31
Recycling:
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation & Implementation
Almost all the parts of this product are recyclable. Please send this product to the recycling plant
after its operational life. By recycling we can contribute to cleaner and healthier environment for
the future generations.
32
SysKriation | www.syskriation.co.in