Mini Rotx - Games
Introduction to the New Retrogames Cabinet with Screen Rotation System (Work in progress...)
We are excited to introduce our new Retrogames Cabinet featuring an innovative screen rotation system, designed for retro gaming enthusiasts. This device combines the charm of classic arcade machines with modern technology, delivering a more immersive and customizable gaming experience.
At the core of the system is the powerful and compact Raspberry Pi Zero, running on the RetroPie platform, providing access to a wide array of retro games. The true standout feature, however, is the 2.8" display with a rotating mechanism, allowing easy transitions between vertical and horizontal orientations. This feature is perfect for optimizing gameplay across a variety of titles, from classic shoot 'em ups to beloved platformers.
The cabinet also includes an integrated audio system, ensuring clear and immersive sound to enhance the nostalgic gaming atmosphere. Whether you're looking to relive arcade magic or discover new classic titles, this cabinet offers the perfect fusion of the past and present, making it an ideal choice for any retro gaming fan.
Subscribe to my channel to support my projects, thank you!:https://www.youtube.com/@matixvision
license: https://creativecommons.org/licenses/by-nc-sa/4.0/
Componets List
- Kit Tactile Push Button Switch - 6x6x4.3 - x - 2
- Kit Tactile Push Button Switch - 6x6x6 - x - 2
- Pro Micro ATmega32U4 5V 16MHz ATmega328 Leonardo - x - 1
- Modulo Joystick Ky-023 Arduino - x - 1
- Led White 5mm - x - 1
- 220 ohm 1/4 watt resistor (for led) - x -1
- 3 Pin 2 Position Black Mini Size SPDT Slide - x -1
- 2.8inch 320X240 SPI Module ILI9341 - x -1
- Mini Speaker DVD EVD 2W 8Ohm - x - 1
- I2S 3W Classe D Amplificatore-Audio, MAX98357A - x - 1
- Raspberry Zero w2 - x -1
- Aluminum alloy heat sink for Raspberry Pi Zero 2W - x - 1
- MicroSD 16GB - x - 1
- Solderable micro USB Type-C connector with snap-in slot- x - 1
- Micro USB 5 Pin Type-B Male 4-Piece Solder Connector Plug Black Cover B - x -2
- Stepper 28BYJ-48 - x - 1
- Driver Module ULN2003 - x - 1
- Micro switch - x - 1
- Breakout Board Module, Raspberry Pi GPIO - x - 1
- Battery PL654 06 0 3.7V 2000mAh 7.4WH - x - 1
- Battery Charge J5019 Micro USB Lithium - x - 1
- Small hardware, M2 and M3 screws, brass insert nut, various kits, etc.
Tools List
- Soldering Kit + solder wire spool.
- Soldering jumper wires kit
- 3D Printer
Schema
IPS 2.8" Display Assembly
Steps to connect the 2.8-inch display:
- Gather the wires: Get colored wires with a 0.25 mm² section. You will need at least 9 wires, including red and black for power supply.
- Prepare the wires: Cut the wires to the required length and strip the ends. Make sure to carefully prepare the red and black wires for the power connection.
- Soldering the wires: Follow the soldering diagram shown in the reference photo. Solder each wire carefully to the corresponding pins on the display, paying attention to correct polarity and connections.
- Apply heat shrink tubing: Before completing the soldering, slide a piece of heat shrink tubing, about 1.5 cm long, onto each wire. Once the wires are soldered, slide the tubing over the solder joint and use a heat source (like a lighter or heat gun) to shrink the tubing, protecting the solder joints.
- Assembling the case: After completing the connections, follow the reference images to insert the display into the 3D-printed case. Ensure that the wiring passes through the designated spaces and is neatly arranged.
- Closing the case: Close the case as shown in the pictures, ensuring all wires are correctly positioned and the display is securely housed.
Rpi Assemply
Joy Controller Assembly
To assemble the joystick controller using two 6x6x6 mm micro switches for the top and two 6x6x4.3 mm for the bottom, along with the KY-023 joystick and connecting them to the Arduino ATmega32U4 Leonardo via 8 colored wires, here are the detailed steps:
Required Materials:
- 2 Micro switches (6x6x6 mm) for the top
- 2 Micro switches (6x6x4.3 mm) for the bottom
- 1 Joystick KY-023
- 8 colored wires (to keep the wiring organized)
- Arduino ATmega32U4 (Leonardo) 5V/16MHz
- Soldering iron (for final connections)
- Screwdrivers and pliers for assembly
1. Component Preparation:
- Check the 6x6x6 mm micro switches for the top part of the controller and the 6x6x4.3 mm for the bottom.
- The KY-023 joystick has three main connections: VCC, GND, and OUT (outputs for X, Y, and SW, the central button).
2. Positioning the Micro Switches:
- Top part:
- Place the two 6x6x6 mm micro switches at the top of the controller structure. These will handle vertical movements (forward/backward).
- Bottom part:
- Place the two 6x6x4.3 mm micro switches at the bottom. These will manage horizontal movements (left/right).
Make sure the micro switches are securely fixed and the buttons can be pressed properly.
3. Connecting the Micro Switches to the Arduino:
Each micro switch has two terminals, one for the signal and one for ground.
- Wiring the micro switches:
- Connect one end of each micro switch to the GND pin on the Arduino.
- Connect the other end of the four micro switches to the digital pins on the Arduino:
- Pin 2: Top micro switch 1 (Forward)
- Pin 3: Top micro switch 2 (Backward)
- Pin 4: Bottom micro switch 1 (Left)
- Pin 5: Bottom micro switch 2 (Right)
- Use 4 different colored wires to distinguish the connections and make testing easier.
4. Connecting the Joystick KY-023 to the Arduino:
- The KY-023 uses analog outputs for X and Y, and a digital output for the SW button.
- VCC: Connect to 5V on the Arduino Leonardo.
- GND: Connect to a GND pin on the Arduino.
- XOUT: Connect to A0 pin (reads the X position of the joystick).
- YOUT: Connect to A1 pin (reads the Y position of the joystick).
- SW: Connect to a digital pin, for example, pin 6, to handle the joystick’s central button.
Use three colored wires to differentiate VCC, GND, and signal X/Y.
5. Verifying the 8-Wire Connection:
Here’s a summary of the complete wiring:
ComponentPin on Arduino Leonardo
- Top micro switch 1 - Pin 2
- Top micro switch 2 - Pin 3
- Bottom micro switch 1 - Pin 4
- Bottom micro switch 2 - Pin 5
- Joystick XOUT - A0
- Joystick YOUT - A1
- Joystick SW - Pin 6
- VCC (Joystick & Buttons) - 5V
- GND (Joystick & Buttons) - GND
Ensure all connections are secure, and there are no exposed wires that might cause short circuits.
6. Programming the Arduino:
Now that everything is connected, you’ll need to upload a sketch to the Arduino Leonardo to handle input from the micro switches and joystick. Here’s a basic example code "JoyMiniRotx.ino" from link: minirotx
Audio Assembly
Link & Media Download
- https://github.com/RetroPie/RetroPie-Setup/releases/download/4.8/retropie-buster-4.8-rpi1_zero.img.gz
- https://github.com/gidalo/minirotx
3D Printing Part & Pre Assemble
Program Rpi Img
Compile e Programming the Rpi Zero:
Here’s a basic example code from link: minirotx