NGHỆ THUẬT
LÀM ĐẸP VÀ SỨC KHỎE
THỦ CÔNG
VĂN HÓA VÀ LỊCH SỬ
GIẢI TRÍ
MÔI TRƯỜNG
THỰC PHẨM VÀ ĐỒ UỐNG
KỸ THUẬT NGƯỢC
KHOA HỌC
THỂ THAO
CÔNG NGHỆ
THIẾT BỊ ĐEO
The Fire-Alarm Telegraph: A Box That Sends Its Own Address
Ed

Tạo bởi

Ed

27. tháng Chín 2026FI
6
0
0
0
0

The Fire-Alarm Telegraph: A Box That Sends Its Own Address

In a growing city a fire was reported by someone running to the nearest station house, and the alarm was spread by shouting and church bells. By the time the engines knew where to go, the fire had spread. William F. Channing of Boston and Moses G. Farmer of Salem, Massachusetts, received US 17,355, dated 19 May 1857, for "The American Fire-Alarm Telegraph". Signal boxes are placed within a short distance of every house. Turning a box's crank rotates a wheel whose two groups of teeth break the circuit to the central station in a pattern — the district number, then the box number — which the station reads as dots and dashes; the station then strikes the alarm bells in the towers by telegraph. This rung works out how many boxes such a code can name and why it is sent three times, and builds a signal box with an Arduino.
Trung cấp
About 3 hours

Hướng dẫn

1

Codes, timing and repetition

Đang tải sổ tay Jupyter…
2

The line the alarm runs on

The fire alarm used the electric telegraph's circuit and magnet. The embedded blueprint builds Morse's telegraph.
3

Read US 17,355

"The object of the American fire-alarm telegraph is to give an instantaneous and definite alarm, either general or local, in a city or town, in case of fire." The system has signal-stations, a central station, alarm-stations, a signal-circuit and an alarm-circuit. Signal-stations are to be multiplied "in order to place one within a suitable distance of every house." In a signal-station a small bell h is struck by a hammer on the armature-lever of an electro-magnet, and c c′ is "a break-circuit key", worked by a knob or by a circuit-wheel b turned by a crank a. "On the periphery of the circuit-wheel are two groups of teeth": one of short teeth giving "dots", the other of teeth giving a combination of dots and dashes. "The first of these groups may, by the number of its teeth, represent the number of the fire-district in which the signal-station is located. The second group may ... represent the number of the signal-station itself in that district." The crank is weighted so the wheel rests with the circuit closed. Several signal-circuits may radiate "like the petals of a flower from the central station", and threefold or manifold wires lessen "the probability of interruption from accident or design."
4

The signal-box sketch

Press the button and the box sends its district and station numbers as groups of beeps, three rounds, like one turn of the crank. Compiled and run against a simulator: one press gives exactly 24 pulses (3 + 5, three times).
signal_box.inoarduino
// A fire-alarm signal box, after Channing and Farmer's circuit-wheel (US 17,355, 1857).
// Press the button and the box number goes out as two groups of pulses --
// the district, then the station -- three rounds, as one turn of the crank would send it.
const int BUTTON = 2;      // push button to GND (the crank)
const int BUZZER = 8;      // piezo buzzer (the bell at the central station)
const int LED = 13;        // on-board LED shows each pulse
const int DISTRICT = 3;    // first group of teeth
const int STATION = 5;     // second group of teeth
const unsigned long PULSE_MS = 150, GAP_MS = 250, GROUP_MS = 900, ROUND_MS = 2500;

void pulse() {
  digitalWrite(LED, HIGH);
  tone(BUZZER, 880);
  delay(PULSE_MS);
  noTone(BUZZER);
  digitalWrite(LED, LOW);
  delay(GAP_MS);
}

void group(int n) {
  for (int i = 0; i < n; i++) pulse();
  delay(GROUP_MS);
}

void setup() {
  pinMode(BUTTON, INPUT_PULLUP);
  pinMode(BUZZER, OUTPUT);
  pinMode(LED, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  if (digitalRead(BUTTON) == LOW) {
    Serial.print("ALARM box ");
    Serial.print(DISTRICT);
    Serial.print("-");
    Serial.println(STATION);
    for (int r = 0; r < 3; r++) {
      group(DISTRICT);
      group(STATION);
      delay(ROUND_MS);
    }
  }
}

Vật liệu cho bước này:

Arduino Uno R3Arduino Uno R31 cái
Nút nhấnNút nhấn1 cái
Còi áp điệnCòi áp điện1 cái
Dây nốiDây nối1 cái
Bảng cắm mạchBảng cắm mạch1 cái

Công cụ cần thiết:

Máy tính cài Arduino IDEMáy tính cài Arduino IDE
5

Crank, send, count

Không gian làm việc Blockly

Loading Blockly workspace...

6

A signal box that is not heard

Signal-box troubleshooting.

Flow

Loading...
7

History and honest limits

**William F. Channing** of Boston and **Moses G. Farmer** of Salem, assignors to Channing, received US 17,355, dated 19 May 1857, for the American Fire-Alarm Telegraph. **Honest limits.** The pulse timings and drop rates in the notebook are examples; the sketch is a model of the code, not a certified alarm.

Vật liệu

5
  • Arduino Uno R3Hoa hồng 10%
    1 cái
    Magento Legacy Storeships internationally
    từ$26.65
  • Nút nhấnHoa hồng 10%
    1 cái
    Magento Legacy Storeships internationally
    từ$0.51
  • Tạm thời
  • Dây nốiHoa hồng 10%
    1 cái
    Magento Legacy Storeships internationally
    từ$1.59
  • Bảng cắm mạchHoa hồng 10%
    1 cái
    Magento Legacy Storeships internationally
    từ$9.36

Công cụ yêu cầu

1

CC0 Phạm vi công cộng

Bản thiết kế này được phát hành theo CC0. Bạn tự do sao chép, sửa đổi, phân phối và sử dụng cho bất kỳ mục đích nào mà không cần xin phép.

Hỗ trợ nhà sáng tạo bằng cách mua sản phẩm qua bản thiết kế, nơi họ nhận Hoa hồng nhà sáng tạo do nhà bán hàng đặt, hoặc tạo phiên bản mới và kết nối trong bản thiết kế riêng để chia sẻ doanh thu.

Thảo luận

(0)

Đăng nhập để tham gia thảo luận

Đang tải bình luận...