Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 5.61 KB

File metadata and controls

63 lines (44 loc) · 5.61 KB

Parts Description

Raspberry Pi Pico

Raspberry Pi Pico
Use it as the brain of your game. Program it in MicroPython to handle game logic, input/output, and communication with other components. The Raspberry Pi Pico is a simple microcontroller that allows the running of code to interact with many different electronic devices. To learn more including other labs and exercises for the Pico check out the Free Book:Introduction to Raspberry Pi Pico

LED

Red LED
LEDs are the most simple components in your kit that simply turn electricity into light. You should have access to several different colors of LEDs. LEDs can indicate game status (health, power-ups, etc.). Use different colors for visual feedback.
LED Labs: Basic Circuit : Basic with Resistors : With Pico : Fade LED with PWM

Laser

Red LED
The Laser in the kit is just a simple LED that can focus a beam of light to a tiny spot and has more range. It is simply a specialized LED and is controlled exactly the same way as a typical LED. Great for pairing with a photo resistor to use as a trip wire or "shoot" a target.
Laser Labs Laser is just an LED, see LED Labs.

Photo Resistor

Photo Resistor
Photo Resistors are variable resistors that allow you to detect changes in light. This can be used as a trip wire or target for a laser. It can also be used to control the resistence based on light levels and could be used as a "dimmer" of sorts if used in conjunction with LEDs to adjust the brightness of LEDs based on the amount of light hitting the photo resistor.
Photo Resisotor Labs: Basic Circuit : Reading With Pico

Potentiometer

Potentiometer
Potentiometers act as analog knobs. They are another type of variable resistor used to adjust the amount of resistence in a circuit. Potentiometers are often used to adjust things like volume, speed, frequency, etc.
Potentiometer Labs: Basic Circuit : No Pico Lab with Potentiometer, but would be same as Photo Resistor code wise.

Buttons

Buttons
A button is a simple input device that can be used for all types of applications. Through code on the Pico you can detect whether the button is pressed or unpressed.
Button Labs: Basic Circuit : Pico Basic : Debounce : Mini Game : Interrupt

Servos

Servos
Servos are simple motors that allows you to tell it a position to move to and hold. Servos are commonly used in robotics as well as R/C planes and cars. Servos are good at providing simple movement or articulation into your project.
Servo Labs: Control with Pico

Joysticks

Joystick
Joysticks are a useful input device to detect movent in at least two directions. Joysticks are great for controlling direction of servo movement or any kind of proportional movement. Joystick Labs: Pico Basic : Turret Lab

Buzzer

Buzzer
Add sound effects! Buzzers can create beeps, alarms, or musical tones. When used with PWM, you can adjust the frequency or pitch to change the sound that they make. Trigger buzzers during specific game events (e.g., scoring points, time running out, or winning).
Buzzer Labs: With Pico and PWM

Seven Segment Displays

Seven Segment Display
Seven segment displays are great output device to display numbers or values. Good for showing score, lives left, or any other numeric information. If you are creative, you can even display some words or letters.
Seven Segment Display Labs: With Pico

Creativity

Remember, the key to a successful game is creativity! Combine these components, experiment, and have fun building your unique game.