Raspberry Pi

Revision as of 23:29, 15 April 2018 by 204.10.16.28 (Talk)

AD2PI

There are several ways to start using your AlarmDecoder with the Raspberry Pi. While you can use all of the AlarmDecoder products with the Raspberry Pi, the AD2PI was specifically designed to interface with it directly. If you're attempting to connect an AD2USB or an AD2SERIAL please follow the standard Linux instructions here.

There are a couple of steps involved with getting your AD2PI and Raspberry Pi talking to each other. We've done all the initial footwork and highly recommend downloading the modified Raspbian image below and flashing it as described here. If you intend to go with another distribution, or just want to do it yourself, then follow the instructions here to start using your device.

AD2PI Bundle

Official Raspbian Image

Changes from Raspbian

Download

Status Link Version MD5 Includes
Stable Download 2016-04-29 ce5a33fe64535b8ecf526e6e5c9bf356 Pre-configured with webapp. Supports the Raspberry Pi Model B, B+ and B2, and B3. Wifi and Bluetooth are both functional on the Pi 3.
Beta Download 2018-04-15 472f6cf18d61c22bc78a3dcc34f8028e 2018-04-15 updated fixup_cd.dat, fixup.dat, fixup_db.dat, fixup_x.dat, start_cd.elf, start_db.elf, start.elf, start_x.elf, AlarmDecoder 1.13.3, AlarmDecoder-webapp 0.8.1 (needs testing)

Manual Configuration

  1. Flash the SD card with your choice of OS as described here.
  2. Boot up the Raspberry Pi.
  3. Remove the following entries from /boot/cmdline.txt:
    • console=ttyAMA0,115200
    • kgdboc=ttyAMA0,115200
  4. Remove the following line from /etc/inittab:
    • T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
  5. Sync and halt your Raspberry Pi.
  6. Attach the AD2PI.
  7. Boot it up again.
    • At this point you should be able to communicate with the device at /dev/ttyAMA0.
  8. Install any optional software (ser2sock, Python library, etc.)

Default Passwords

Passwords should be changed once you get your device!

SSH/Shell

Login
pi
Password
raspberry

AlarmDecoder WebApp

Login
admin
Password
alarmdecoder

AD2PI case assembly

File:Case assembly doc.pdf