Controlling 7-segment LED display without any 7-segment decoders (Driver IC).
Bottom LEDs are used in place of basic-diodes (they were not in stock!)
Switches and LEDs on the left indicate a binary digit, which is then converted into a decimal number on the 7-seg display.
The right-sided switch & LEDs are for Power.
Orange - OFF
Green - ON
(Used Parts)
Orange LED x 1
Green LED x 21
150 OHM 1/4W Carbon Resistance x 15
Push Switch (Alternate Type) x 3
Relay (5V 2A DPDT) x 4
7 Segment LED Display (Cathode Type) x 1
Switched Mode AC/DC Power Supply x 1
(IN:100-240V, 50-60Hz, 0.3A / OUT:5V 2A)
2.1mm DC Plug x 1
Breadboard x 1
and lots of Wires
----------
2進数を入力すると10進数に変えて、デジタル表示するもの。
リレーと抵抗とLEDとスイッチがやたらあるので作ってみた。
数字の部分は「7セグメントLED」っていうらしい。
普通はリレーとかワイヤとかをつかいまくるのではなくて、
「デコーダ」とか「ドライバ」とかいうICを使います。
(今回使ったものと値段と買った場所)
ブレッドボード x 1 (秋月)1枚1,100円
オレンジLED x 1 (秋月)10個200円(@20 高い)
緑LED x 21 (札幌貿易)100個315円(@3.15)
抵抗 x 15 (秋月)100本100円(@1)
スイッチ x 3 (札幌貿易)10個79円(@7.9)
ワイヤ (札幌貿易)全部で498円
リレー x 4 (秋月)1個100円
7セグLED x 1 (秋月)4個100円(@25)
スイッチングACアダプタ x 1 (マルツ電波)1台1554円(高い)
DCジャック x 1 (マルツ電波)1個42円
全部で3,800円くらい。
impressive
PrimisAlpha 8 months ago