Skip to content

This project is a for Barnard's BC3930 Class: Creative Embedded Systems. It is a space invaders game with a Sanrio theme and incorprates the use of a Joystick, push button, and a TTGO Esp32 board.

Notifications You must be signed in to change notification settings

toonwuka04/BC3930-Module2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BC3930 - Module2

Tools Needed:

  1. LILYGO ESP32 Board
  2. Arduino IDE
  3. Processing
  4. TFT Espi Library (Downloadable) - Documentation
  5. USB-c cord
  6. 7 female/male wires (for breadboard)
  7. 5 m/f jumper wires (for joystick)
  8. Joystick
  9. Button
  10. Wires
  11. Breadboard

Code Description

/arduinoButtonAndJoystick - holds the arduino file for code to uploaded to the ESP32 board for gathering serial communication

  • buttonjoystick.ino - arduino file with ESP 32 code

/enclosure - holds the svg files related to the enclosure for laser cutting

/sanrioinvaders - holds the code for launching the space invaders interface and game through the Processing application

  • spaceinvaders.pde - processing file with space invaders code

Fritzing Diagram

fritzdiagram

Setup

  1. Follow the Fritzing diagram and add your button, joystick, wires, and ESP32 board to the breadboard
  2. Connect your ESP32 board to your computer via a USB-C cord
  3. Download the /arduinoButtonAndJoystick and /sanrioinvaders folders
  4. Open these folders in the Arduino IDE application and Processing application, respectively
  5. Confirm that your ESP32 board connects to the Arduino application by running the arduino code file buttonjoystick.ino (you should see printed values read from the serial communication)
  6. Open the sanrioinvaders.pde from the /sanrioinvaders folder in the Processing application and ensure that it runs and complies
  7. Once a screen pops up from the Processing application go ahead and press "s" on the keyboard to start!

~ Feel free to make any edits to the code after downloading and experiment on your own! ~

Media

Game Play video:

gameplay.mov

Enclosure photos (front and back view)

frontview backview

About

This project is a for Barnard's BC3930 Class: Creative Embedded Systems. It is a space invaders game with a Sanrio theme and incorprates the use of a Joystick, push button, and a TTGO Esp32 board.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published