Radar Problem
Radar Problem
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.
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Software folder contains the setup file for Keil and firmware loading program (Flash Magic).
PORT 0 PORT 2
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
PORT 1 PORT 3
SysKriation
Innovation &
Implementation
4. PORT3: From Left to Right D0 D1 D2 D3 D4 D5 D6 D7
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
LCD Control
LCD Data
SysKriation
Innovation &
Implementation
2. LCD Data: From Left to Right D0 D1 D2 D3 D4 D5 D6 D7
Channel Select
Digital Out
ADC Control
Analog Input
SysKriation
Innovation &
Implementation
1. ADC Data(Digital Out): From Left to Right D0 D1 D2 D3 D4 D5 D6 D7
2. Channel Select: From Left to Right ALE C B A
3. ADC Control: From Left to Right OE EOC SC
4. Analog Input: Left column is analog Input Channel of ADC and
Right Column is the ground.
From Top to Bottom CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Interfacing Keypad: Keypad Interface is shown below.
ROW COL
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
POT
DC OUT
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Fig6. Variable DC output
Interrupt switches
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
On ON position DIP Switch gives digital LOW otherwise HIGH.
LED Interface:
LED INTERFACE
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Bit Pattern: Top to Bottom D7 D6 D5 D4 D0 D1 D2 D3
Motor Control
Motor 1
Motor2
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Fig10. Motor Driver Interface
DAC Interface:
Ref Adj and Select
DAC Interface
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Fig11. DAC Interface
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Relay Interface:
Relay Interface
Fig11.Interfacing Relay.
SysKriation
Innovation &
Implementation
Relay_out: Left to Right NO COM NC
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.
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.
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
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’
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
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.
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.
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
SysKriation | www.syskriation.co.in
P89V51RD2 Development Board
SysKriation
Innovation &
Implementation
Recycling:
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.
SysKriation | www.syskriation.co.in