Raspberry Pi – SD Card Contents.

Raspberry Pi SD Card Numbering System.

This is just a list for my own benefit to keep track of the contents of my various Raspberry Pi SD Cards.

I am creating this post so that I may know what is on each of my SD Cards, without having to boot them using the RasPi.

I am forever formatting, installing, updating, upgrading, and reformatting each card, as I am not able to determine what OS (and which version) is on each card (several of the cards look identical), which projects I have attempted on each card, at what stage each of the projects is up to, and what the plan is for each card.

  • Dick Smith 8gig Labelled 1: Raspbian 20.12.13 – Setup for projects on the PiDish break-out board (Shut down switch: currently)
  • Verbatim 8gig Labelled 2: Fresh install of Raspian 7.1.14 – PiGlow testing, WiringPi, 
  • Kodak 16gig Labelled 3: Fresh install of Raspian 7.1.14 – Not yet booted (maybe for Camera / Surveillance Use )
  • Dick Smith 8gig Labelled 4: Formatted, Fresh install of Raspian 7.1.14 – Not yet booted.
  • SanDisk Micro SD 8gig (Adapter) Labelled 5: Formatted – Fresh install of Raspian 7.1.14 – Not yet booted.
  • Unknown 8gig SD Card Labelled 6: Formatted – Fresh install of Raspian 7.1.14 – Not yet booted.

Verbatim 8gig Labelled 2:

pimoroni

piglow

Function: Experimenting with the PiGlow.

Fresh format with Raspbian.

Installed the i2c Driver Modules for the

https://github.com/pimoroni/piglow

Edit:

sudo nano /etc/modules

and add

i2c-dev
i2c-bcm2708

at the end of the file (then save and exit).

(Do this from the Command Line environment rather than from within X using the LDXE Terminal Emulator. I had heaps more success doing it from the real CLI using sudo than with the emulator)

Next, make sure the following modules are NOT blacklisted within: raspi-blacklist.conf

sudo nano /etc/modprobe.d/raspi-blacklist.conf

If they are blacklisted out, like this:

blacklist spi-bcm2708
blacklist i2c-bcm2708

Comment out these two entries (like the below) and save/exit the file.

# blacklist spi-bcm2708
# blacklist i2c-bcm2708

Also make sure that you have installed the i2c libraries and python support with:

sudo apt-get install python-smbus

Next, Install WiringPi.

WiringPi is (c) 2012-2013 Gordon Henderson

And is available here:

http://wiringpi.com/download-and-install/

First, grab GIT (should already be part of the newest Raspbian images):

sudo apt-get install git-core

Next, update and RasPi:

sudo apt-get update && sudo apt-get upgrade

Obtain WiringPi using GIT:

git clone git://git.drogon.net/wiringPi

Then:

cd wiringPi
git pull origin

And finally, build and install using the script (note, WiringPi’s author warns that this script makes use of the “superuser” account, therefore, please feel free to inspect the content of ./build before you trust it with God-Like powers on your Pi).

cd wiringPi
./build

Once installed, you can check the installation with the following commands for Version number and gpio pin status:

gpio -v
gpio readall
WiringPi (c) 2012-2013 Gordon Henderson
WiringPi (c) 2012-2013 Gordon Henderson

Why stop at WiringPi? GET PYGLOW!! 

PyGlow is a fork of PiGlow by Jason (@Boeeerb https://github.com/Boeeerb/PiGlow).

PyGlow was forked by @ben_leb (https://github.com/benleb/PyGlow).

Installation:

First create and navigate to your PyGlow directory:

mkdir pyglow
cd pyglow

Next, obtain the latest version of the PyGlow python module:

wget https://raw.github.com/benleb/PyGlow/master/pyglow.py

The above command will download pyglow.py the module which performs all the glow-lovin action.

Download a test script and take the PiGlow for a test drive:

wget https://raw.github.com/benleb/PyGlow/master/examples/test.py
sudo python test.py

The ‘examples’ directory contains some files useful for learning how to make the most of the device, and the software.

FINALLY, YOU CAN KILL THE ENDLESS EXAMPLE.PY LOOP THROUGH CTRL-C!