Sunday, November 10, 2013

GHC India workshop setup woes....

So, here I am in my guest office in Bangalore, setting up 5 Rpi + breadboard + LED + resistor + wiring setups.

Had to borrow 2 Rpi kits from colleagues here (winners of the Borathon earlier this year - I was on the committee and, hence, the Rpi prizes :).

And, guess what, the worst possible cases for the Rpi's - there's no access the GPIO header.  Wonderful.  I've tried to pry it open with various instruments and it's unmalleable plastic, to say the least.

I might have to break the cases to get access....

Neither Chinna nor Nitin would appreciate that, I suppose....

Saturday, November 09, 2013

GHC-Rpi CodeChix workshop (Beginners)

Setup and Notes for Grace Hopper Conference India Hands-on Workshop:  Getting Your Hands Dirty with the RaspberryPi.

These notes are part of the CodeChix RaspberryPi workshop curriculum.

RaspberryPi Setup

  1. Go to and get the Wheezy Raspbian image (get the latest)
  2. Follow the steps to prepare your SD card with the image that you downloaded -
  3. Insert the SD card into the Rpi
  4. Connect the Rpi via HDMI to a monitor.  Also, connect a USB keyboard and mouse (if needed).  If you are inclined towards avoiding GUI's (like me), you don't need the mouse.
  5. Power on the Rpi 
  6. Login - Uname: pi, Passwd: raspberry  (don't forget the "p")
  7. Configure settings: sudo raspi-config
  8. Follow the menu and configure your network, keyboard and other peripherals
  9. You can also go use:

LED Lights
  1. Install the Python GPIO module - pip install RPi.GPIO
  2. Follow steps and copy over the code sample from here.