Skip to content

madhurjain/burglarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burglarm

Burglar Alarm using RaspberryPi + Go

Schematic
Schematic Shield on Perfboard with Raspberry Pi
Burglarm Schematic Burglarm with RaspberryPi

I know Raspberry Pi is an overkill for this project but I've been wanting to build a simple burglar alarm since long and also wanting to try Go on Raspberry Pi.

Installing Go on RaspberryPi

You can ofcourse build from source but the process is time consuming. Dave Cheney has been generous enough to provide pre-compiled tarballs on his blog.

cd /usr/local
wget http://dave.cheney.net/paste/go1.4.2.linux-arm~multiarch-armv6-1.tar.gz
tar -xvzf go1.4.2.linux-arm~multiarch-armv6-1.tar.gz

Add Go bin to PATH

vim ~/.profile
export PATH=$PATH:/usr/local/go/bin

Configuring LIRC [1]

# Stop LIRC daemon
sudo /etc/init.d/lirc stop

# Create remote control config file
cd ~
irrecord -d /dev/lirc0 lircd.conf

# Copy configuration
sudo cp ~/lircd.conf /etc/lirc/lircd.conf

# Start LIRC daemon
sudo /etc/init.d/lirc start

About

Raspberry Pi + Go + PIR + Buzzer + IR = Burglarm !

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages