I was working on an ATTiny85 handheld game console, a project that has been done by a lot of people already. I was deciding on what kind of control scheme I want my console to have. Do I want buttons? Maybe a potentiometer? Or how about a joystick?
It was then that I realized that I could design the handheld so that players can change the controls depending on the game they want to play. It would not be a controller connected with a wire, instead there would be a slot where you can attach the controller into making the handheld into whole piece.
I was able to build two different input configurations on a breadboard.
One was using a potentiometer as an input for a knob movement, and the other one are just plain buttons.
It took me awhile to research and understand how I will be dealing with multiple button inputs as the ATTiny85 has limited input pins. The answer is using a resistor ladder to an ADC pin.
I'll talk more about these at length in my upcoming update video.
In this video I discuss my plans on how to make a handheld game console with detachable and swappable controls. Also included is a video of me making the 3D models.
Even since I came up with the idea of a modular setup for my project my head has been buzzing with ideas on how I would build it and how I would like it to look like. I decided that I should draw my plans on paper for my sanity.
As you could see, the whole design is simple. All I did was separate the controls part of the system. The tricky part is having the ATTiny distinguish and interface with different controller configurations but I'm confident that it can be solved.
I'm also worried about the position of the CR2032 which I've placed on the back of the main module. I should find a way to secure this back part in place so it doesn't wobble when connected with the controller module.
Feeling inspired I went ahead and made a 3D model of the project using Tinkercad, my program of choice for quick 3d model prototyping.
I've also prototyped my ideas for various controller configurations. Right now I have 3 different kinds of inputs in mind:
Button
Potentiometer knob
Thumb joystick
The hope is that others should be able to easily design their own controller modules if they want.
The very first thing I worked on was making sure that I could display graphics onto my SSD1306 display. Watch the video below for the step by step process that I took.
Note that I did not think of the modular controls idea yet when I made this video. I'll be talking more about the modular idea on the next video.
this was a great idea how’s it going now?