Portable Battleship Display ECE 445 Spring 2017 Portable Battleship Display Group #80: Elizabeth Roels, Jonathan Rakushin, Colin Lu
Introduction Battleship is best known as a tabletop game where players represent a fleet of ships with pegs and take turns declaring coordinates in order to destroy the opponent’s fleet. We decided to create a modern twist on a classic game, Battleship that minimizes setup time and allows for more convenient gameplay.
Project Goals We had several goals in mind for the project Portability - the game should be able to be taken outside or to other people’s houses Engaging - the game should be fun to play by including relevant visual and audio effects. Simplistic - the game should have simple controls-only switch and button inputs should affect gameplay
Features Li-Ion battery powered device Integrated charging via MicroUSB Button display Sound Bluetooth connectivity
Overview Hardware Power supply, microUSB connector, low pass filter speaker, Bluetooth chip Button array, LED array Software Control game logic Connect bluetooth chips together
Block Diagram
PCB Design
Charging Circuit With Speaker The microUSB connector detached Cables to connect in bottom left
Internal Power Lithium Ion battery @ 3.7V Connects to a charging module to charge via 5V USB @ 1A 5V boost converter and 3.3V regulator Convert the battery voltage to 5V for the speaker Regulate to 3.3V for logic and LEDs
Battery Charging Time
Microcontroller We planned on using a AT32UC3L016-AUT micro in order to control the interfacing between the LED array and the button array. The micro should detect the game state and output the appropriate audio as well as interface the bluetooth chips properly
Microcontroller Flowchart
Bluetooth Module Connect two devices to play player vs player Uses external HC-05 chip connected to power supply
Bluetooth Flowchart
Sound NMOS transistor regulates PWM signal to create sound Low pass filter to smooth audio
Sound Video
Low-Pass Filter Roll Off Roll off graph of the low-pass sound filter
Button array 8x8 button inputs controls the players moves in Battleship Shift Registers take in 3.3±0.3V Latency for button presses < 0.5ms
Button Array Delay 1 KHz Square Wave Input Delay between button presses was ~20 ms, less than our specified 50 ms constraint.
LED Array Shift registers help change the colors of LEDs on the board 8x8 LED array displays the game board
LED IV Characteristic
Microcontroller+Board Layout
Future Prospects Finish Bluetooth functionality Design the case to hold the boards in a compact design Fix 5V regulator Microcontroller was unable to be programmed due to lacking a programmer 5V boost regulator did not work, although most of the circuit was fine running off the provided voltage