Connecting an Analog Joystick to the Raspberry Pi (and using it with an RGB LED to simulate a color wheel)

Connecting an Analog Joystick to the Raspberry Pi (and using it with an RGB LED to simulate a color wheel)

One of the coolest things about the Raspberry Pi is its GPIO pins. They’re just sitting there, waiting to be connected to all kinds of useful peripherals so your Pi can interact with the world around it. Power an LED to signal the user. Place a button in the

Read More

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

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

Read More

How to Use an RGB multicolor LED with Pulse Width Modulation (PWM) on the Raspberry Pi

How to Use an RGB multicolor LED with Pulse Width Modulation (PWM) on the Raspberry Pi

If you buy a kit with random LEDs, wires, switches, etc, like this one I purchased from CanaKit, you’re likely to end up with one or two of those funky little LEDs that appears to be white, and has 4 wires instead of 2. I had set mine aside

Read More

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

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

This week we’ll create an email notification system using the Raspberry Pi. The idea is to check for new email, and flash an LED when we get one. Connecting to Gmail The circuit will be extremely straight-forward, so let’s focus on the more difficult part first – connecting to

Read More

Generating Morse Code on the Raspberry Pi Using a Button on a Breadboard

Generating Morse Code on the Raspberry Pi Using a Button on a Breadboard

Last time, I created a morse code generator. It took user input from the console, translated it into morse code, and blinked an LED to “transmit” the message. I decided to build on that a bit, adding a button to the circuit that allows me to generate morse code from

Read More

Building a Morse Code Transmitter on a Raspberry Pi

Building a Morse Code Transmitter on a Raspberry Pi

Last week, I made the Raspberry Pi blink an LED a few times. As thrilling as that was ;) I almost immediately wanted something more. Note: Source code for this project is available on GitHub. Goals Setup a simple circuit (LED and resistor) using a breadboard Learn about Morse Code in

Read More