Sandwich Maker Pro

Hungry?

Sandwich Maker Pro lets you realize your dreams of becoming a professional sandwich artist using the uLCD, SparkFun Nav Switch, Pushbuttons, microSD reader and Class D Amplifier breakouts in real time!

Import program4180-lab4

Faizan and Pages fun little game

Instructions

Move your sandwich using the navswitch to collect toppings as they fall from the sky. Collect cheese, lettuce, tomato, and a bun (speed this up by holding down) to complete your masterpiece and rack up those sweet sweet points. Be careful to avoid the not so fresh ingredients, or suffer the loss of a life. You'll be provided with some brief instructions at the start of the game, and you can always press the Pause button if you feel overwhelmed.

Bon appetit!

P.S. Looking for that extra bread? That sandwich fix? Some way to scratch that topping itch? Press the rate button and watch the skies. Remember; if you can't stand the heat, stay out of the deli!

Top View

Intro

Component Pages

Wiring Configurations

uLCD

mbeduLCD header
p11 (DigitalOut)Res
VU (+5 V)+5V
p10 (RX)TX
p9 (TX)RX
GndGnd

Pushbuttons

mbedRate control button
p22pin, no external pullup
GNDGND
mbedPause button
p21pin, no external pullup
GNDGND

Nav Switch

mbedNav Switch breakout
+
p20U - up
p15C - center
p17L - left
p19D - down
p16R - right
GND-

microSD Reader

mbedmicroSD breakout
CD
p6 (MISO)DO
GNDGND
p7 (SCK)SCK
Vout (3.3 V)Vcc
p5 (MOSI)DI
p8 (Digital Out)CS

Class D Audio Amplifier w/ Speaker

mbedAmplifier breakoutSpeaker
GNDPWR - , IN -
Vout (3.3 V)PWR +
p18 (AnalogOut)IN +
OUT ++ (red)
OUT -- (black)


Please log in to post comments.