m (204.10.16.29 moved page AD2PI to Raspberry Pi) |
|||
Line 7: | Line 7: | ||
[[File:Ad2pi.png|thumb|AD2PI]] | [[File:Ad2pi.png|thumb|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 [[Getting_Started|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 [http://www.elinux.org/Rpi_easy_sd_card_setup here]. If you intend to go with another distribution, or just want to do it yourself, then follow the instructions [[#Manual Configuration|here]] to start using your device. | ||
+ | |||
+ | ==Official Raspbian Image== | ||
===Changes from Raspbian=== | ===Changes from Raspbian=== | ||
* Disabled serial console so that the device can use it. | * Disabled serial console so that the device can use it. |
Revision as of 15:19, 3 January 2014
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
Changes from Raspbian
- Disabled serial console so that the device can use it.
- Installed ser2sock to expose the AlarmDecoder on your network.
- Installed the AlarmDecoder Python library.
Download
Link | Version | MD5 |
---|---|---|
Download | 2013-12-31 | 9db3460f6818c1f77c9df677abfadf33 |
Manual Configuration
- Flash the SD card with your choice of OS as described here.
- Boot up the Raspberry Pi.
- Remove the following entries from /boot/cmdline.txt:
- console=ttyAMA0,115200
- kgdboc=ttyAMA0,115200
- Remove the following line from /etc/inittab:
- T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
- Sync and halt your Raspberry Pi.
- Attach the AD2PI.
- Boot it up again.
- At this point you should be able to communicate with the device at /dev/ttAMA0.
- Install any optional software (ser2sock, Python library, etc.)