Lesson 5 – Breadboard Prototyping for the Game Shield
Before you commit to a permanent build, it’s crucial to prototype your circuit. In this lesson, you’ll assemble and test the full Arduino game shield—including an OLED display, six control buttons, and a passive buzzer—on a breadboard. This ensures your design works before moving on to soldering and final assembly.
🧠 What You’ll Learn
Why breadboarding is essential before soldering
Breadboards allow you to quickly build and test your circuit without committing to permanent connections. This step helps identify design flaws, wiring mistakes, or hardware issues early in the process.
How to wire an OLED, buttons, and a passive buzzer to an Arduino Uno
You’ll learn exactly how to route connections from your microcontroller to an I2C OLED display, six buttons (mapped to digital pins), and a buzzer—laying the foundation for interactive game inputs and outputs.
How to read and follow a pin mapping diagram
A clear mapping of components to Arduino pins will guide your wiring. You’ll practice turning this digital plan into physical reality on your breadboard, step by step.
How to test your entire circuit with a sample sketch
Using pre-written code, you’ll verify button inputs, buzzer sounds, and screen updates by observing real-time feedback on the OLED and hearing audio tones from the buzzer.
🔧 Hands-On Practice
You’ll build your prototype using the following components:
- 128x64 I2C OLED display
- 6 push buttons (Up, Down, Left, Right, A, B)
- 1 passive buzzer
- Arduino Uno and a breadboard
Step-by-step practice includes:
- Placing components on the breadboard and routing jumper wires
- Wiring buttons with 10KΩ pull-down resistors for stable digital input
- Connecting the OLED’s SDA and SCL lines to A4 and A5
- Sending tone signals to the buzzer through pin D8
Then, you’ll upload the provided Arduino sketch that:
- Displays messages on the OLED when buttons are pressed
- Plays different tones based on input
- Confirms that all components are communicating properly
💡 Troubleshooting Tips & Common Pitfalls
- Display not turning on? Check SDA/SCL connections and verify the I2C address using an I2C scanner sketch.
- Buttons unresponsive? Double-check pull-down resistor connections and ensure each button is tied to GND when pressed
- No sound from the buzzer? Confirm it’s connected to the correct digital pin (D8) and isn't shorted.
🔄 Reflect and Review
- Were all your inputs and outputs working correctly?
- What was the most challenging part of routing everything cleanly on the breadboard?
- How would you improve this layout before transitioning to perfboard?
📚 Homework Assignment
- Make sure your entire breadboard prototype is functional and bug-free
- Write down any changes or layout improvements you’d like to make before soldering
- Research common soldering techniques used when transitioning from breadboards to permanent builds
TEST CODE: