|
arduino IDEArduino
|
Sexmachine
"SEXMACHNE" is a implementation of the Classic Arcade LightGun for playing games on a Raspberry PI connected to a legacy arcade monitor, using a modified Advance Mame Emulator and an ESP32.
The classic arcade lightgun is still being manufactured by SUZOHAPP.
You can find more information about it here.
You can see it in action here:
The Concept
The concept behind this setup is the same used on most of the LightGun arcade games, such as Operation Wolf, Lethal Enforcers, Area 15 and others:
- When the gun trigger is pressed, the game paints a whole white frame;
- The CRT monitor starts painting it from the top left of the corner, to right bottom corner;
- The game starts counting;
- Inside the LightGun there's a double convex lens converging the light focus to phototransistor; and
- When the light hits the phototransistor, the position is calculated according to the registered counter.
However for a wider compatibility SEXMACHINE's setup is slightly different:
- The Sexmachine's Advance Mame monitors the gun trigger via GPIO;
- When the trigger is pressed, the emulator waits for a VSync, paints a white frame, then wait for VSync again.
- The ESP32 have Interrupts attached to the VSync and HSync video pulses, along with the optical sensor from the gun; and
- The ESP32 monitors every scanline and, in case of a hit, notifies the emulator via serial communication for it to translate the right gun shot position to the game.
For detailed instructions and documentation, please visit the Projet's Github page:
https://github.com/ninomegadriver/lightgun/tree/main/sexmachine
Sexmachine
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(1)
- Likes(2)
- Dennis Watterston Dec 19,2023
- huifeng yao Sep 08,2023
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
8design
-
7usability
-
8creativity
-
6content
More by Antonio Tornisiello
- N64 to Jamma The N64Jamma emulates two gamepads mapped to a standard Jamma edge connector. Buttons are mapped to ...
- Sexmachine "SEXMACHNE" is a implementation of the Classic Arcade LightGun for playing games on a Raspberry PI c...
- Jamma Development Board Generic Jamma development board featuring:Slots for two microcontrollers or logic ICsThree DB9 slots...
- PiPico Jamma A Jamma arcade board for Raspberry Pi 3/4Main features:Fully mapped Jamma buttons + kick buttons emu...
-
-
Helium IoT Network Sensor Development board | H2S-Dev V1.2
91 0 0 -
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
176 1 1