Tricky Circuit

MUX:制御できる交差点

どの信号を通すか選ぶ

MUXはMultiplexerの略、マルチプレクサーです。一つの入力を出力に選びます。選択ビットは経路の制御で、ここでは0がA、1がBを選びます。

インタラクティブな実験を開く

実験台

回路の設定を変え、測定値を予想してから課題を確認しましょう。教材用のモデルで、各レッスンに仮定を説明しています。

ログインして進捗を保存. ゲストの進捗はこの端末に保存されます.

実験室を全画面のウィンドウで開く

動作の仕組み

理想的な二進論理です。0は低、1は高で、測定電圧ではありません。電源、電流、出力負荷、応答の遅れは省略し、図は機能を示してチップの端子配置は示しません。

AとBはデータ、Sは選択、Yは出力です。S = 0でY = A、S = 1でY = Bです。経路を選ぶので、加算や比較ではありません。

難易度
  1. 組み立て · 組み立てる

    A = 1、B = 0、S = 0で通電し、AをY = 1へ送ります。

    ヒントを見る

    A = 1; B = 0; S = 0 → Y = 1

  2. 探究 · 入力を変える

    A = 1、B = 0を保ちS = 1にし、BをY = 0へ送ります。

    ヒントを見る

    A = 1; B = 0; S = 1 → Y = 0

  3. 自力で解く · 課題を解く

    A = 0、B = 1、S = 1にし、BをY = 1へ送ります。

    ヒントを見る

    A = 0; B = 1; S = 1 → Y = 1

追加の読み物と回路レシピ

どの信号を通すか選ぶ

二台のカメラから一台を選ぶと考えましょう。制御は送り元を選び、その送り元が出力内容を決めます。

S = 0 → Y = A; S = 1 → Y = B

データと制御は別の役割です。異なるデータを使うと選択が見えます。

役立つ法則

選ばない入力の変更は出力に影響しません。選んだ入力の変更は影響します。

モデルの外では

AとBが同じなら選択にかかわらず同じ出力です。出力が同じでも経路が同じとは限りません。

避けたい落とし穴

選択ビットは足し込む第三データではありません。デジタルの装置が任意のアナログ電圧を通すとは限りません。

A = 1、B = 0、S = 0。Bだけ1にします。Yは…

  1. 1のまま
  2. 0になる
  3. 足して2になる
詳しく読む

SはAを選び続け、Bは選ばれていません。

組み立てる

A = 1、B = 0、S = 0。Aを選びY = 1です。

Y = 1

入力を変える

データを保ちS = 1にします。Bを選びY = 0です。

Y = 0

別の道を試す

Aを選びBを何度か変えます。Bを選んで繰り返し、いつBが出力へ影響するかを見ます。

ti.com

Temu affiliate offers

Find your next electronics project

Explore these do-it-yourself project kits. Check the selected option, included parts and instructions on each offer.

Tricky Circuit may earn a commission if you buy through these Temu affiliate links. These are product ideas; they have not been bench-tested by Tricky Circuit and are not verified lesson parts lists.

Supplier photo of an assembled infinity mirror light cube illuminated on a dark background.

Supplier product photo

Build an infinity light cube

Listing specifies 5-volt direct current. Soldering required; battery and glue not included.

View kit on Temu

Supplier photo of a breadboard, jumper wires and assorted electronic components in a plastic storage case.

Supplier product photo

Try breadboard experiments

Breadboard, wires and assorted parts. Arduino controller board not included.

View kit on Temu

Supplier photo of an assembled blue surface-mount soldering practice board with a circular ring of small lights.

Supplier product photo

Solder a chasing-light board

Surface-mount soldering practice. Battery and battery holder not included.

View kit on Temu