Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.24 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.24 KB

Build Status

Welcome to tRexRunnerNano Project

About

This project tries to be the smallest implementation of Google's easter egg T-Rex Runner with resolution of only 128x32px. alt text

The goal is to make a small game console by using Atmels Atmega88 microcontroller and SSSD1306 oled display.

Schematic & PCB

Made with AUTODESK EAGLE 9.0.0

3D model

Made with FreeCAD 0.18

DM DIY-MORE OLED-091

Popular I2C OLED 32x128 display from diy-more has an issue. It doesn't properly start after power on, but starts without problems after reset. To solve this problem swap R3 and R4 resistors.

Solution found at: https://youtu.be/__3InV5tdzM

Building

cd firmware
make hex

Flashing the MCU

Before flashing set up the AVR programmer by changing the value of PROGRAMMER variable in firmware/Makefile. By default it is set to usbasp.

PROGRAMMER = usbasp

To flash fuses, firmware and eeprom:

cd firmware
make program

To flash firmware only:

cd firmware
make flash

For more information:

cd firmware
make