예술
뷰티 및 웰니스
공예
문화 및 역사
엔터테인먼트
환경
음식 및 음료
역공학
과학
스포츠
기술
웨어러블
Logic Gates from Relays
Ed

작성자

Ed

27. 8월 2026FI
51
0
0
0
0

Logic Gates from Relays

A relay is a switch operated by an electromagnet, invented to repeat telegraph signals over long lines and already in this catalogue for that purpose. It has one property its inventors had no reason to care about: because a relay is a switch that ELECTRICITY operates, the output of one relay can operate the next. That is the whole of digital logic. Claude Shannon noticed in 1937, in a master’s thesis usually called the most important of the century, that a network of such switches behaves exactly like Boolean algebra — series contacts are AND, parallel contacts are OR, and a normally-closed contact is NOT. Suddenly a body of mathematics from 1854 became a design method for circuits, and circuit design stopped being intuition and became algebra you could simplify on paper before touching a soldering iron.
중급
5 hours 30 minutes

안내

1

Start from the telegraph relay

Build or re-read the relay first. It was invented to solve a completely different problem — a telegraph signal too weak to travel further, restored by using it to operate a local switch on a fresh battery.

Note the property that matters here and mattered not at all to its inventors: the thing that operates the switch is the same KIND of thing the switch controls. A lever needs a hand; a relay needs only another relay. That closure under composition is what makes logic possible, and it was sitting unused in telegraph offices for eighty years.

2

Wire AND, OR and NOT from contacts

Three circuits, and every digital device ever built is made of them.

  1. AND: wire two relay contacts in SERIES between supply and lamp. The lamp lights only if both coils are energised.
  2. OR: wire two contacts in PARALLEL. The lamp lights if either coil is energised.
  3. NOT: use a normally-CLOSED contact. The lamp lights when the coil is NOT energised.
  4. Build all three and fill in a truth table for each by trying every input combination.

Series is AND, parallel is OR, normally-closed is NOT. That is Shannon's entire correspondence, and it is worth pausing on how unreasonable it is that a topology of wires should match an algebra of propositions.

Now the payoff: because it IS algebra, you can simplify circuits symbolically. De Morgan's laws say NOT(A AND B) equals NOT A OR NOT B — which means the same function can be built two different ways, and you pick whichever needs fewer contacts. Engineers had been optimising relay circuits by intuition; after 1937 they optimised them by algebra.

이 단계의 재료:

계전기계전기4 개
표시등 LED 세트표시등 LED 세트1 세트
저항 키트저항 키트1 키트
만능 기판만능 기판1 개
배선용 전선배선용 전선1 reel

필요한 도구:

납땜 스테이션납땜 스테이션
실험실급 디지털 멀티미터실험실급 디지털 멀티미터
가변 실험용 전원 장치가변 실험용 전원 장치
투명 보안경투명 보안경
3

Build the same logic as blocks

Blockly 작업 공간

Loading Blockly workspace...

필요한 도구:

데스크톱 컴퓨터데스크톱 컴퓨터
4

Simulate, simplify, and count the contacts

Jupyter 노트북 불러오는 중…

필요한 도구:

데스크톱 컴퓨터데스크톱 컴퓨터
5

Measure the switching time, and find the ceiling

Relay logic works perfectly and is slow. Measure exactly how slow, because that number ends the era.

  1. Drive a relay coil with a square wave and put the oscilloscope on both the drive and the contact output.
  2. Measure the delay from coil energising to contacts closing, and again for release.
  3. Watch the contact closure closely at high sweep speed.
  4. Chain three relays so each drives the next, and measure the total delay.

A relay takes something like 5 to 20 milliseconds to switch, and the contacts BOUNCE for a millisecond or two after closing. Chain them and the delays add, so a computation passing through fifty gates takes most of a second.

The bounce is its own problem: a single logical transition arrives as a burst of several, and any counter downstream counts them all. Debouncing exists because a mechanical contact does not close once.

So the ceiling is mechanical, not logical. The algebra is fine and the relay is honest; it simply has mass, and mass takes time to move. The escape is a switch with no moving parts at all — the vacuum tube, which switches in microseconds, and then the transistor, which does it without the heat. That is the rest of this batch.

이 단계의 재료:

계전기계전기3 개
저항 키트저항 키트1 키트

필요한 도구:

오실로스코프오실로스코프
함수 발생기함수 발생기
실험실급 디지털 멀티미터실험실급 디지털 멀티미터
가변 실험용 전원 장치가변 실험용 전원 장치

재료

5
  • 플레이스홀더
  • 플레이스홀더
  • 1 키트
    2 vendors sell this, none ship to you yet
    플레이스홀더
  • 플레이스홀더
  • 플레이스홀더

필요 도구

7

관련 블루프린트

이 블루프린트들은 지식을 공유합니다 — 기술, 재료 또는 원리

CC0 퍼블릭 도메인

이 블루프린트는 CC0로 공개되었습니다. 어떤 목적으로든 자유롭게 복사, 수정, 배포 및 사용할 수 있습니다.

제품 구매를 통해 메이커를 지원하세요. 판매자가 설정한 메이커 커미션 을 받거나, 이 블루프린트의 새로운 반복을 만들어 연결로 포함시킬 수 있습니다.

토론

(0)

로그인 하여 토론에 참여하세요

댓글 로딩 중...