My cat broke the internet

Note to self – the next time the internet stops working for several days and rebooting the router repeatedly doesn’t work and AT&T can’t figure out what’s wrong remotely and the self-described ‘outside guy’ AT&T technician changes some stuff up on the telephone pole but the internet still doesn’t work…..

…. check to see if the cat chewed through the cable.

Again.

Just in case.

Pyroelectric InfraRed (PIR) Sensor for Raspberry PI – Data Sheet

I had a little bit of trouble tracking down the datasheet for some PIR sensors I bought recently, but finally found a good link:

http://eecs.oregonstate.edu/education/docs/pir/31227sc.pdf

It looks like I can adjust both the time delay as well as the sensitivity on these; can’t wait to hook a few of these up to an Azure Event Hub!

Resolved: “This module can only be run on a Raspberry Pi!”

I received a new Raspberry PI 2 and fired it up today.  Upon running my first GPIO enabled program I got the following error:

“This module can only be run on a Raspberry Pi!”

To resolve, I just needed to update RPI.GPIO:
sudo apt-get update && sudo apt-get install python-rpi.gpio python3-rpi.gpio

More info here:

http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=98466&p=684000#p683480

Setting up Bose Companion Speakers on Ubuntu 14.04

I love my Bose Companion 5 speakers, but had a bit of trouble getting them to work on a Toshiba Portege I recently rebuilt with Ubuntu.  Here are the steps to get it working:

  1. Plug the speakers into a USB port
  2. Reboot
  3. Go to sound settings, the speakers should now appear.  Select them.
  4. Open terminal and run sudo gedit /etc/modprobe.d/alsa-base.conf
    1. Change last line that reads: options snd-usb-audio index=-2 to options snd-usb-audio index=-1
  5. In terminal run alsamixer
    1. Select the Bose sound card (F6)
    2. Use the arrow keys to increase the volume
  6. Fire up Pandora and rock out!

Resources: