Thursday, December 28, 2017

Home Automation - Basic Raspberry Pi info and set up

I have own a couple of Raspberry Pi's and got into the Pi when I was surfing Kickstarter a couple of years back an stumbled on the Kano project.  The premise behind the Kano was a computer anyone could build and I thought it would be a great idea for my kids.  Once I got to play around with it I decided to buy another Pi that I could play with.  Initially I set it up so I could play retro video games from my youth using the RetroPie operating system.

Raspberry Pi
Raspberry Pi 2 model b
I started getting into home automation about a year and a half ago.  I started by picking up a Amazon Echo and some Phillips Hue lights.  After the Google Home was announced I made the decision to move to the Google platform, since just about all my devices were Google(Nexus, Pixel, Pixel C).  After the Hue lights I picked up some Wemo switches to control other items in the house.  Now I want to dive into home automation even deeper and take a more hands on approach instead of just buy stuff off the shelf at the local electronics store.

After some research I decided to take a look at X10 as they have been in the home automation game for a long time.  I will talk more about X10 as I get into the project, but lets start by talking a little bit more about the Raspberry Pi.

 If you are not familiar with the Raspberry Pi it is marketed as the $35 computer.  While the Raspberry Pi board itself does cost $35 there are some other components that are required to make the Pi fully functional.  Currently the Raspberry Pi 3 Model B is the newest version available, if you would like to find a little bit more about the history of the Pi check out this link.  I am using a Pi 2 as that is what I have so below is a list of the parts needed based on what I have:

  • Power Supply (Micro usb) - $10-14
  • Mouse and Keyboard - $15+
  • HDMI cable - $4+
  • Monitor that has HDMI input 
  • At least an 8gb MicroSD - $7+
  • Pi 2 - Ethernet Cable or usb Wifi dongle
    • Pi 3 has on board wifi/bluetooth 
  • A case for the Pi - $6+
If you don't already have a Pi and are looking there are several kits available on Amazon that include most of the pieces and parts to get a Pi up and running.  Just search for Raspberry Pi.  If you buy a kit with a memory card there is a chance that it will have the New Out Of Box Software(NOOBS) OS installed.  If you buy a memory card separately or have one laying around then you can find the NOOBS OS here.  If you get a memory card with the OS installed you can skip the next section.

Download the NOOBS OS, it will download as a zip file.  If you get a new memory card you probably don't need to reformat it, but I would recommend reformatting anyways using a FAT32 file system.  Once the memory card is formatted just unzip the NOOBS files to the empty memory card.  Once all the files have been extracted to the new memory cards you can put it into the card slot on the Pi.

Set up and Installation instruction - Raspberry Pi Documentation
Follow the set up and installation instruction to finish setting up the Pi.

Once the Pi is up and running you have a running computer that will allow you to surf the internet, work with the office suite, do some programming, or play some games.  In my next post I will discuss the hardware that I ordered that will be used to automate turning a light on and off. 



No comments:

Post a Comment