Boris Hu

About

Final Project Documentation

Overview

I made a bullet hell web-game that the character could be controlled by the joystick and buttons. The HP of the character will be displayed on the seven segment display, the score of the player will be showed on the 4 digit seven-segment display. I will use P5.js to make a bullet hell game and use Firebase to store the player's score of each game.

Schematic

  1. I have first calculated the appropriate resistance for the seven segment display. According to the datasheet, the DC forward current for red LED is 15mA, the voltage drop is 3.0V. With these data, I have calculated the resistance value.
  2. datasheet calc
  3. Then with the value of resistor, I have drew the schematic for the circuit.
  4. schematic

Circuit

According to the schematic, I have built the circuit with Arduino on the breadboard.

circuit1 circuit2

Firmware

Due to the reason that the link is too long to be put in the Documentation page, I included the github repository. The arduino code is in the "final" folder.

Link to Github Repository: https://github.com/BorisHu/4389Final