JPH02181782A - How to light up 7 segment element group - Google Patents

How to light up 7 segment element group

Info

Publication number
JPH02181782A
JPH02181782A JP64000969A JP96989A JPH02181782A JP H02181782 A JPH02181782 A JP H02181782A JP 64000969 A JP64000969 A JP 64000969A JP 96989 A JP96989 A JP 96989A JP H02181782 A JPH02181782 A JP H02181782A
Authority
JP
Japan
Prior art keywords
element group
digit
key
segment element
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP64000969A
Other languages
Japanese (ja)
Inventor
Kazuhiko Ohira
大平 和彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP64000969A priority Critical patent/JPH02181782A/en
Publication of JPH02181782A publication Critical patent/JPH02181782A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、少ないボートで7セグメント素子を駆動でき
るようにした点灯方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a lighting method that enables driving a 7-segment element with a small number of boats.

〔従来の技術〕[Conventional technology]

7セグメント素子(LED)を複数並べて構成した7セ
グメント素子群(デジタル表示器)を点灯表示する方式
として、スタティック点灯方式とダイナミック点灯方式
がある。
There are static lighting methods and dynamic lighting methods as methods for lighting and displaying a 7-segment element group (digital display) configured by arranging a plurality of 7-segment elements (LEDs).

スタティック点灯方式は、各デジット(桁ニアセグメン
ト素子単体)を常時点灯させる方式であり、マイコン(
マイクロコンピュータ)回路で採用した場合、ソフトウ
ェア、ハードウェア共に負担が軽くなるが、各デジット
毎にデコーダが必要となり、各セグメント毎に表示用デ
ータ線及びデジット選択線が必要となるという欠点があ
る。
The static lighting method is a method in which each digit (single digit near segment element) is constantly lit, and the microcomputer (
When adopted in microcomputer (microcomputer) circuits, the burden on both software and hardware is reduced, but there are disadvantages in that a decoder is required for each digit and a display data line and digit selection line are required for each segment.

一方、ダイナミック点灯方式は、共通の表示用データ線
に対して各デジットをすべて並列に接続して、デジット
選択線のスキャンデータによりデジットを順次選択して
速い周期で点灯させるもので、その表示用データ線が1
バスのみで済むという利点がある。この方式ではある瞬
間には1個のデジットだけが点灯しているのみであるが
、目の残像効果により、点灯周期が50tlz以上では
チラッキなく表示させることができる。通常は、100
KH2以上に設定される。
On the other hand, in the dynamic lighting method, all digits are connected in parallel to a common display data line, and the digits are sequentially selected using scan data on the digit selection line and lit at a fast cycle. data line is 1
The advantage is that you can only use the bus. In this method, only one digit is lit at a certain moment, but due to the afterimage effect of the eye, it is possible to display without flickering when the lighting cycle is 50 tlz or more. Usually 100
Set to KH2 or higher.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、このダイナミック点灯方式でも、各デジット
を順次選択するデジット選択線は各デジット毎に1本づ
つ必要である。そして、このデジット選択線に対しマイ
コンからスキャンデータを送出する必要がある。
However, even with this dynamic lighting method, one digit selection line is required for each digit to sequentially select each digit. Then, it is necessary to send scan data from the microcomputer to this digit selection line.

従って、従来では、マイコンにデジット選択データ送出
用のデジットスキャンボートが必ず必要であった。
Therefore, conventionally, the microcomputer always required a digit scan port for sending digit selection data.

本発明はこのような点に鑑みてなされたものであり、そ
の目的は、マイコンにデジットスキャンボートを設ける
必要がないようにすることである。
The present invention has been made in view of these points, and its purpose is to eliminate the need for providing a digit scan board in a microcomputer.

〔課題を解決するための手段〕[Means to solve the problem]

このために本発明は、ダイナミック読み込み方式のキー
マトリクス部とダイナミック点灯方式の7セグメント素
子群とを具備するマイクロコンピュータにおいて、上記
キーマトリクス部用のキースキャン用出力線の信号を上
記7セグメント素子群のデジット選択端子に入力するよ
うにした。
To this end, the present invention provides a microcomputer equipped with a dynamic reading type key matrix section and a dynamic lighting type 7 segment element group, in which a signal of a key scan output line for the key matrix section is transmitted to the 7 segment element group. input to the digit selection terminal.

〔実施例〕〔Example〕

以下、本発明の実施例について説明する。第1図はその
一実施例の回路を示す図である。1はマイコンで、その
ボートに対してキーマトリクス2と7セグメント素子群
3が接続されている。キーマトリクス2に対しては、キ
ー状態読み込み用ボートpASPI 、PCとキースキ
ャン用ボートP。
Examples of the present invention will be described below. FIG. 1 is a diagram showing a circuit of one embodiment. Reference numeral 1 denotes a microcomputer, to which a key matrix 2 and a 7-segment element group 3 are connected. For key matrix 2, there is a key state reading boat pASPI, a PC, and a key scanning boat P.

〜PI?が接続されている。なお、両ポートから出力す
る線の交差点にダイオード21とキースイッチ22によ
り、キ一部が設けられている。一方、7セグメント素子
群3に対しては、表示データ出力用ボートPzl−Pt
rが各デジットに対して並列に接続されている。4.5
はボートPz〜PI?に続けて従属接続されたインバー
タであり、その後段のインバータ5の出力が、7セグメ
ント表示素子群3の各デジット31〜37のデジット選
択端子に接続されている。これがデジットスキャン用と
なる。
~PI? is connected. Note that a key portion is provided by a diode 21 and a key switch 22 at the intersection of the lines output from both ports. On the other hand, for the 7-segment element group 3, the display data output port Pzl-Pt
r are connected in parallel to each digit. 4.5
Is the boat Pz~PI? The output of the inverter 5 at the subsequent stage is connected to the digit selection terminal of each digit 31 to 37 of the 7-segment display element group 3. This is for digital scanning.

第2図はキー押下読み込みと7セグメント表示素子群3
の点灯表示とを同時に行う場合のフローチャートである
。
Figure 2 shows key press reading and 7 segment display element group 3.
12 is a flowchart in the case where the lighting display and the lighting display are performed at the same time.

まず、ボートP z= P 17のすべてに“H”を出
して(S1)、ボートPA、PR,PCにもa HII
を出しくS2)、キーマトリクス2をリセットする。そ
して次に、ボートPz+〜Pg?にデジット31用の表
示データを出力する(S3)。次に、キースキャンボー
トについては、ボートP、に“L″を出すと共に他のボ
ートPlz〜Pl’lに”H”を出す(S4)。そして
、ボートp、 、pm 、pcの論理状態を読み込めば
、ボートPI+のライン上の押下されているキーに対応
するボートがL′″となるので、その押下されている(
オンとなっている)キーを検出することができる。
First, send "H" to all boats P z = P 17 (S1), and also send a HII to boats PA, PR, and PC.
S2) and reset the key matrix 2. And next, boat Pz+~Pg? Display data for digit 31 is output to (S3). Next, regarding the key scan boat, "L" is output to the boat P, and "H" is output to the other boats Plz to Pl'l (S4). Then, if you read the logical states of boats p, , pm, and pc, the boat corresponding to the pressed key on the line of boat PI+ will be L''', so the pressed key (
keys that are turned on) can be detected.

また、上記ステップS3により出力したキースキャン用
データは、インバータ4で反転され、インバータ5で更
に反転されて、元の論理で7セグメント表示素子群3に
デジットスキャンデータとして加わる。
Further, the key scan data output in step S3 is inverted by the inverter 4, further inverted by the inverter 5, and added to the 7-segment display element group 3 as digit scan data in the original logic.

このときは、7セグメント表示素子群3においては、デ
ジット選択データは、デジット31が“L。
At this time, in the 7-segment display element group 3, in the digit selection data, the digit 31 is "L".

デジット32〜27がH′となるので、ボートPal〜
P2’Tから出力する表示データに基づく点灯表示が、
デジット31で行われることになる。
Since digits 32 to 27 are H', the boat Pal~
The lighting display based on the display data output from P2'T is
This will be done with digit 31.

次に、ボートP、〜P1□のすべてに“H”を出して(
S6)、再度のリセットを行った後、ボートP21〜P
2?にデジット32の表示用データを出力する(S7)
。次に、キースキャン用ポートのP2□を“Ll、P2
1、pza〜P27をH“にする(S8)。そして、こ
の状態でボートP22のライン上のキーの状態をボート
PA、、Pa 、Pcで読み込む。このとき7セグメン
ト表示素子群3においてはデジット32がキースキャン
データによって選択されるので、そのデジット32の点
灯表示が行われる。
Next, put “H” on all boats P, ~P1□ (
S6), after resetting the boats P21 to P
2? Output the display data of digit 32 to (S7)
. Next, set P2□ of the key scan port to “Ll, P2
1. Set pza to P27 to H" (S8). Then, in this state, the states of the keys on the line of boat P22 are read by boats PA, , Pa, and Pc. At this time, in the 7-segment display element group 3, the digit Since digit 32 is selected by the key scan data, the digit 32 is displayed as being illuminated.

以降、上記の動作の繰り返しにより、キースキャンと7
セグメントのデジットスキャンが同期して行われる。
After that, by repeating the above operation, key scan and 7
Digit scanning of segments is performed synchronously.

なお、本実施例では7セグメント素子群3の各デジット
31〜37の吐出電流が比較的大きいのでインバータ4
.5を使用して、その電流を吸込むようにしたが、少な
い場合或いはボートpz〜PITが充分な電流吸込み能
力を有する場合には、そのインバータ4.5は不要であ
る。
In this embodiment, since the discharge current of each digit 31 to 37 of the 7-segment element group 3 is relatively large, the inverter 4
.. The inverter 4.5 is used to sink the current, but if the current is small or if the boat pz~PIT has sufficient current sinking ability, the inverter 4.5 is not necessary.

また、上記実施例では7セグメント素子にLEDを使用
したが、LCD (液晶表示素子)や螢光表示管を使用
することもできることは勿論である。
Further, in the above embodiment, an LED is used as the seven segment element, but it goes without saying that an LCD (liquid crystal display element) or a fluorescent display tube can also be used.

更に、上記で説明した論理は反対にすることもできるこ
とも勿論である。例えば、7セグメント素子群3の極性
が反対の場合は、インバータは1個にすれば良い。
Furthermore, it will be appreciated that the logic described above can also be reversed. For example, if the polarities of the seven segment element group 3 are opposite, the number of inverters may be one.

〔発明の効果〕〔Effect of the invention〕

以上のように本発明では、キースキャンボートからのキ
ースキャンデータにより7セグメント表示素子群のデジ
ットをスキャンするようにしたので、そのデシントスキ
ャン用のボートを省略することができるという大きな特
徴がある。
As described above, in the present invention, since the digits of the 7-segment display element group are scanned using the key scan data from the key scan boat, a major feature of the present invention is that the digit scan boat can be omitted. .

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の回路図、第2図は動作説明
用のフローチャートである。 1・・・マイコン、2・・・キーマトリクス、3・・・
7セグメント表示素子群、4.5・・・インバータ。 PA、pH,、PC・・・キー状態読み込み用ポート、
P、〜P1..・・・キースキャン用ボート、pzt〜
P27・・・表示データ出力用ボート。 代理人 弁理士 長 尾 常 明 第2 図 リセット リセット リセット
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 is a flowchart for explaining the operation. 1... Microcomputer, 2... Key matrix, 3...
7 segment display element group, 4.5...inverter. PA, pH, PC...port for reading key status,
P, ~P1. .. ...Key scanning boat, pzt~
P27...Boat for display data output. Agent Patent Attorney Tsuneaki Nagao Diagram 2 Reset Reset Reset

Claims (2)

【特許請求の範囲】[Claims] (1)、ダイナミック読み込み方式のキーマトリクス部
とダイナミック点灯方式の7セグメント素子群とを具備
するマイクロコンピュータにおいて、上記キーマトリク
ス部用のキースキャン用出力線の信号を上記7セグメン
ト素子群のデジット選択端子に入力したことを特徴とす
る7セグメント素子群の点灯方法。
(1) In a microcomputer equipped with a key matrix section using a dynamic reading method and a 7-segment element group using a dynamic lighting method, the signal of the key scan output line for the key matrix section is used to select the digits of the 7-segment element group. A method for lighting a 7-segment element group, characterized in that input is input to a terminal.
(2)、上記キースキャン出力線の信号を2段のインバ
ータを介して上記デジット選択端子に接続したことを特
徴とする特許請求の範囲第1項記載の7セグメント素子
群の点灯方法。
(2) A method for lighting a 7-segment element group according to claim 1, characterized in that the signal of the key scan output line is connected to the digit selection terminal via a two-stage inverter.
JP64000969A 1989-01-06 1989-01-06 How to light up 7 segment element group Pending JPH02181782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP64000969A JPH02181782A (en) 1989-01-06 1989-01-06 How to light up 7 segment element group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP64000969A JPH02181782A (en) 1989-01-06 1989-01-06 How to light up 7 segment element group

Publications (1)

Publication Number Publication Date
JPH02181782A true JPH02181782A (en) 1990-07-16

Family

ID=11488455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP64000969A Pending JPH02181782A (en) 1989-01-06 1989-01-06 How to light up 7 segment element group

Country Status (1)

Country Link
JP (1) JPH02181782A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544922A (en) * 2012-07-09 2014-01-29 凌通科技股份有限公司 Liquid crystal display and keyboard scanning compatible circuit and electronic products using it

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544922A (en) * 2012-07-09 2014-01-29 凌通科技股份有限公司 Liquid crystal display and keyboard scanning compatible circuit and electronic products using it
CN103544922B (en) * 2012-07-09 2015-11-18 凌通科技股份有限公司 Liquid crystal display and keyboard scanning compatible circuit and electronic products using it

Similar Documents

Publication Publication Date Title
CN1160688C (en) Liquid crystal drive circuit and liquid crystal display device
JP2017125903A (en) Signal supply circuit and display device
JPS6156397A (en) Color liquid crystal display unit
CN1728229B (en) Display Driver Circuit with Grayscale Voltage Amplifier with Variable Driving Capability
KR900016934A (en) Many color display method and device
JPH08286635A (en) Display device
JPH0473928B2 (en)
JPS6012579A (en) Display driving system
JPS604988A (en) Image display
JP2527484B2 (en) Display device
JPS63188193A (en) Liquid crystal driving circuit
JP2791415B2 (en) LCD drive system
KR890004227A (en) Vacuum Fluorescent Display Device Control Circuit and Control Method in Base Program
JPS63292193A (en) Display device
KR970007667B1 (en) Line status display apparatus of digital keyphone system
JPH0553527A (en) Display controller
KR20000018348A (en) 7 segments display driving apparatus
SU1275524A1 (en) Device for displaying information on screen of matrix display panel
KR900002793B1 (en) Video pattern selecting circuit for crt display of picture and character
JPH0311473B2 (en)
JPS5893097A (en) color switching circuit
JPH0693183B2 (en) Display control circuit of display device
JP3192305B2 (en) Drive control circuit device for display device
JPH05165425A (en) Liquid crystal display board controller
JPH09281924A (en) Drive device