Raspberry Pi Knight Rider LEDs Part 2

Now we’ve got one LED up and running, it’s pretty easy to expand this to make a light bar like K.I.T.T.’s.

Step 1 – Wire up the breadboard

The next thing we need to do is switch everything off, and then wire up the breadboard as per the circuit diagram below. Leave the female ends of the jumper wires dangling for now – we’ll plug them into the Pi in step 2.

knightrider_bb

Read more

Raspberry Pi Knight Rider LEDs Part 1

This is the first part of a two parter on creating the K.I.T.T. light bar with LEDs using your Pi (I know, awesome, right?).

Here’s mine in action:

In this section we’ll install the wiringPi library on the Raspberry Pi, connect up a single LED, and write a simple program in C to make it flash.

In part two we’ll connect up more LEDs, expand the code, and then travel back to the 80s with our finished product.

Read more

Headless Boot Of Raspberry Pi Using A Static IP Address

(Looking for headless boot using DHCP?)

If you don’t have a DHCP server running on your home network, or you want to allocate a specific ip address for your Pi – maybe because you want to access it via a second network port on a local machine, or via a standard hub – you can still headless boot by setting the ip address on the SD card beforehand.

You will need:

  1. A computer running Linux (mine is Fedora 20).
  2. A Raspberry Pi and compatible power adapter.
  3. An ethernet cable.
  4. An SD card for the Pi OS

Read more

Headless Boot Of Raspberry Pi Using DHCP

I’ve been meaning to do something with this amazing little machine for a long time. It really appeals to me because you can use it just like an embedded target device – in other words, you can do embedded programming at home for very little cost.

This tutorial walks you through the set-up of your Pi without all those pesky peripherals, like a keyboard and monitor.

This is known as a headless boot, and it’s a basic embedded technique for dealing with target devices.

Read more