合作
艺术
美容与健康
工艺
文化与历史
娱乐
环境
食品与饮料
逆向工程
科学
体育
技术
可穿戴设备
The Fire-Alarm Telegraph: A Box That Sends Its Own Address
Ed

创建者

Ed

27. 九月 2026FI
27
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.
中级
About 3 hours

说明

1

Codes, timing and repetition

正在加载 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);
    }
  }
}

此步骤所需材料:

Arduino Uno R3Arduino Uno R31 个
按钮按钮1 个
压电蜂鸣器压电蜂鸣器1 个
跳线跳线1 个

所需工具:

装有 Arduino IDE 的电脑装有 Arduino IDE 的电脑
面包板面包板
5

Crank, send, count

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.

材料

4
  • 1 个
    1 vendor sell this, none ship to you yet
    占位符
  • 1 个
    14 vendors sell this, none ship to you yet
    占位符
  • 占位符
  • 1 个
    3 vendors sell this, none ship to you yet
    占位符

所需工具

2

CC0 公共领域

此蓝图以 CC0 协议发布。你可以自由复制、修改、分发和使用此作品,无需征得许可。

通过购买蓝图中的产品支持创客,他们将获得 创客佣金 (由供应商设定),或创建此蓝图的新版本并将其作为连接包含在你自己的蓝图中以分享收入。

讨论

(0)

登录 加入讨论

加载评论中...