Creating a Flickering Candle Using an RGB LED on the Raspberry Pi

After getting PWM (pulse-width modulation) to work with an RGB LED last week, I was trying to think of what else I could do with an LED that demonstrated changes in color as well as intensity. I’m not sure why – maybe it was because we lost power in our neighborhood recently – but I thought a flickering candle could be an interesting little challenge… Materials In order to test this out, you’ll need a few things. ...

  Aug 29, 2016 (rev. Sep 16, 2025) ·  10 min

A Simon Game Clone for the Raspberry Pi

Let’s recreate the Simon game of the 1980s using a Raspberry Pi and Sonic Pi!

  Jul 28, 2016 (rev. Sep 16, 2025) ·  11 min

Flash an LED on Your Raspberry Pi When You Get New Email

Let’s learn how to flash an LED on the Raspberry Pi when someone sends us a new email.

  May 28, 2016 (rev. Sep 16, 2025) ·  6 min

Building a Morse Code Transmitter on a Raspberry Pi (version 2)

I created a morse code generator before based on entering a string at the console. Now I extended it to generate a message by clicking a button.

  May 19, 2016 (rev. Sep 16, 2025) ·  9 min

Building a Morse Code Transmitter on a Raspberry Pi

Making the Pi blink an LED a few times is thrilling, but what about building something.. more? Let’s build a morse code transmitter!

  Apr 3, 2016 (rev. Sep 16, 2025) ·  6 min

Building the model 4-stroke combustion engine from Smithsonian

Last summer, I found this “Smithsonian Motor-Works” set at a garage sale. Once built, it models a 4-stroke internal combustion engine. I’d shelved it for a rainy day and rediscovered it last weekend while cleaning the basement. Time for a little father/son bonding!

  Feb 6, 2016 (rev. Sep 16, 2025) ·  5 min

An Extension Method to Pass a Column Name to SqlDataReader.GetFieldValue

Let’s combine the SqlDataReader’s GetFieldValue and GetOrdinal methods into an extension method that lets us pass a column name and get back a specific type.

  Jan 15, 2015 (rev. Sep 16, 2025) ·  3 min

Filtering a ListView in WPF Using a TextBox and CollectionViewSource

In WPF, a ListView allows for quite a bit of flexibility. Let’s take a look at filtering a ListView, using input being typed into a TextBox.

  Dec 7, 2014 (rev. Sep 16, 2025) ·  5 min