Вы находитесь на странице: 1из 4

w

w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
www.icstation.com
- 1 -
Instruction of PCK-4 four remote clock
1. General description of DIY kits
Package Name: four remote clock
Kit Model: PCK-4
Working voltage: 5V (USB powered)
PCB Size:108*36mm
PCK-4 is a clock based on AT89C2051 MCU and can realize two-way alarm clock. This
clock has the function of hourly chime (from 8 oclock to 20 oclock),checking the time precisely
and memory when power off.
2. Principle Description
The whole circuit is made up of the minimum system of MCU, the key input circuit, display
circuit, buzzer circuit, power circuit and backup battery power supply circuit.
1>.Minimum system of MCU:including manual reset circuit made up by U1AT89C2051
R5RET and clock circuit made up by C2C3Y1
2>. Key input circuit is made up by S1,S2.The buzzer will sound once when press the
button for a short time and twice for a long time.
3>.Display circuit is made up by four digital tubes which have the same anode and Q1-Q4
triode drive circuit
4>.Buzzer circuit is made up by Q5R6 and LS1
5>. J3 is the input end of 5V power supply, C1smoothing
6>.backup battery power supply circuit is made up bu BT1D1 and D2. When connect a 5V
external power supply, the D1 is conducted and MCU powered by 5V power supply.Now the D2
is cut off and the backup batter BT1 have no current consumption.When 5V external power
supply is cut off and D2 is conducted immediately/ And BT1 provide power supply to MCU
3. Operating Instructions
When power on, the interface shows the 12:59 and default two-way clock alarm both open.
The first alarm clock set on 1301 and the second alarm clock set on 13:02. Press the button
S2 for a short time when power on can switch the interface between hour and minute or second.
Press the S1 for a long time and enter system menu settings.There are ABCDEFG
HI those nine submenus. Press the S1 submenu for a short time and plus 1, the interface
change to the hour.
A Submenu: calibrate hour
Press button S2 and plus 1. After calibrating, press S1 for a short time to save and exit this
submenu and enter to B submenu
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
www.icstation.com
- 2 -
B submenu: calibrate minute
Press button S2 and plus 1. After calibrating, press S1 for a short time to save and exit this
submenu and enter to C submenu
C submenu: the switch of hourly chime
the default status is on ((from 8 oclock to 20 oclock) Press S2 to switch between on and off
about hourly chime function. After adjusting well, press S1 for a short time to save and exit this
submenu and enter to D submenu
D submenu: the switch of first alarm clock
the default status is on .Press S2 to switch between ON and OFF about the first alarm clock. If
setting on, press S1 for a short time to save and exit this submenu and enter to E submenu. If
setting off, press S1 for a short time to save and exit this submenu and enter to G submenu.
E submenu: the setting of the hour about first alarm clock.
Press button S2 and plus 1 .After adjusting well, press S1 for a short time to save and exit this
submenu and enter to F submenu.
F submenu: the setting of the minute of the first alarm clock.
Press button S2 and plus 1 .After adjusting well, press S1 for a short time to save and exit this
submenu and enter to G submenu.
G submenu: the switch of second alarm clock
Default status is on .Press S2 to switch between ON and OFF about the second alarm clock. If
setting on, press S1 for a short time to save and exit this submenu and enter to H submenu. If
setting off, press S1 for a short time to save and exit this submenu and enter to the interface of
hour directly.
H submenu: the setting of the hour about second alarm clock.
Press button S2 and plus 1 .After adjusting well, press S1 for a short time to save and exit this
submenu and enter to I submenu.
I submenu: the setting of the minute about second alarm clock.
Press button S2 and plus 1 .After adjusting well, press S1 for a short time to save and exit this
submenu and enter to the interface of hour.
The second calibration:
Press S2 for a short time when on the interface of hour then enter the interface of second on
minute. Press S2 for a long time can switch second to zero. When the second becomes zero,
press the S2 for a short time twice can look that whether the second is accurate or not
Debugging: When the clock is first powered, use tweezer to let manual reset point of RET
become short circuit and the hour will begin to go normally.
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
www.icstation.com
- 3 -
4. Schematic circuit diagram
1 2 3 4 5 6
A
B
C
D
6 5 4 3 2 1
D
C
B
A
Title
Number Revision Size
B
Date: 22-Jun-2013 Sheet of
File: F:\ 1\ 1 .Ddb Drawn By:
RET
1
RXDP3.0
2
TXDP3.1
3
INT0 P3.2
6
INT1 P3.3
7
T0 P3.4
8
T1 P3.5
9
P3.7
11
X1
4
X2
5
GND
10
P1.1 A1(+)
13
P1.0 A1(-)
12
P1.2
14
P1.3
15
P1.4
16
P1.5
17
P1.6
18
P1.7
19
VCC
20
U1
89C2051
R6
10K
R1
10K
12345678
J2A
1
2
3
4
5
6
7
8
J1A
Y1
12M
C2
30P
C3
30P
Q5
8550
Q4
8550
Q3
8550
Q2
8550
Q1
8550
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.7
LS1
5V
P3.3
A
B
C
D
E
F
G
DP
R2
10K
R3
10K
R4
10K
P3.0 P3.1 P3.2 P3.7 H1 H2 H3 H4
H
1
H
2
H
3
H
4
P
3
.
4
P
3
.
5
D2
1N60P
D1
1N60P
R5
10K
BT1
3V
5V 5V
1
2
J3
CON2
C1
104
5V
RET
1
2
3
4
5
6
7
8
J2B
1
2
3
4
5
6
7
8
J1B
S2
S1
EDVCP
B A V
F
G
DS1
EDVCP
B A V
F
G
DS2
EDVCP
B A V
F
G
DS4
EDVCG
B A V
F P
DS3
B
A
F
G
P
C
D
E
A
B
C
D
E
F
G
P
H1 H2 H3 H4
H4
H3
H2
H1
R1
R2
R3
R4
R5
R6
R7
R8
BOT
TOP
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
w
w
w
.
i
c
s
t
a
t
i
o
n
.
c
o
m
www.icstation.com
- 4 -
5. Components list
Notes of installation: The third digital tube DS3 should be installed inversely (the decimal point
should be up.
Name Specification Number Quanti
ty
Name Specifi
cation
Number Quan
tity
resista
nce
470R R1R8(TOP
board)
8 Digital
tube
1 inch,
same
anode
DS1DS
4
4
10K R1R6(BOT
board)
6 Tact
Switch
6*6*5 S1 S2 2
capacit
ance
30P C2 C3 2 Female
Header
Connector
BOT
8PIN J1A J2A 2
104P C1 1 Pin
Header
TOP
8PIN J1B J2B 2
diode 1N60P D1 D2 2 DC base 3.5MM J3 1
audion S8550 Q1Q5 5 power line USB
switch
to DC
1 1
crystal
oscillat
or
12MHz Y1 1 copper
cylinder
M3*11+
6
4 4
buzzer 5V power
supply
LS1 1 screw M3*6 4 4
MCU AT89C2051 U1 1 nut M3 4 4
IC
socket
20PIN U1 1 PCB Double
-side
TOP
board
108*36m
m
1
battery
holder
CR2025 BT1 1 One-si
de BOT
board
108*36m
m
1
battery CR2025 BT1 1 Instruction

Вам также может понравиться