Smoke Detector Hardware Setup – Tinkerforge

- Getting Started
  - Primer
  - Tutorials
  - FAQ
- Hardware
  - Bricks
  - Bricklets
  - Master Extensions
  - Power Supplies
  - Accessories
  - Timeline
- Software
  - Brick Daemon (brickd)
  - Brick Viewer (brickv)
  - API Bindings
  - Firmwares and Plugins
  - Device Identifier
  - Source Code and Bug Tracking
  - Programming Interface
- Starter Kits
  - Weather Station
  - Hardware Hacking
    - Features
    - Description
    - Technical Specifications
    - Resources
    - Required Tools
    - Firmware updating and first tests
    - How it works
    - Hardware Hacking for Beginners
    - Examples
      - Control Mains Switches Remotely
      - Read out Smoke Detectors
        - Hardware Setup
          - The innards of the Smoke Detector
          - Soldering Wires to the LED and its Series Resistor
        - Using C/C++
        - Using C#
        - Using Delphi/Lazarus
        - Using Java
        - Using PHP
        - Using Python
        - Using Ruby
        - Using Visual Basic .NET
      - Control Garage Doors Remotely
      - Is someone at the Door? - Doorbell Notifier
  - Server Room Monitoring
  - Blinkenlights
  - Internet of Things
  - Camera Slider
- Embedded Boards
  - Raspberry Pi
- Specifications
  - Technical Data
  - TCP/IP Protocol
  - Modbus Protocol
  - Wireshark Dissector

# Smoke Detector Hardware Setup

Typically a smoke Detector is equipped with one or more LEDs that signal the state. The number and behavior of the LEDs will depend on the used model.

In this example we use an ELRO FA20RF/2 smoke detector. This smoke detector is wirelessly interconnectable. That means, you can put a smoke detector in different rooms and if smoke is detected, all of the smoke detectors will start making noise.

This is perfect for our hacking purposes. We can hack one of the smoke detectors and place it next to the PC. It will be triggered by the other smoke detectors that are scattered throughout the house and we can read out its state.

## The innards of the Smoke Detector

The ELRO FA20RF/2 has two LEDs next to the "TEST" and "LEARN" buttons.

If we start a test alarm, we can see that the LED on the right side blinks green every time an alarm is triggered.

Now that we have located an LED that represents the state we want to read out, we can open the casing of the detector. In our case it looks like the following:

The LED in question is the transparent LED on the top right. It is a two-color LED and it can blink green as well as red. We will have to find the pins that control the green color of the LED.

Since the LED is of through-hole type (not SMD), the contacts are only exposed at the bottom.

We have to remove the screws to get to the other side of the circuit board.

The three solder pads at the top, left to the red sticker belong to the LED. We will have to solder wires to them.

## Soldering Wires to the LED and its Series Resistor

See here for a basic soldering tutorial and here for instructions how you can find the correct pins of the LED and its series resistor.

In case of the ELRO FA20RF/2 the transparent LED consists in fact of two LEDs (one green and one red) in one casing. Both LEDs have one common pin (center) and one individual pin (pin left, right). To light the green LED the left pin is used.

We solder one wire to the center pin of the LED and trace the circuit from the left pin until we find the resistor (marked in red). The cable is soldered behind this resistor.

After that we can screw the circuit board back to the casing. We connect the wires to the + and - of port 0 of the Industrial Digital In 4 Bricklet. We can check if the polarity is correct later with the Brick Viewer.

Now we can test the hacked smoke detector. To do that, we press the test button. The reaction of the LED should be represented in the Brick Viewer.

If the state of the input does not change in Brick Viewer the wires are most likely reversed. In this case you have to swap them.

The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.