e004054.pdf
(
1577 KB
)
Pobierz
005060-UK Velleman klok
GENERAL
INTEREST
Multifunctional clock
A large display and many features
Design © 1999 Velleman N. V.
Thanks to a built-in microprocessor, this clock has a wide range of features
and settings. The six large figures of its display, which is made up of many
3-mm LEDs, it can be clearly read at a distance. And you can operate it
with a two-button remote control unit.
Features
• 6 large display characters, each 36 mm high
• displays time, date and temperature, either alternately or con-
tinuously
• H:M:S: chronometer with lap time indicator
• countdown function to a presettable date, with alarm output
• double scoreboard function (0 – 199)
• random number generator (0 – 99)
• double dice
• mutable acoustical hour signal
• counter function (up or down, 0 – 99)
• relay output for time and temperature alarms
• European or American display format for date, time and tem-
perature
• wireless remote control for all functions
• connections for a backup battery
• temperature range –20 to +70 °C (resolution 1 °C) or 0 to
+150 °F (resolution 2 °F)
• power supply 12 V/300 mA (mains adapter)
54
Elektor Electronics
4/2000
GENERAL
INTEREST
VL
VL
R15
47k
D3
1N4148
T23
+ RED
BUZ1
E2
SV4-12S
VR1
D8
1N4148
SK1
SW
UA78L05
BC557
R42
10k
T7
9V
D1
5V
BATTERY
C19
1µ 16V
BC547C
1N4007
R40
R17
R16
C3
100n
C4
100n
C21
1µ
16V
D4
VL
INPUT
– BLACK
12VDC/200mA
VR
BAT85
R9
ZD2
C22
ZD6
C18
100µ
16V
C16
100n
D2
D5
T17
VL
SK3
VDD
3V3
R4
4k7
NO
1N4148
BAT85
D6
VL
RY1
470µ 25V
9V1
R1
100k
T1
D9
R54
ZD1
BC557
E1
R11
SK2
1N4148
LD13
2
B
C547C
C
1N4148
T18
6V2
VR3D121C
3V6
R12
4k7
OUT
VR
RELAY
OUTPUT
C13
VL
D7
R43
10k
T8
R10
100k
T2
R49
16
BC557
R60
2p2
R20
C5
100n
R57
6M8
1N4148
C20
1µ 16V
BC547C
11
B
C547C
R41
9
T19
R62
18k
R58
6k8
C17
6
R19
4k7
CTRDIV10/
7
2
DEC
3
C14
82p
R59
1
VR
0
VL
1µ
16V
IC6a
9
R18
100k
C15
330p
8
T3
3
IC5
BC557
R33
14
7
R63
&
3
SK4
+
6
5
B
C547C
R61
CV2
13
4
T20
2
R32
4k7
C10
22p
L2
2
RECEIVER
ADJUST
C
1
CD4017
1
VL
5p
R64
5
R31
100k
T4
T24
VR
15
CT=0
4
10
BC557
R36
C12
1p
12
CT
≥
5
B
C547C
T21
5
R37
4k7
R58
R55
8
7
BF199
VR
IC6b
VL
C11
330p
6
R53
R51
15.625ms
GND
R36
100k
T5
L1
1µH
BC557
R46
R65
R66
ZD4
ZD5
B
C547C
8
red
rot
rood
rouge
T22
IC6
LD131
R47
4k7
4
4V3
5V1
REC
R39
100k
T6
BC557
IC6 = LM258; RV4558
B
C547C
ZD3
R52
4V7
ADDRESS SELECTION
MOUNT JC1 OR JC2 OR LEFT OPEN
LD1
LD2
LD22
LD23
LD24
LD45
LD46
LD47
LD66
LD67
LD68
LD89
LD90
LD91
LD110
LD111
LD112
LD3
4
14
R2
270
Ω
MCLR
18
18
JC1
R14
100k
T9
BC547C
R5
270
Ω
LD4
LD5
LD25
LD26
LD27
LD48
LD49
LD50
LD69
LD70
LD71
LD92
LD93
LD94
LD113
LD114
LD115
A1
1
2
3
4
5
6
7
8
9
A1
1
2
3
4
5
6
7
8
9
16
RX IN
A2
A3
A4
A5
A6
A7
A8
A9
16
RX IN
A2
A3
A4
A5
A6
A7
A8
A9
JC2
LD6
R48
IC3
R50
IC4
IC2
13
13
RA1
18
R23
100k
T10
BC547C
R34
270
Ω
LD7
LD8
LD28
LD29
LD30
LD51
LD52
LD53
LD72
LD73
LD74
LD95
LD96
LD97
LD116
LD117
LD118
OSC
OSC
17
C8
330p
C9
330p
RA0
LD9
UM3758
UM3758
R45
R44
-120A
-120A
10
11
12
17
10
11
12
17
A10
A11
A12
OUT
A10
A11
A12
OUT
PIC16C71
R30
100k
T15
BC547C
R25
270
Ω
LD10
LD11
LD12
LD31
LD32
LD33
LD54
LD55
LD56
LD75
LD76
LD77
LD98
LD99
LD100
LD119
LD120
LD121
15
MODE
15
MODE
14
14
1
RA2
RB6
12
a
b
c
d
e
f
g
dp
R28
100k
T14
BC547C
R35
270
Ω
LD13
LD14
LD15
LD34
LD35
LD36
LD57
LD58
LD59
LD78
LD79
LD80
LD101
LD102
LD103
LD122
LD123
LD124
3
9
RA4
RB3
6
RB0
10
RB4
5V
RB7
13
RB2
8
7
R29
100k
T16
BC547C
R3
270
Ω
R7
R8
LD16
LD17
LD18
LD37
LD38
LD39
LD60
LD61
LD62
LD81
LD82
LD83
LD104
LD105
LD106
LD125
LD126
LD127
RB1
2
11
AN3
RB5
R66
270k
C1
OSC1
OSC2
R22
100k
T11
BC547C
R21
270
Ω
LD19
LD20
LD21
LD40
LD41
LD42
LD63
LD64
LD65
LD84
LD85
LD86
LD107
LD108
LD109
LD128
LD129
LD130
470p
5
16
15
5
7
3
RV1
500
Ω
R67
100k
IC1
6
2
8
X1
4
1
R26
100k
T12
BC547C
R24
270
Ω
R6
CA3160
R13
C2
470n
CV1
SENS
C6
2p
C7
12p
LD43
LD44
LD87
LD88
22p
TIME
LM335
CALIBRATION
4.194304MHz
R27
100k
T13
BC547C
LD1...LD130, LD132 = CLL30331
005060 - 11
Figure 1. Schematic diagram of the clock, in which a PIC16C715 plays a central role.
Nowadays you can get clocks in all sorts
and sizes, from large to small and ana-
logue or digital. Still, the designer of this
clock has done his best to produce a unit
with number of features that you rarely
encounter in a clock.
A few of the more eye-catching char-
acteristics of this design are the very
large numerals (36 mm high), which are
made up of a number of separate 3-mm
LEDs. Not only can the clock display the
date and time, it can also display the
ambient temperature measured by a sen-
sor. In addition, the clock has an alarm
with a switched output, which can be
connected to other equipment.
The design
As you can see from Figure 1, the heart of the cir-
cuit is the PIC16C715 microcontroller (IC2). This
device is pre-programmed to drive the LEDs, read
in and react to the pushbutton switches, measure
the temperature, drive the relay and buzzer and of
course keep track of the various clock and timer
4/2000
Elektor Electronics
55
GENERAL
INTEREST
states of the circuit.
The LEDs, which are multiplexed, are arranged
in a matrix. One side of the matrix is driven by ports
RB0 through RB7 of the PIC via transistors T9
through T16, while the other side is driven by ports
RA0 and RA1 together with the decade counter IC5
(a 4017), via transistors T1 through T6 and T17
through T22. At each matrix intersection, there are
three LEDs connected in series. Together, these
form one segment of the display. The LEDs used
here are low-current types with a nominal operat-
ing current of 2 mA, so that the multiplexed cur-
rents remain within reasonable limits.
The receiver/demodulator for the wireless
remote control is built around transistor T24 and
works in the ISM section of the 433-MHz band.
The receiver can be tuned to the frequency of the
transmitter (433.92 MHz) by trimmer capacitor
CV2. The demodulated signal is buffered and
amplified by opamp A1. The output signal is offset
by half of the supply voltage level by connecting
the + input of A1 to a voltage at this level. Opamp
A2 works as a comparator that outputs a blocking
voltage if its input signal does not lie above half of
the supply voltage level. In this case, the reception
indicator LED LC131 does not illuminate. Diode
R2
18
LD
1
1
2
3
4
5
6
7
8
9
A1
MODE
15
A2
A3
A4
A5
A6
A7
A8
A9
IC1
R5
16
RX IN
L
BATTERY
OSC
13
12V
C2
UM3758
MPSH10
-120A
1p
10
11
12
T1
A10
A11
A12
R1
330k
R4
330k
TX
17
L1
C3
56p
14
D2
X1
R3
2x
BAT85
C6
C1
C4
D1
470p
100p
4p7
C5
SW2
SW1
X1 = 434MHz
56p
005060 - 12
Figure 2. The remote control transmitter can be built in two versions, either with
or without wires.
Figure 3. The printed circuit board layout is shown here at 60% of its actual size.
56
Elektor Electronics
4/2000
GENERAL
INTEREST
COMPONENTS LIST
ZD6 = zener diode 9V1
T1-T16 = BC547C
T17-T23 = BC557B
T24 = BF199
VR1 = 78L05
SENS = LM335
IC1 = CA3160
IC2 = programmed PIC 16C715
(Velleman order code VK8009)
IC3,IC4 = UM3758
IC5 = CD4017
IC6 = LM258
ZD3 limits this signal so that it cannot exceed the
supply voltage level of the following ICs (IC3 and
IC4). Each of these two ICs decodes one of the two
pushbutton switches of the remote control unit and
activates the microcontroller’s RA4 or RA3 input
respectively. Jumpers JC1 and JC2 can be used to
set your own personal code.
The temperature is measured using the well-
known LM355 sensor from National Semiconduc-
tor. IC1 compares the output voltage of the sensor
to a reference voltage provided by the voltage
divider formed by R7, RV1 and R6. The trimmer
potentiometer RV1 is used to calibrate the mea-
surement. The DC voltage from IC1 is passed to an
8-bit A/D converter contained in the PIC micro-
controller.
The power supply looks a bit complicated, since
there are two different options for backup power for
the clock. You can choose between a rechargeable
NiCd battery (E1) and a 9-V battery (E2).
Diode D1 protects the circuit against a reverse-
polarity connection of the mains adapter. The volt-
age at the cathode of D1 is used directly to supply
the LED matrix, the buzzer and the relay circuit.
This voltage is also reduced to 9 V by the combi-
nation of R17 and ZD6, and this lower voltage is
used to power the receiver stage. The voltage on
the other side of D1 is used to charge the optional
NiCd battery E1 via resistor R16.
Diodes D5, D4 and D6, together with the cir-
cuitry around transistor T23, ensure that the NiCd
battery or the 9-V battery supplies power to the cir-
cuit if the voltage from the adapter is not present.
Make sure that the mains adapter can provide a
voltage of at least 12 V DC. If the voltage is lower
than this, problems may occur in the remote con-
trol receiver circuit.
Transistor T7 drives the buzzer, while T8
switches the relay and the associated indicator
LED LD132.
Resistors:
R1,R10,R14,R18,R22,R23,R26-
R31,R36,R39,R40,R41,R48,R50 =
100k
Ω
R2,R3,R5,R21,R24,R25,R34,R35,R60
= 270
Ω
R4,R12,R19,R32,R37,R47,R52 =
4k
Ω
7
R6,R65 = 5k
Ω
2
R9,R11,R13,R20,R33,R38,R42-
R46,R63,R64 = 10k
Ω
Miscellaneous:
X1 = quartz crystal 4.194304 MHz
BUZ1 = buzzer SV4/12-S (12V DC)
RY1 = relay,12 V, change-over
contact (VR3D121C)
SK1 = supply adaptor connector
SK2 = 2-way pinheader
SK3 = 2-way PCB terminal block
Optional: 9-V-battery with clip-on
wires
2 solder pins
Ω
Ω
R49 = 560
Ω
R55,R56 = 1k
Ω
8
R59,R62 = 18k
Ω
R61 = 33k
Ω
Ω
R67 = 100k
Ω
1%
R68 = 270k
1%
RV1 = 500
Ω
preset vertical mounting
Ω
Transmitter
Inductor:
L1 = 1 µH
Resistors:
R1*,R4* = 33k
Ω
R2* = 47
Capacitors:
C1,C2 = 470pF
C3,C4,C5,C16 = 100nF
C6,C13 = 2pF2
C7 = 12pF
C8,C9,C11,C15 = 330pF
C10 = 22pF
C12 = 1pF
C14 = 82pF
C17,C19,C21 = 1µF 16V radial
C18 = 100µF 16V radial
C20 = 10µF 16V radial
C22 = 470µF 25V radial
CV1 = 22pF trimmer (green)
CV2 = 5pF5 trimmer
Ω
Capacitors:
C1* = 100pF, pitch 5 mm
C2* = 1pF, pitch 2.5 mm
C3*,C5* = 56pF
C4* = 4pF7, pitch 2.5 mm
C6 = 470pF, pitch 5mm
Inductor:
L1* = 1 turn (wire)
Semiconductors:
D1,D2 = BAT85
LD1 = LED 3 mm
T1* = MPSH10
IC1 = UM3758
Semiconductors:
D1 = 1N4007
D2,D3,D6-D9 = 1N4148
D4,D5 = BAT85
LD1...LD132 = low-current-LED
red, 3 mm (L-934LID)
ZD1 = zener diode 6V2
ZD2 = zener diode 3V3
ZD3 = zener diode 4V7
ZD4 = zener diode 4V3
ZD5 = zener diode 5V1
Miscellaneous:
X1* = SAW-resonator type SAW433
SW1,SW2 = miniature pushbutton
type KRS0611
2 battery contacts
12-V battery
* only required for wireless version
Figure 4. The remote control transmitter can
be built on this printed circuit board.
4/2000
Elektor Electronics
57
6
R7,R66 = 2k
Ω
7
R8,R16,R51,R53,R54 = 2k
R15 = 47k
Ω
R17 = 150
R57 = 6M
Ω
8
R58 = 6k
Ω
R3* = 220
Ω
R5 = 100k
GENERAL
INTEREST
Operation
The clock and all of its functions are operated by a single control unit with only two
pushbuttons, which are called ‘button 1’ and ‘button 2’ or the left and right buttons,
respectively. Clearly, this means that a menu structure must be used to make it possible
to control all the functions of the clock (see
Figure A
).
SET
This menu item is used to set the date (DATE) and time (HOUR), to select American
or European date format (mm/dd/yy or dd/mm/yy, respectively) and Fahrenheit or Cel-
sius units for the temperature display, and to set the alarm. Two separate submenus
allow you to specify whether the clock should emit an acoustic signal on each hour and
to set the interval for the countdown timer.
The alarm can be triggered in two different ways. The first is when a specific time is
reached (for which no date setting is possible), and the second is when a specific tem-
perature is exceeded. The relay is activated when the alarm is triggered.
Use button 1 to scroll through the menu and button 2 to select a menu item.
– DATE
Button 1 increases the value of the blinking display element, and button 2 selects the
next element.
– HOUR
This is set in the same manner as the date. The seconds display is always held at zero.
The clock starts to run when button 2 is pressed.
– REGION
Button 1 alternately selects American or European display formats (default is Euro-
pean). The American display format is: 12-hour clock, month/day/year, Fahrenheit
degrees; the European format is: 24-hour clock, day/month/year, Celsius degrees.
– AL-SET
Button 1 enables or disables the alarm; the selection must be confirmed by pressing
button 2. If the alarm is enabled, button 1 can then be used to select between time and
temperature as the trigger source, and this must again be confirmed by pressing
button 2. The alarm time is set in the same manner as the time of day. The alarm tem-
perature setting can be increased by pressing button 1, and the setting can be con-
firmed by pressing button 2.
– HRBEEP
Button 1 enables or disables the hour beep. The selection must be confirmed by press-
ing button 2.
– COUNTD
The date for the countdown function is set here, in the same manner as with DATE.
All of the following setup menus are exited by pressing button 1.
DATE
Display the date.
HOUR
Display the time.
DEGREE
Display the temperature in Fahrenheit or Celsius degrees, depending on the selected
date and time format.
005060 - 13
TOGGLE
If this option is selected, the time, date and temperate are displayed in alternating sequence (the date and temperature are displayed for a
shorter interval than the time).
COUNTD
This menu item is used to display the remaining hours, minutes and seconds until the date set using the SET menu. Once this time has
expired, the relay is enabled and a blinking ‘00:00:00’ is displayed. If either of the control buttons is pressed, the relay is disengaged and
the normal time display reappears.
CHRONO
This is a stopwatch function with a resolution of one second. Button 2 starts and stops the chronometer. Pressing button 1 stores a lap
time, which is displayed if button 1 is pressed again. If button 1 is pressed and held for longer than three seconds while the chronometer is
stopped, it is reset.
58
Elektor Electronics
4/2000
Plik z chomika:
TirNaNog
Inne pliki z tego folderu:
bge.jpg
(22 KB)
detail10.htm
(5 KB)
detail1.htm
(5 KB)
detail12.htm
(15 KB)
detail11.htm
(7 KB)
Inne foldery tego chomika:
1974
1975
1976
1977
1978
Zgłoś jeśli
naruszono regulamin