Skip to the content
2 layers115.3 × 171.5 mmPurdueFall2023ECE477Team2, the printed circuit board in 3D

Code and other files for a portable Skee-Ball Machine

Size
115.3 × 171.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
140
Nets
136
Pads
485
Tracks, vias
819, 138
Pours
22
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
25 Aug 2023
Updated
6 Dec 2023

Overview

PurdueFall2023ECE477Team2 is an open-source printed circuit board by AdenKoperczak, from the AdenKoperczak/PurdueFall2023ECE477Team2 repository on GitHub. It is a 2-layer board of 115.3 × 171.5 mm with 140 parts on 136 nets, routed with 819 tracks and 138 vias.

It is built around the STM32F091RCT6, SN74AHCT125N and LM2678S-12, with the LM358, LM386 and MAX7375AXR805+T among its other parts. Its parts include 67 resistors, 23 capacitors, 19 connectors, 8 ICs and 1 diode. It belongs with the STM32 boards of this library.

Main components

6

README

README.md

PurdueFall2023ECE477Team2

Code and other files for a desktop Skee-Ball Machine. Our team website can be found at https://engineering.purdue.edu/477grp2/.

Purdue ECE47700 - Digital Systems Senior Project

This class involves designing a electronics project that could be sold as a product. Such a product must involve either a microcontroller or FPGA. More information can be found at https://engineering.purdue.edu/ece477/.

Git Folders and Files

The files in our Git Repository can be broken into two sections: electrical and code. Electrical design was done in KiCAD 7.0 and includes both schematics and PCB layouts. Code was done using SystemWorkbench. There are also some other code and support files. Bellow is a description of each folder and what it contains along with some soport files files.

General Files

  • Used Resources.txt: This contains what parts of the microcontroller are being used for what.

Electrical

  • Audio AMP: Contains initial design for our audio amplifier.
  • Schematic: Contains the overall schematic and PCB for our design.
  • power control: Contains the initial design for our power circuitry.
  • sensor: Contains the initial design for our laser break circuit.

Microcontroller Code

  • HUB75Lib: This contains a library and test code to run a 32x64 HUB75 display including a font library.
  • WS2812BLib: This contains a library and test code for running a WS2812B LED strip.
  • SoundLib: This contains a library and test code for generating and playing audio.

Other Code

  • HUB75Font_Generate: This contains code for generating a font library for the HUB75Lib.

Project Description

Our project aims to rekindle the nostalgic joy of the traditional Skee-Ball game while incorporating cutting-edge technology for an enhanced playing experience in the form of game modes, normal, time attack, and streak. The normal game mode is the same as the traditional skate-ball game mode, such that a player would get nine balls and attempt to score the highest score possible at their own pace, for which the scores per ball are simply added to get the final score. After they run out of nine balls, any ball they try to score after would not count, as the game would be over. In time attack mode, the player sets a time (up to 5 minutes) with an unlimited ball count to score as high as possible. For the streak mode, the player gets an "unlimited" number of balls as long as as they score 20 points or higher on the current shot; Once they miss the shot, the score is finalized. Finally, the timed streak mode combines the time attack with a score. multiplier, which will go up by 0.1x from 1x every time they make the shot, maxing out at 1.5x and indicated by an LED light bar to the player. Once the player misses a 20+ point shot, the multiplier is reset. The Skee-Ball Machine" is similar to other arcade machines that you can easily see in arcades; however, they are unaffordable to buy and are huge in size. Therefore, we specifically designed it to be portable and affordable. To make it portable, we replaced the rolling rail into bouncing pad, so the player will score the ball by throwing the ball off of the bouncing pad. This device will use a microcontroller, along with several sensors, buttons, displays, and a speaker to make an iterative game with different scoring modes to keep the game fresh. In detail, sensors will detect the ball once they are scored. Also, there will be a speaker, so it will have certain game effects. sounds when scored through a user-defined amplifier. Also, there will be a display for user interfaces to show the score and how much time is left. Finally, we will create a power regulator to regulate the power supply. We will use a commercial 12V power supply because our speaker requires 12V, then we will implement a voltage regulator (buck converter) from 12V commercial voltage input to 5V to supply our display, and another linear regulator from 5V to 3.3V to supply microprocessors and other components.

Stretch Goal:

An ability to implement a WS2812B LED-strip to generate some flashing light as a game effect, using GPIO pins to operate and a PWM to adjust brightness and frequency to generate certain effect.

Project Specific Design Requirements (PSDRs):

  • PSDR #1 (Hardware): An ability to implement one 32-by-64 column-row matrix display to interface with user, by communicating through GPIO pins from microcontroller.
  • PSDR #2 (Hardware): An ability to implement one 4-by-4 column-row matrix keypad to receive user's input, by communicating through GPIO pins from microcontroller.
  • PSDR #3 (Hardware): An ability to generate a soundwave using DAC from microcontroller and amplify the signal using a user designed audio amplifier to play game effect sounds through a speaker.
  • PSDR #4 (Hardware): An ability to implement a step down voltage regulator(buck converter) from 12V commercial voltage input to 5V, and another linear regulator from 5V to 3.3V as we need both 5V and 3.3V to supply different components.
  • PSDR #5 (Software): An ability to implement the game logic using system workbench for STM32(eclipse), to properly implement all components, such as optical sensor, display, keypad, and speaker.

Parts

140
QtyValueFootprintReferences
381kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR10, R11, R12, R13, R14, R15, R17, R19, R20, R21, R23, R24, R25, R26, R27, R28 +22
7.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3, C4, C5, C6, C7
72kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR53, R60, R61, R62, R63, R64, R65
610nCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC17, C18, C19, C20, C21, C22
6Conn_01x03_PinConnector_JST:JST_VH_B3P-VH_1x03_P3.96mm_VerticalJ11, J12, J13, J14, J15, J16
510kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR30, R32, R39, R40, R51
40Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR16, R18, R22, R42
45.6kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R6, R46, R47
4MountingHoleMountingHole:MountingHole_5mmH1, H2, H3, H4
2.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC8, C9
2100KCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR2, R3
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ10, J17
2LED_GreenLED_THT:LED_D5.0mmLD2, LD5
2LED_RedLED_THT:LED_D5.0mmLD1, LD4
10.1uCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC23
110Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR44
1100Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR48
1100nCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC14
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderCinx1
110nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderCb1
110nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC10
110uCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC15
110uFCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC11
110uHLIB_MSS1210-103MEB:INDPM120120X1020NL1
112VTestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mmTP1
1180uFCapacitor_SMD:CP_Elec_8x6.9Cin1
11mFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC13
11uCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC16
13.2kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR41
1330uFCapacitor_SMD:CP_Elec_8x6.9Cout1
133nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC12
13VTestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mmTP2
13kLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderR67
1550mV 5ADiode_SMD:D_SMC-RM10_Universal_HandsolderingD1
156kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR45
15VTestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mmTP4
17.5kLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderR66
174LS08Package_DIP:DIP-14_W7.62mmU3
1800Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR43
1AUDIO_OUTConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ6
1Conn_01x03_PinConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ7
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1DEBUG_HEADERConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ2
1Ferrite BeadInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderFB1
1GNDTestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mmTP3
1HUB75_DATAConnector_IDC:IDC-Header_2x08_P2.54mm_VerticalJ3
1HUB75_PWRConnector_JST:JST_VH_B4P-VH-B_1x04_P3.96mm_VerticalJ4
1KEYPADConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ5
1LASERConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ8
1LD1117S33TR_SOT223Package_TO_SOT_THT:TO-220-3_VerticalU6
1LDRConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ9
1LED_BlueLED_THT:LED_D5.0mmLD3
1LM2678S-12LM2678-TO263:TS7BU5
1LM358Package_DIP:DIP-8_W7.62mmU7
1LM386Package_DIP:DIP-8_W7.62mmU4
1MAX7375AXR805Package_TO_SOT_SMD:SOT-323_SC-70U1
1RESETButton_Switch_SMD:SW_SPST_PTS645SW1
1R_PotentiometerPotentiometer_THT:Potentiometer_Vishay_148-149_Single_VerticalRV1
1SN74AHCT125NSN74AHCT125:N14U8
1STM32F091RCT6STM32F091RCT6:LQFP64-10x10mm_STMU2
1WS2812B_DATAConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ18
1WS2812B_PWRConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ19

The 139 most common of 140 parts.

More from AdenKoperczak/PurdueFall2023ECE477Team2

2
  • 2 layersTPS566242DRL-5V6A, the printed circuit board in 3D

    TPS566242DRL-5V6A

    AdenKoperczak/PurdueFall2023ECE477Team2

    Code and other files for a portable Skee-Ball Machine

    15 parts
  • 2 layers72.1 × 62.7 mmLM2678 - 5.0V, the printed circuit board in 3D

    LM2678 - 5.0V

    AdenKoperczak/PurdueFall2023ECE477Team2

    Code and other files for a portable Skee-Ball Machine

    9 parts

Similar boards

  • 2 layersCarte Alim V4, the printed circuit board in 3D

    Carte Alim V4

    AREA-Amiens/AREA.old-boards-hardware

    Hardware for AREA.old boards

    61 parts
  • 2 layersCarte Alim V4, the printed circuit board in 3D

    Carte Alim V4

    PCBrs/CDR-Electronique

    Carte électronique pour la Coupe de France de robotique

    71 parts
  • 2 layers10.3 × 11 mmMCU+IMU, the printed circuit board in 3D

    MCU+IMU

    Golf-Simulator-17/PCB-V2

    Second Version of repository

    20 parts
  • 2 layers60 × 64 mmLCDPCB, the printed circuit board in 3D

    LCDPCB

    Ashassins/NYAKB

    ECE 477 Project: NYAKB is a multimedia keyboard with hot swappable modules

    33 parts2
  • 2 layers109.2 × 71.4 mmSwipe stack hub, the printed circuit board in 3D

    Swipe stack hub

    vclagudu/SWIPE-STACK

    Senior Design Projrct

    68 parts
  • 4 layers140 × 85 mmGantry Hub V2 PCB, the printed circuit board in 3D

    Gantry Hub V2 PCB

    bu-gsLab/Hardware

    Repository of hardware designs for Detector Lab work. All designs when possible should be done using Autodesk Inventor 2019 or earlier.

    47 parts1

Questions

How big is the PurdueFall2023ECE477Team2 PCB?

It measures 115.3 × 171.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PurdueFall2023ECE477Team2 use?

140 parts, built around the STM32F091RCT6, SN74AHCT125N, LM2678S-12 and LM358. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PurdueFall2023ECE477Team2 KiCad files?

From the AdenKoperczak/PurdueFall2023ECE477Team2 repository on GitHub, at the commit this page was made from: the board is Schematic/Schematic.kicad_pcb and its schematic Audio AMP/Audio AMP.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PurdueFall2023ECE477Team2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask AdenKoperczak before reusing the design.