Skip to content

ProjectBots/ATmega32-BrickBreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ATmega32 BrickBreaker

This project implements a version of the classic BlockBreaker game using the ATMega32 microcontroller. The game features real-time paddle control using a 1-axis joystick and runs on an embedded system with a graphical display.


๐ŸŽฎ Features

  • BlockBreaker-style paddle and ball gameplay
  • One-axis joystick control for paddle movement
  • Collision detection with blocks, walls, and paddle

๐Ÿงฐ Hardware Requirements

  • ATMega32 Microcontroller
  • 1-axis Joystick Analog input via ADC
  • Display Module OLED via SPI

๐Ÿ•น Controls

  • Joystick Left/Right: Move paddle left or right

Direction and Speed are detected through reading the analogue values.


๐Ÿ”Œ Pin Configuration

Component ATMega32 Pin
Joystick X PA0
OLCD PORTB (SPI)
VCC/GND 5V / GND

๐Ÿง  Software Details

  • Language: C (AVR-GCC)
  • Clock Speed: 8 MHz

๐Ÿ”ง How to Build & Flash

  1. Build the project:

    run task "PlatformIO Build"

  2. Flash to ATMega32:

    connect ATMega32 via JTAG
    run task "PlatformIO Upload"


๐Ÿง‘โ€๐Ÿ’ป Author

Created by Wolfgang Pawelka and Matthias Wurmannstรคtter.


๐Ÿ“ License

This project is open-source and available under the GNU General Public License v3.0.

About

This project implements a version of the classic BlockBreaker game using the ATMega32 microcontroller.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages