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.
watch the video first-
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.
the original post is -https://electronoobs.com/eng_arduino_tut120.php but his version also isn't the original one.
also, Thanks UTSOURCE.net to offer electronic components for this project!you can check UTSOURCE.net, they deal in all kinds of electronics components like for example Attiny84, Resistors, switches, and other discreet electronics components which I'm using in this project.
Gather the materials that we need.
- Oled 0.96inch x 1
- Attiny85 x1
- Programmer setup for Programming Attiny85 x 1
(you can use Arduino Uno as Programmer here- https://www.hackster.io/Oniichan_is_ded/learn-how-to-program-attiny85-and-attiny13a-167359 or make your own Custom programmer-https://www.hackster.io/Oniichan_is_ded/multiple-attiny85-13a-programmer-84adf8 )
- 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 available for Manufacturing)
- FR4 copper board
- Etched PCB (PDF available for manual PCB making Process via Tone transfer)
watch this if you want to know about how to make PCB via the tone transfer method-
This is version 1, which is completely homemade. I etched its PCB from copper Fr board which you can buy from amazon or something.
V2 is kinda the same but with a better PCB and cool silkscreen with a white color solder mask.
originally, I wanted to make this board properly with this PCB which I prepared last month but because of COVID, 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.
"Getting the board Readyand adding components to it"
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.
rest is the generic tone transfer etching procedure, watch my video about this topic.
I'm gonna skip to the finished etched PCB.
Adding components to this PCB is pretty easy and straight Forward, follow this illustration for SMD components
after adding SMD Components, just go ahead and start adding the remaining leaded components, like switches, Oled, and other stuff.
also, because this board is not completely one-sided, I added jumpers on 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 whole thing up.
wait, how to program the attiny85!
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 so do check that out-https://www.hackster.io/Oniichan_is_ded/learn-how-to-program-attiny85-and-attiny13a-167359
and also about making your own Arduino Nano based Attiny Programmer-https://www.hackster.io/Oniichan_is_ded/multiple-attiny85-13a-programmer-84adf8
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.
"Powerand Testing the board"
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.