My First Raspberry Pi Project: Turning on a Light!

My Dad got me a Rapsberry Pi 3 Model B for Christmas, and I’m so excited! I don’t know hardware at all- I actually commented to a guy at an electronics store here in Vancouver that “I don’t know software, but I know hardware,” but I really meant “I don’t know hardware, but I know software!” Clearly I just get very confused when I think about hardware. I’m hoping the Pi will help me understand deployment, and how you go from code to product.

For my first Pi experience, I wanted something easy: turning on a light via a Python script. But first, the basics.

Making a circuit: without any Python

I know what a resistor is, what a light is, and what jumper wires are used for. But what’s a breadboard? As I learned, a breadboard is a plastic block into which you can plug wires, lights, resistors, etc, to make a circuit. Otherwise you’d have to “solder,” that is, fuse the wires together. A breadboard is officially known as a “solderless breadboard” for this reason.

I found this tutorial from The MagPi to be extremely useful, and managed to make my own circuit to turn on a light within minutes. Although this is very rudimentary, I was so excited to have made it work.

A big accomplishment for me!

Now onto the programming!

Continue reading “My First Raspberry Pi Project: Turning on a Light!”