Skip to the content
2 layers111.9 × 104.1 mmUser Interface, the printed circuit board in 3D

Purdue ECE Senior Design. A Player vs. Robot foosball table consists of ball tracking, trajectory computation, and motion control. We plan to use 4 microcontrollers to perform the tasks and an OLED display to interact with the user.

Size
111.9 × 104.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
20
Nets
22
Pads
62
Tracks, vias
121, 4
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
10 Jan 2024
Updated
25 Apr 2024

Overview

User Interface is an open-source printed circuit board by Stamic-kk, from the Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball repository on GitHub, published under the MIT licence. It is a 2-layer board of 111.9 × 104.1 mm with 20 parts on 22 nets, routed with 121 tracks and 4 vias.

Its parts include 6 resistors and 5 capacitors. It belongs with the lEDs and displays and interfaces and adapters boards of this library.

README

README.md

CyberBall-Showdown-The-Ultimate-PVR-Foosball

Purdue ECE Senior Design. A Player vs. Robot foosball table consists of ball tracking, trajectory computation, and motion control. A Jetson Nano serves as the central computation core, and a STM32F091 MCU is charge of all measurements and motion controls.
See our website for any progress: https://engineering.purdue.edu/477grp9/

Description

Project Name: Cyberball: The Ultimate PVR Foosball

Foosball has been a popular form of entertainment for people of all ages. However, one constraint of the game is that it needs two people to play. It is not entertainment for an individual. Based on this issue, “Cyberball: PVR Foosball table” enables a player to play against an automated system, which consists of a high speed camera, three arrays of digital hall-effect sensors, two dedicated MCUs, and a set of servo motors. The STM32 MCU leverages the data collected from hall-effect sensors to determine the location of the players on the rods. It then sends the location data to the Jetson Nano Developer Kit via UART protocol. The high speed camera captures the images of the foosball table and sends them to the Nano developer kit by USB protocol and Gstreamer pipeline with v4l2. Nano Developer Kit runs the Min-Max Location algorithm from the vision programming interface(VPI) to locate the ball, predict the trajectory using the extended Kalman filter, and make the decisions on moving rods, which the MCU processes into motor control signals. To achieve the detection purpose, the ball is colored uniquely. A sensitive pressure sensor is used to detect the goals. The dynamics of the system contain two dimensions. For the rotational aspect, each rod has a high torque servo motor attached. These motors are continuously signaled on a constant frequency PWM, which allows the figures on the rods to maintain a swaying, kicking motion. For lateral movement, a structure of cables and pulleys transfers the angular momentum generated by a high speed servo motor to the linear motion of the rod. An MCU generates the PWM signal that activates the transistor channels between the servo and the DC source to make the servo rotate to the desired angle. This angular displacement pulls the cable attached to the rod, moving it horizontally. An OLED display and a keypad connected to the STM32 act as the user interface where the users start/reset the game and view their goals. The OLED display communicates with the MCU with the SPI protocol and can be used to display the scores and user command options. The keypad (button array) communicates with the MCU through GPIO to send commands including start (power-on), re-start, and pause. The power constraints are summarized as follows. The system needs a 6.8V DC for all 6 servo motors. MCUs and Jetson Nano will be powered by a 3.6V DC and a 5V=4A supply, respectively. The total power consumption is estimated to be 120W. The user simply plugs in the supplied 12V 30A AC/DC adapter. A set of buck converters and linear regulators will step down the main power source to voltages/currents required by the components.

File Organization

CAD

Fusion 3D file for packaging design.

CyberBall - Configuration Code deployed on STM32F091 MCU (via Software Peripheral)

inc - include headers
src - source files
CyberBallConfig.cfg - run/debug configuration

PCB - Kicad PCB design files

Librarys - Customized PCB layouts
Hall_effect_sensors - Rod Position measurement board (x3)
Power_Supply - Power supply board (commerical regulator modules needed)
Senior Design - Main function board
User_Interface - User Interface board with a screen on it.

nanoBrain - central control system runing on Jetson Nano.

cppSolution - CMAKE project for the workflow running on Jetson Nano\

include - include headers
src - source files
uKal - helper submodule for the Kalman filter\

Notes

IMPORTANT: The VDD and GND pin are reversed on the pinout of connection for servos on the power supply board.

  • VDD labled on the board should connect to GND pin on the servo.
  • GND labled on the board should connect to VDD pin on the servo.
  • No changes should be made for PWM control signals.

Note: disabled nvgetty for uart

Parts

20
QtyValueFootprintReferences
610kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R4, R5, R6
4MountingHoleMountingHole:MountingHole_4mmH1, H2, H3, H4
31uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2, C3
10.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC5
110uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC4
1RESETButton_Switch_THT:SW_PUSH_6mm_H4.3mmRESET1
1STARTButton_Switch_THT:SW_PUSH_6mm_H4.3mmSTART1
1STOPButton_Switch_THT:SW_PUSH_6mm_H4.3mmSTOP1
1~Connector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalOLED1
1~Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalMAIN_CONTROL1

More from Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball

3
  • 2 layers97.2 × 110 mmSenior Design, the printed circuit board in 3D

    Senior Design

    Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball

    Purdue ECE Senior Design. A Player vs. Robot foosball table consists of ball tracking, trajectory computation, and motion control.

    44 parts3MIT
  • 2 layers165.7 × 188 mmPower Supply, the printed circuit board in 3D

    Power Supply

    Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball

    Purdue ECE Senior Design. A Player vs. Robot foosball table consists of ball tracking, trajectory computation, and motion control.

    23 parts3MIT
  • 2 layers200 × 18.7 mmHall effect sensors, the printed circuit board in 3D

    Hall effect sensors

    Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball

    Purdue ECE Senior Design. A Player vs. Robot foosball table consists of ball tracking, trajectory computation, and motion control.

    16 parts3MIT

Similar boards

  • 2 layers66.9 × 74.5 mmDeskHop Rev1, the printed circuit board in 3D

    DeskHop Rev1

    hrvach/deskhop

    Fast Desktop Switching Device

    20 parts7.9kGPL-3.0
  • 2 layers86.4 × 64.8 mmSlot machine, the printed circuit board in 3D

    Slot machine

    google/google-ctf

    Google CTF

    20 parts5.1kApache-2.0
  • 2 layers36.2 × 26.8 mmEsp32 minimal, the printed circuit board in 3D

    Esp32 minimal

    atopile/atopile

    Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️

    20 parts4kMIT
  • 2 layers108.1 × 393.8 mmSweep compact ble, the printed circuit board in 3D

    Sweep compact ble

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    20 parts2.1k
  • 2 layers26 × 15.9 mmTPS54340 Buck Regulator, the printed circuit board in 3D

    TPS54340 Buck Regulator

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    20 parts1.2k
  • 2 layers67.6 × 30.5 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    20 parts1kGPL-3.0
  • 2 layers44.3 × 28.7 mmLin bus adapter esp32, the printed circuit board in 3D

    Lin bus adapter esp32

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    20 parts915
  • 2 layers89.5 × 61.6 mmFreeDeck TH 2020-02, the printed circuit board in 3D

    FreeDeck TH 2020-02

    FreeYourStream/freedeck-hardware

    all the stuff you need to build your own FreeDeck

    20 parts772

Questions

How big is the User Interface PCB?

It measures 111.9 × 104.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the User Interface use?

20 parts. 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 User Interface KiCad files?

From the Stamic-kk/CyberBall-Showdown-The-Ultimate-PVR-Foosball repository on GitHub, at the commit this page was made from: the board is PCB/User_Interface/User_Interface.kicad_pcb and its schematic PCB/Hall_effect_sensors/Hall_effect_sensors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the User Interface design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).