Professional Documents
Culture Documents
Contents
1.
Introduction .............................................................................................................. 3
1.1 Packages....................................................................................................................... 3
1.2
2.
Specifications ............................................................................................................ 4
1. Introduction
1.1 Packages
CD contains
Example Programs
User Manual
:
www.pantechsolution.net/forum
Website
:
www.pantechsolutions.net
2. Specifications
MCU
Memory
Clock
On-Board
Peripherals
2 Nos. UART(RS232)
Power
9V Input
+5V Reg
4 Nos
7-Segment Disp.
8 Nos.
Digital Inputs
2x16 LCD
USB
(Power supply)
EEPROM
Digital
Temperature
Relay/Motor
Driver
8051 Core
I2C RTC
Battery Backup
NXP - P89V51
4X4 Matrix
Keypad
40Pin Expansion
Connector
128x64 GLCD
On-Board Analog
Inputs
4-way Traffic
Light Module
Two
Ext Interrupts
Buzzer
LM35 Temp
Sensor
8 Nos.
Point LEDs
Supported Microcontrollers :
SOCKET1 (40-DIP)
NXP
:
P89V51Rxx
Dallas
*Atmel :
DS89C420/430/450
AT89S51/52/8252 and AT89Sxx
SOCKET2 (44-PLCC)
NXP
P89V51Rxx
Dallas
DS89C420/430/450
*Atmel :
2x RS232
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Brown-out detection
Idle mode
External Supply(+5V)
Disable LEDs.
Enable Buzzer
Disable Buzzer
Buzzer (P0.6)
JP5
Analog I/P (POT)
JP6
Analog I/P (LM35)
JP7
Connector Details
40-Pin Expansion Connector
CN2
P0.0
P0.2
P0.4
P0.6
P1.0
P1.2
P1.4
P1.6
VCC
GND
P2.0
P2.2
P2.4
P2.6
P3.0
P3.2
P3.4
P3.6
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
P0.1
P0.3
P0.5
P0.7
P1.1
P1.3
P1.5
P1.7
VCC
GND
P2.1
P2.3
P2.5
P2.7
P3.1
P3.3
P3.5
P3.7
EXPANSION CONN
4. Power Supply
The external power can be AC or DC, with a voltage between (7V/12V,1A output) at 230V AC
input. The 8051 board produces +5V using an LM7805 voltage regulator, which provides supply
to the peripherals. USB socket meant for power supply only, user can select or control power
either USB or Ext power supply through slide switch SW2.
+5V USB/EXT
SW2
5. On-board Peripherals
The Development kit comes with many interfacing options
4 X 4 Matrix keypad
Serial EEPROM
Light Emitting Diodes (LEDs) are the most commonly used components, usually for displaying
pins digital states.
The 8051 Kit has 8 nos., of Point LEDs, connected with port pins (P0.0 to P0.7), to make port
DIGITAL OUTPUTS
Point LEDs
8051 Lines
LED1
P0.0
LED2
P0.1
LED3
P0.2
LED4
P0.3
LED5
P0.4
LED6
P0.5
LED7
P0.6
LED8
P0.7
LED Selection
JP4
1
- LED Enable
- LED Disable
JP4
1
This is another simple interface, of 8-Nos. of slide switch, mainly used to give an input to the
port lines, and for some control applications also.
The 8051 Kit, slide switches (SW8 to SW27) is connected with port pins (P2.0 to P2.7), user
can give logical inputs LOW.
DIGITAL INPUTS
Slide Switch
8051 Lines
SW8
P2.0
SW13
P2.1
SW14
P2.2
SW19
P2.3
SW20
P2.4
SW25
P2.5
SW26
P2.6
SW27
P2.7
Figure below illustrate the LCD part of the design and which pins are used for the interface. The
DATA LINES
P0.0
RW
P0.1
P0.2
D0-D3
NC
D4
P0.4
D5
P0.5
D6
P0.6
D7
P0.7
D6
D7
LED
+LED-
RS
D4
D5
8051 LINES
RS
R/W
E
LCD MODULE
GND
VCC
VEE
CONTROL
+5V
SW30
OFF 1
2
3
4
PWR ON/OFF
8 ON
7
6
5
7SEG
LCD
SM/RL
GLCD
8051 Pins
Digit - 1
P3.4
Digit 2
P3.5
Digit 3
P3.6
Digit - 4
P3.7
Seg - a
P1.0
Seg b
P1.1
Seg c
P1.2
Seg d
P1.3
Seg e
P1.4
Seg f
P1.5
Seg g
P1.6
Seg dp
P1.7
7-Segment Display
VCC
1
7-SEG
Digit - 1
1K
a
f g b
e d c
7
6
4
2
1
9
10
5
A
B
C
D
E
F
G
DP
U1
CA
seg-a
Seg-b
Seg-c
seg-d
seg-e
seg-f
seg-g
seg--dp
CA
Segment Lines
Digit select
lines
The 7-segmend display is powered from the 5V power supply enabled by switch SW30.
7 SEG DISP
OFF 1
2
3
4
8 ON
7
6
5
7SEG
LCD
SM/RL
GLCD
PWR ON/OFF
Figure below illustrate the GLCD part of the design and which pins are used for the interface. The
GLCD is powered from the 5V power supply enabled by switch SW30.
CONTROL L
LINES
LCD DATA LINES
GLCD
8051 LINES
CS1
P3.2
CS2
P3.3
RS
P3.4
R/W
P3.5
P3.6
DB0
P1.0
DB1
P1.1
DB2
P1.2
DB3
P1.3
DB4
P1.4
DB5
P1.5
DB6
P1.6
DB7
P1.7
RST
P3.7
Make switch on
SW32
GLCD
VCC
SW30
OFF
Traffic
ON
1
2
3
4
8
7
6
5
7-SEG
LCD
SM/RL
GLCD
PWR ON/OFF
4x4 Matrix
Lines
8051 Lines
ROW-0
P2.0
COLUMN
ROW
C1
ROW-1
P2.1
ROW-2
P2.2
ROW-4
P2.3
COLUMN-0
P2.4
COLUMN-1
P2.5
COLUMN-2
P2.6
COLUMN-3
P2.7
C3
C4
SW4
SW5
SW6
SW7
SW9
SW10
SW11
SW12
SW15
SW16
SW17
SW18
SW21
SW22
SW23
SW24
R1
R2
R3
R4
P0.1
COIL-C
P0.2
COIL-D
P0.3
MOTOR_PWR
STEPPER
COIL-A
COIL-B
COIL-C
COIL-D
IN1
IN2
IN3
IN4
OUT1
OUT2
OUT3
OUT4
EN1
EN2
JP3
1
1
2
3
2- 3
MG1
COIL-B
VCC
P0.0
COIL-A
VS
VSS
8051 Lines
STEPPER MOTOR
Stepper Motor(5V)
VCC
SW30
OFF
ON
1
2
3
4
8
7
6
5
7-SEG
LCD
SM/RL
GLCD
PWR ON/OFF
For Motor/relay section obtain power from on-board (internal) or external supply through
jumper JP3.
RELAY SPDT
8051 Lines
VCC
SW30
RELAYS | BUZZER
Relay-1
P0.4
OFF
ON
1
2
3
4
8
7
6
5
7-SEG
LCD
SM/RL
GLCD
PWR ON/OFF
Relay-2
P0.5
JP3
1
2- 3
JP5
Buzzer
P0.6
Note : Relay | Buzzer selection make switch SW30 to SM/RL label marking position
For Motor/relay/buzzer section obtain power from on-board (internal) or external supply
through jumper JP3.
100 kHz (1.8V, 2.5V, 2.7V) and 400 kHz (5V) Compatibility
8-byte Page (1K, 2K), 16-byte Page (4K, 8K, 16K) Write Modes
AT 24xx
8051 Lines
SCL
P2.0
Serial EEPROM
AT24XX
EEPROM
8051
SDA
P2.1
SW28
P2.0
P2.1
P2.2
P2.4
P2.5
P2.6
P2.7
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
I2C_CLK
I2C_DTA
1-WIRE
ADC_CS
ADC_SCK
ADC_SO
ADC_SI
SW DIP-8
VPB clock. Also, the RTC is powered by its own power supply pin, VBAT, which can be connected
to a battery or to the same 3.3 V supply used by the rest of the device.
Features
Measures the passage of time to maintain a calendar and clock.
Provides Seconds, Minutes, Hours, Day of Month, Month, Year, Day of Week, Day of Year.
Dedicated power supply pin can be connected to a battery or to the main 5V/3V3.
DS1307
RTC
8051 Lines
SCL
P2.0
RTC
DS1307
8051
SDA
P2.1
SW28
P2.0
P2.1
P2.2
P2.4
P2.5
P2.6
P2.7
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
I2C_CLK
I2C_DTA
1-WIRE
ADC_CS
ADC_SCK
ADC_SO
ADC_SI
SW DIP-8
The DS1820 digital thermometer is well suited to environmental temperature measurement, having a
temperature range of 55C to 125C and an accuracy of +/-0.5C.
Features
Unique 1-Wire interface requires only one port pin for communication
Can be powered from data line. Power supply range is 3.0V to 5.5V
8051 Lines
Dout
P2.2
DS18S20
Temp Sensor
DS18S20
8051
SW28
P2.0
P2.1
P2.2
P2.4
P2.5
P2.6
P2.7
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
I2C_CLK
I2C_DTA
1-WIRE
ADC_CS
ADC_SCK
ADC_SO
ADC_SI
SW DIP-8
8051 Lines
CS
P2.4
CLK
P2.5
MCP 3202
SPI - ADC
MISO
P2.6
MOSI
P2.7
SPI - ADC
ADC
MCP3202
8051
SW28
P2.0
P2.1
P2.2
P2.4
P2.6
P2.5
P2.7
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
SW DIP-8
I2C_CLK
I2C_DTA
1-WIRE
ADC_CS
ADC_SCK
ADC_SO
ADC_SI
ADC Select
ADC Inputs
Header
LM35
CH0
JP7
POT (R19)
CH1
JP6
ADC Select
1
- On-Board LM35
- On-Board POT(R19)
Features
12-Bit Resolution
MCP 2491
SPI - DAC
8051 Lines
CS
P3.5
CLK
P3.6
MOSI
P3.7
Note :
SPI - DAC
8051
DAC
MCP2491
LAN
Direction
8051 Lines
NORTH
P3.2
D8-Stop
P3.3
D9-Listen
P3.4
D10-Go
P3.5
D11-Stop
P3.6
D12-Listen
P3.7
D13-Go
P1.0
D14-Stop
P1.1
D15-Listen
P1.2
D16-Go
P1.3
D17-Stop
P1.4
D18-Listen
P1.5
D19-Go
WEST
SOUTH
EAST
Note
LEDs
GO
330E
LISTEN
330E
STOP
LANE
NORTH
330E
LANE
WEST
SW32
GLCD
LANE
SOUTH
Traffic
The voltage levels of a microcontroller and PC are not directly compatible with those of RS-232, a
level transition buffer such as MAX232 be used.
ISP PGM
UART0(P1)
UART1
(P2)
UART DB-9
Connector
8051
Processor Lines
RXD0
P3.0
TXD0
P3.1
8051
RXD1
P1.2
TXD1
P1.3
MAX
3232
Note : RXD1 and TXD1 lines are only available in Maxim-Dallas Microcontrollers
DS89C4xx series.
Interrupts
Interrupts
8051 Lines
SW29 (INT0)
P3.2
DS1307
Tactile
Switch
In 8051, two external interrupts lines are terminated at (EXINT0-P3.2) and (EXINT2-P3.3).
SW31 (INT1)
P3.3
Interrupts
8051
INTR
6. Board Layout
Step 0 : Go to Options Menu, then choose Advanced Options, Advanced options windows appears.
Choose Hardware Config tab, Deselect Use DTR to Control RST checkbox.
Press Hardware RST Button SW3. Now it starts, Erasing, Program & Verifying.
Dallas Microcontrollers
Hardware Settings
PGM Mode
EXE Mode
SW1
1
2
3
4
SW1
8
7
6
5
1. Options Menu
Select com port and set baud rate to 9600
1
2
3
4
8
7
6
5
2. Target Menu
1.
2.
Connect to Loader
Execution Mode
Set DIPSWITCH SW1 EXE Mode
8 Appendix
Appendix A Product Overview
Board:
8051 Primer is the main board with most of the on-chip peripherals incorporated on a single
slice.
User Selectable Jumpers
JP4 LED Selection (P0.0 P0.7)
Slide Switch SW2 For Power Supply Selection ( EXT | USB)
On-Board Interrupt Study
RTC Interface | EEPROM (P2.0 P2.1)
1-wire Digital Temperature sensor (P2.2)
SPI-Analog-Digital converter (P2.4 P2.7)
8 Different Slide Switch
(P2.0 P2.7)
7-segment display (Digit P3.4-P3.7) | Data Lines (P1.0 P1.7)
Keypad Interface (Pulled Up switches
P2.0 P2.7)
Buzzer Interface
P0.6
Relay Interface
P0.4 | P0.5
Stepper Motor
P0.0 P0.3
LCD Operates on 4-Bit Mode
Control Lines
(P0.0 P0.2)
Data Lines
(P0.4 P0.7)
GLCD Interface
Control Lines
(P3.2 P3.7)
Data Lines
(P1.0 P1.7)
Content Details:
Trouble Shooting
It is not advised to connect or disconnect any external devices which are not recommended
by the product reference manual.
It is risky to connect power supply not preferred by the reference user manual
Disconnecting or Removing ICs on a Powered ON kit is void.
In case of any malfunction in the product, please let us know.
What do we sell?
Our
products
range
from
Various
Microcontroller development boards, DSP Boards,
FPGA/CPLD boards, Communication Kits, Power
electronics, Basic electronics, Robotics, Sensors,
Electronic components and much more . Our goal is
to make finding the parts and information you need
easier and affordable so you can create awesome
projects and training from Basic to Cutting edge
technology.