Skip to content

Week 16: Applications and Implications

My Final Project

Questions

What will it do?

My final project will be a battleship game that allows for single player play against a battleship bot that will guess where your ships are based on a battleship algorithm.

Who’s done what beforehand?

Beforehand I have done a lot of minor testing with the neopixels, joysticks, and pico w. I found this code by Challenging Luck on youtube. This code would create png images of battleship guesses from a code that he designed.

What will you design?

I need to design a box for the electronics to be kept in, create a neopixel matrix for the pngs to be displayed on, and integrate the png to display the data on the neopixel. I also need to design the boats and pegs for 3D printing.

What materials and components will be used?

I will use plywood to create a box for the electronics to be in, acrylic to cover the neopixels, and some 3D printed parts from PLA for the ships. I may also 3D print a mold for the pegs.

Item Amount Link Cost Final Cost(USD)
Seeed Xiao RP2040 2 RP2040 17.34 59.76
Neopixel strip 64 neopixels 7.04
keypad 1 keypad 4.73
oled 1 oled 2.75
button 1 button 2.50
acryllic 1 acryllic 9.00
M3 screws and nuts 1 screws 11.00
hinges 2 hinge 0.40
power adapter and terminal 1 power adapter 5.00

What parts and systems will be made?

I will make a box for holding everything, the boats, the pegs, I will make a neopixel matrix, and design a board to integrate buttons and the joystick for choosing your guess.

What processes will be used?

Week Component of Final Project
CAD battleship pieces, box for holding materials
CCC box pieces
Embedded Programing Program for computer using pico w
3D printing battleship pieces
electronics design electronics for computer
CCM CNC a mold for the pegs
Electronic Production Milling Board
output LED’s, neopixel, oled
mechanical design opening box turns it on
input buttons to say HIT or MISS, joystick for your guess
molding and casting Pegs
networking Connecting code output from battleship computer to display on neopixels
interface reading the joystick and displaying the location on neopixel matrix

Time spread

  • 6/6- Mill the final board, solder, and test
  • 6/7- Cut box out of acryillic and glue together
  • 6/8- assemble box with electronic inside and test it.
  • 6/9-6/10 troubleshooting
  • 6/11- Design and print boats and pegs
  • 6/12-6/13- Finish what is left.

Interfacing battleship code with neopixel array: 18 hours

Laser cutting box to hold everything: 1 hour

designing board to hold components:3 hours

cutting board to hold componenets:1 hour

assembeling parts: 3 hours

fishing touches: 2 hours

What questions need to be answered?

I need to work out the details of being able to integrate the joystick with the neopixel matrix and displaying the guesses of the program on an oled.

How will it be evaluated?

This game will be evaluated by the ease of use and the enjoyment of playing battleship alone. It could also be evaluated based on the skill of the progam that you would be playing battlehip against.


Last update: June 28, 2023
Back to top