Bark It! Interactive Sensor-Based Game

1. Project Overview & Competitive Edge

The Engineering Mission: Bark It! is a sensor-driven interactive game that brings the complexity of embedded systems to canine enrichment. Unlike standard toys, this project required designing a robust hardware system capable of interpreting physical commands—tugging, digging, and placing—in real-time. The goal was to build a device that provides mental and physical stimulation through an increasing difficulty curve, similar to the classic "Bop It" game.

System Complexity: This project simulates a competitive product development environment, moving from conceptual sketches to a fully integrated hardware prototype. It features a custom-designed PCB to manage multiple sensor inputs, an LCD for real-time score tracking, and an automated state-machine architecture that coordinates audio cues with user inputs. The system demonstrates the ability to integrate distinct hardware components into a unified, reliable product.

System Validation: Testing Sensor Response and Game Logic

My Role: Lead Hardware Engineer

I took ownership of the Hardware Design and Physical Integration phases. My focus was on creating a reliable electrical foundation that could support the game's logic.

  • PCB Design: Transitioned the circuit from a complex breadboard prototype to a streamlined, custom Printed Circuit Board using Altium Designer.
  • Sensor Optimization: Evaluated and selected input components (Joysticks, Limit Switches) based on reliability and signal stability.
  • System Integration: Managed the wiring and layout within the laser-cut enclosure to ensure components remained secure during interaction.
  • Critical Problem Solving: Led the decision to pivot from ultrasonic sensors to limit switches for the "Place It" command to eliminate signal noise.
Technical Specifications
  • Central Processor: ATMega32 Microcontroller.
  • Input Sensors: Analog Joystick (Tug), Red Push Button (Dig), SPDT Limit Switches (Place).
  • User Feedback: 16x2 LCD Screen and Piezo Buzzer.
  • Power System: 5V Regulated supply with noise filtering for analog lines.
  • Enclosure: Custom-designed plywood housing with sliding joinery.

2. Advanced Hardware Implementation

The hardware design required precise coordination between the electrical circuit and the physical enclosure. I utilized industry-standard tools to create a professional-grade prototype.

PCB Engineering & Layout

I designed a custom PCB to serve as the central hub for the game, replacing a chaotic web of wires with a reliable, manufactured board.

  • Signal Routing: Routed traces to separate the noise-sensitive analog joystick signals from the high-frequency digital lines of the LCD and buzzer.
  • Component Interface: Implemented modular headers for all external sensors. This design choice allowed us to mount sensors on the enclosure walls and run wires back to the PCB cleanly.
  • Stability: Included necessary pull-down resistors and decoupling capacitors directly on the board to ensure stable logic levels for the ATMega32.
Engineering Challenge: Sensor Reliability

A major engineering hurdle occurred with the "Place It" command.

  • The Problem: We initially planned to use an ultrasonic sensor to detect when the ball was placed. However, testing revealed that the sensor was unreliable due to signal scattering from the ball's curved surface.
  • The Solution: I re-engineered the input to use a Limit Switch mechanism. I designed a physical lever arm that triggers the switch when the ball drops. This mechanical approach provided a clean, binary signal (High/Low) that was far more reliable than the ultrasonic data, ensuring the game functioned correctly every time.

3. Sensor Integration & Functionality

The core of the project relies on interpreting physical actions into digital logic. Each command utilizes a specific sensor chosen for its mechanical properties.

Command Sensor Component Hardware Implementation Engineering Function
Tug It Analog Joystick Voltage Divider (X/Y Axis) Detects directional movement when the rope is pulled. The joystick's internal potentiometers provide an analog voltage change read by the ATMega32 ADC.
Dig It Large Push Button Digital Input (Active Low) A durable interface for paw presses. Wired with pull-up resistors to ensure a clean transition from High to Low voltage when actuated.
Place It Limit Switch Mechanical Trigger Replaced unreliable ultrasonic sensors. The switch creates a physical break/make in the circuit when the ball's weight depresses the lever.

4. Engineering Skills & Tools Applied

Hardware & Design
PCB Design (Altium) Schematic Capture Sensor Selection Circuit Prototyping Soldering & Assembly SolidWorks (Enclosure) Laser Cutting
System Integration
Signal Integrity Failure Analysis System Debugging Technical Documentation Team Collaboration Project Management Design Verification