Mini Rotx - Games

by matixvision in Workshop > 3D Printing

59 Views, 1 Favorites, 0 Comments

Mini Rotx - Games

MiniRotx.jpg
Project Basics_03.png
Project Basics_05.png
Project Basics.png
Project Basics_04.png
Project Basics_02.png
MatixVision_00.png

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

IMG_7588.jpg
IMG_7589.jpg
RpiZerow2.png
IMG_7590.jpg
Breakout Board Module Raspberry Pi.png
Ky-023.png
USB-C_connector.png
Pro Micro ATmega32U4 5V 16MHz ATmega328 Leonardo.png
IMG_7593.jpg
IMG_7594.jpg
IMG_7539.jpg
Brass_insert_nut.png
Mini_Speaker_DVD_EVD.png
Aluminum alloy heat sink.png
  1. Kit Tactile Push Button Switch - 6x6x4.3 - x - 2
  2. Kit Tactile Push Button Switch - 6x6x6 - x - 2
  3. Pro Micro ATmega32U4 5V 16MHz ATmega328 Leonardo - x - 1
  4. Modulo Joystick Ky-023 Arduino - x - 1
  5. Led White 5mm - x - 1
  6. 220 ohm 1/4 watt resistor (for led) - x -1
  7. 3 Pin 2 Position Black Mini Size SPDT Slide - x -1
  8. 2.8inch 320X240 SPI Module ILI9341 - x -1
  9. Mini Speaker DVD EVD 2W 8Ohm - x - 1
  10. I2S 3W Classe D Amplificatore-Audio, MAX98357A - x - 1
  11. Raspberry Zero w2 - x -1
  12. Aluminum alloy heat sink for Raspberry Pi Zero 2W - x - 1
  13. MicroSD 16GB - x - 1
  14. Solderable micro USB Type-C connector with snap-in slot- x - 1
  15. Micro USB 5 Pin Type-B Male 4-Piece Solder Connector Plug Black Cover B - x -2
  16. Stepper 28BYJ-48 - x - 1
  17. Driver Module ULN2003 - x - 1
  18. Micro switch - x - 1
  19. Breakout Board Module, Raspberry Pi GPIO - x - 1
  20. Battery PL654 06 0 3.7V 2000mAh 7.4WH - x - 1
  21. Battery Charge J5019 Micro USB Lithium - x - 1
  22. Small hardware, M2 and M3 screws, brass insert nut, various kits, etc.

Tools List

Soldering_Kit.png
  1. Soldering Kit + solder wire spool.
  2. Soldering jumper wires kit
  3. 3D Printer

Schema

Schema_0.1.4b.png
Joystick&Button.png
FZMKCSPM2EQQ1GX.jpg
FMPAYLVM2EQQ1DW.jpg
FNZHSPOM2EQQ0Q6.jpg
FQ9RMOEM2Q68TY5.jpg
F6CWTFTM2EQQ0OV.jpg
FAZRAK9M2EQQ0MC.jpg

IPS 2.8" Display Assembly

IMG_7466.jpg
IMG_7461.jpg
IMG_7462.jpg
IMG_7464.jpg
IMG_7465.jpg
IMG_7447.jpg
IMG_7455.jpg
IMG_7456.jpg
IMG_7458.jpg
IMG_7460.jpg

Steps to connect the 2.8-inch display:


  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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

F5TPAM3M2EQQ1AY.jpg
FM8L2H3M2EQQ1CE.jpg
FBYVSE1M2YQVN0W.jpg
IMG_7647.jpg
IMG_7678.jpg
F95SQRUM2EQQ1K2.jpg
IMG_7683.jpg
IMG_7682.jpg
IMG_7757.jpg
IMG_7756.jpg
IMG_7758.jpg
IMG_7682.jpg

Joy Controller Assembly

F7RW9P3M2Q68TRV.png
IMG_7527.jpg
IMG_7524.jpg
IMG_7525.jpg
IMG_7526.jpg
JoyMiniRotxCode.png

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:

  1. 2 Micro switches (6x6x6 mm) for the top
  2. 2 Micro switches (6x6x4.3 mm) for the bottom
  3. 1 Joystick KY-023
  4. 8 colored wires (to keep the wiring organized)
  5. Arduino ATmega32U4 (Leonardo) 5V/16MHz
  6. Soldering iron (for final connections)
  7. Screwdrivers and pliers for assembly

1. Component Preparation:

  1. Check the 6x6x6 mm micro switches for the top part of the controller and the 6x6x4.3 mm for the bottom.
  2. 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:

  1. Top part:
  2. Place the two 6x6x6 mm micro switches at the top of the controller structure. These will handle vertical movements (forward/backward).
  3. Bottom part:
  4. 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.

  1. Wiring the micro switches:
  2. Connect one end of each micro switch to the GND pin on the Arduino.
  3. Connect the other end of the four micro switches to the digital pins on the Arduino:
  4. Pin 2: Top micro switch 1 (Forward)
  5. Pin 3: Top micro switch 2 (Backward)
  6. Pin 4: Bottom micro switch 1 (Left)
  7. Pin 5: Bottom micro switch 2 (Right)
  8. Use 4 different colored wires to distinguish the connections and make testing easier.

4. Connecting the Joystick KY-023 to the Arduino:

  1. The KY-023 uses analog outputs for X and Y, and a digital output for the SW button.
  2. VCC: Connect to 5V on the Arduino Leonardo.
  3. GND: Connect to a GND pin on the Arduino.
  4. XOUT: Connect to A0 pin (reads the X position of the joystick).
  5. YOUT: Connect to A1 pin (reads the Y position of the joystick).
  6. 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

  1. Top micro switch 1 - Pin 2
  2. Top micro switch 2 - Pin 3
  3. Bottom micro switch 1 - Pin 4
  4. Bottom micro switch 2 - Pin 5
  5. Joystick XOUT - A0
  6. Joystick YOUT - A1
  7. Joystick SW - Pin 6
  8. VCC (Joystick & Buttons) - 5V
  9. 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

Audio.png
IMG_7681.jpg

Link & Media Download

RetroPiDownload.png
  1. https://github.com/RetroPie/RetroPie-Setup/releases/download/4.8/retropie-buster-4.8-rpi1_zero.img.gz
  2. https://github.com/gidalo/minirotx

3D Printing Part & Pre Assemble

FullFrames.png
IMG_7811.jpg
TwoGear_28BYJ-48.png
IMG_7789.jpg
IMG_7790.jpg
IMG_7632.jpg
IMG_7633.jpg
IMG_7605.jpg
IMG_7680.jpg
IMG_7673.jpg
IMG_7674.jpg
IMG_7675.jpg
IMG_7676.jpg
IMG_7677.jpg
IMG_7678.jpg
FrontFrame.png
IMG_7755.jpg
IMG_7756.jpg
IMG_7757.jpg
IMG_7758.jpg
F95SQRUM2EQQ1K2.jpg

Upgrade

IMG_7997.jpg
IMG_7996.jpg

Program Rpi Img

RpiPiImagerTools.png
RpiPiImagerTools_2.png

Compile e Programming the Rpi Zero:

Here’s a basic example code from link: minirotx