Just Another ATtiny85 Retro Gaming Console

by Arnov Sharma in Circuits > Electronics

1748 Views, 7 Favorites, 0 Comments

Just Another ATtiny85 Retro Gaming Console

Homemade Attiny85 Oled Retro Gaming Console

A small retro Console-like setup based around ATtiny85 x 0.96 OLED for playing space invaders, Tetris, etc.

Supplies

  • Oled 0.96inch x 1
  • Attiny85 x1
  • Programmer setup for Programming Attiny85 x 1
  • Switch x 3
  • 10K Resistor SMD 0805 x 2
  • 1K Resistor SMD 0603 x 2
  • LED 0603 x 1
  • M7 diode SMA x 1
  • USB micro port x 1
  • 7K Resistor SMD 0603 x 1
  • Custom PCB (Gerber Data is attached)
  • FR4 copper board
  • etched PCB (PDF is attached)

STORY-

20200721_233128.jpg

Hi everyone! So This is my DIY Oled based Retro Gaming console
(actually its not a gaming console, but a setup which connects a generic 0.96inch Oled with an Attiny85) Let me show you guys how I made this. also, the code for this project is pretty common and available online, I just took that code and did a few changes and made PCB for it.

STEP 1 Getting the Board Ready

Capture.PNG
20200721_165659.jpg
20200721_165707.jpg
20200721_171454.jpg
20200721_193340.jpg
20200721_223054.jpg
20200721_225009 - Copy.jpg

Getting the board Ready

Originally, I wanted to make this board properly with this PCB which I prepared last month but because of COVID19, I was unable to place order because of shipment issue so I decided to etch the PCB by changing the PCB Design a little so I can make it one-sided instead of two-sided PCB. I used OrCad to design the PCB, and then generated a pdf for printing the board on a photo paper for etching. if you guys want to make your own, then the schematic, and Gerber data for proper PCB is attached.

I first print out the PDF of the board on a photo paper with an inkjet printer, then I cut an FR4 copper board PCB according to the PCB size.

if you guys want to learn more about the etching process, you can watch the video I've linked. https://youtu.be/67jUdH9ZwS4

After etching, I start adding components to this board.

Adding components to this PCB is pretty easy and straight forward, follow the attached illustration for SMD components.

after adding SMD Components, just go ahead and start adding the remaining leaded components, like switches, Oled, and other stuff. Watch the video for more thorough details. Also, because this board is not completely one-sided, I added jumpers on a few points to make life a little easy. After assembling everything, we just need to add the battery to its assigned connector port and power the whole thing up.

but wait, how to program the attiny85!

Downloads

Programming the Attiny85

20200721_232921.jpg
Capture6.PNG

Attiny85 and Attiny13A is my Favorite microcontroller as they are cheap and can be used in a variety of projects which doesn't require overkill hardware and connectivity options, for example- Oled Gameboy!

In order to program the Attiny85 MCU, you gonna need an ISP programmer I've already made a post about programming the Attiny85 with the custom programmer so do check that out.

Post about programming attiny85 with custom ISP

so I'm gonna skip the programming process, let's just say we need to burn the bootloader first and then flash the attiny85 with the provided code. Note- you need to add the header file provided with the main code in the main code folder crated, then add the whole folder in the Arduino sketch folder in Documents (follow the image attached).

Powering the Game Console and RESULTS

20200722_153632.jpg
20200722_153658.jpg
Homemade Attiny85 Oled Retro Gaming Console

In order to power this board, I've added a battery connector, a Li-ion battery can be connected which it.

This is still the V1 and the next level of this project will be to make a proper PCB and solder everything onto it.. also, maybe we can add a UI in it so we can select more than 1 game. For now, if you run into some issues just Leave a comment.
ADIOS!