Difference between revisions of "Raspberry Pi"

m (Download)
m (Download)
Line 35: Line 35:
 
| align="center" style="background-color: #F56464;" | Beta
 
| align="center" style="background-color: #F56464;" | Beta
 
| align="center" | [http://www.alarmdecoder.com/downloads/pi/alarmdecoder-raspbian-2014-06-06.zip Download]
 
| align="center" | [http://www.alarmdecoder.com/downloads/pi/alarmdecoder-raspbian-2014-06-06.zip Download]
| align="center" | 2014-05-16
+
| align="center" | 2014-06-06
 
| align="center" | 3a9b11bc6d42fac90173443049d4fb68
 
| align="center" | 3a9b11bc6d42fac90173443049d4fb68
 
| align="left" | Pre-configured with ser2sock & webapp
 
| align="left" | Pre-configured with ser2sock & webapp

Revision as of 13:53, 6 June 2014

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.

Official Raspbian Image

IoT webapp architecture

Changes from Raspbian

Download

Status Link Version MD5 Includes
Stable Download 2014-05-01 0302cf2c27eab5176e8a56bcffc65d83 Pre-configured with ser2sock
Beta Download 2014-06-06 3a9b11bc6d42fac90173443049d4fb68 Pre-configured with ser2sock & webapp

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.)
    • Add dev package needed for compiling ser2sock
      • sudo apt-get install openssl-dev

Build the next IoT device

File:PiGPIO IOT.zip

Default Passwords

Passwords should be changed once you get your device!

SSH/Shell

Login
pi
Password
raspberry

AlarmDecoder WebApp

Login
admin
Password
alarmdecoder