Creating a "Simon" Game Clone on the Raspberry Pi

Have you been around long enough to remember the popular Simon game from the 70s and 80s? There’ve been plenty of remakes over the years, but I had one of the originals when I was younger. It’s a game of patterns that tests your memory. It flashes a color and sounds a corresponding tone, which you repeat. Then it repeats the same color/tone and adds a new one. The pattern keeps getting longer and longer. Technically, it could go on forever, but I think you “won” after 20 or 30 colors… not that I ever got close! »

How to Develop Python in Visual Studio... and Mix it Up with the .NET Framework!

I’ve been learning about the Raspberry Pi for a few months, occasionally writing about it. I usually start on a laptop using JetBrains’ PyCharm IDE, which is much faster than the Pi, then move everything over when it’s done and I need to run it against the GPIO pins. But Visual Studio was my main coding environment for years, and I got really comfortable with it (well, when they weren’t moving my cheese), so when I realized it could support Python I had to check it out. If you’re doing dev in Python, and are familiar »

Saturday Morning Reads #4

I read so many good articles during the week, stuff that’s so much better than anything I could dream up. Every week or two, I’ll share some of the more thoughtful and inspiring ones on here. :) Changing perspectives on your job – Will you renew your boss for another season? I read this one from Scott Hanselman a year and a half ago, but I stumbled on it again recently. It’s a short one, just a challenge to look at things differently. I don’t know how many times I’ve heard people say they wished their company »

Creating Music with Sonic Pi on the Raspberry Pi

Back in May, I was fortunate to attend the Stir Trek conference in Columbus OH (it sold out in under a minute). There were a lot of great presentations, but one that really stood out for me was one on Sonic Pi. Scott Fradkin live-coded Sonic Pi for nearly an hour, not only explaining what it was capable of, but showing us too. He kept building it up as the session went on, and everyone in the theatre had a chance to see and hear what he was creating. By the end of the session, he had a good beat »

How to Create a Raspberry Pi Virtual Machine (VM) in VirtualBox

I recently started flipping through The MagPi back-issues, and came across an article where someone talked about setting up a virtual Raspberry Pi environment. At the time he wrote his article, I don’t think the Pi was even really available to the public yet. It got me thinking though. I’ve been playing around a lot on the Pi itself, but it’d be convenient to have an environment setup where I could experiment with code even when I don’t have access to the Pi. Goal: Setup a virtual machine with Debian (from which Raspbian is derived). Install »

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 an email service. We need to create a secure connection to our email provider, so we can find out when new mail arrives. Do a quick search, and you’ll likely find scripts like this one where you just connect with your username, password and a few other pieces of »

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 a button click. The clicks are read in by a GPIO pin, and interpreted by a Python script. Defining the Rules We should always figure out what a program is going to do before we start writing it, so here are a few rules to guide us: Dots and dashes »

Being a Judge for Believe in Ohio 2016

I had the opportunity to judge the Believe in Ohio competition again this year. If you’re unfamiliar with it (it’s only the second year), high school students from around Ohio come up with new ideas revolving around new/existing STEM principles. Believe in Ohio (BiO) is a free program from The Ohio Academy of Science that helps students prepare for the future. High school students can compete for cash awards and scholarships to Ohio colleges and universities based on competitive STEM Commercialization or STEM Business Plans. We hope they will pursue their futures in Ohio by inventing products »