Frogger for mBed

This is a demo page for a working version of Frogger for mbed. The game functions using a 6 by 6 grid which Frogger can jump around on in order to avoid cars moving two separate directions at two differing speeds. Frogger must also navigate his way across a small stream by hopping on lily pads or else splash into the water. Reaching the other side signals victory. This demo requires and uses the mbed processor, an LCD screen, a digital thumbstick for user input, an SD card reader for storing soundbytes, a speaker for playing audio, an H-Bridge to connect to a DC motor used for haptic feedback, and an external 5 volt power supply. /media/uploads/swilliams346/20161101_162245.jpg

Wiring and Pinout Connections

uLCD https://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/

mbeduLCD
GNDGND
VU+5V
p30TX
p28RX
p27RSS

Digital Thumbstick

mbedThumbstick
GND-
Vout+
p25U
p24C
p23L
p22D
p21R

Speaker

mbedSpeaker
p18Speaker

SD Card Reader https://developer.mbed.org/cookbook/SD-Card-File-System

mbedSD Card Reader
p8CS
p5DI
VoutVCC
p7SCK
GNDGND
p6DO

H-Bridge to DC Motor https://developer.mbed.org/cookbook/Motor

mbedH-BridgeDC Motor5V Ext. Source
p25pwma
p17AIN2
p16AIN1
VoutSTBY
VoutVCC
AO1BLACK
AO2RED
VMOT5V
GNDGND

Import programFrogger

Frogger for mbed


Please log in to post comments.