Line 25: | Line 25: | ||
==Manual Configuration== | ==Manual Configuration== | ||
+ | # Flash the SD card with your choice of OS as described [http://www.elinux.org/Rpi_easy_sd_card_setup here]. | ||
+ | # Boot up the Raspberry Pi. | ||
+ | # Remove the following entries from <tt>/boot/cmdline.txt</tt>: | ||
+ | #* <tt>console=ttyAMA0,115200</tt> | ||
+ | #* <tt>kgdboc=ttyAMA0,115200</tt> | ||
+ | # Remove the following line from <tt>/etc/inittab</tt>: | ||
+ | #* <tt>T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100</tt> | ||
+ | # 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 <tt>/dev/ttAMA0</tt>. | ||
+ | # Install any optional software ([http://github.com/nutechsoftware/ser2sock ser2sock], [http://github.com/nutechsoftware/alarmdecoder Python library], etc.) |
Revision as of 14:48, 3 January 2014
Official Raspbian Image
This is the recommended way of starting out with your AD2PI. We've gone ahead and done all the initial work to make it and your Raspberry Pi work together out of the box. Just follow the instructions for flashing the SD card from Raspberry Pi.
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.)