80wWcnBe

SimGETRO - An arcade-style game controller

 
Overview

Warning: You may not use or partially use the resources of this project for any form of commercial activity in any way or for any purpose!

SimGETRO:
A main controller design for an arcade-style game controller. Please be gentle with your criticism, as this is a rough draft. Discussion QQ group: 811740405.
Main Controller - Core
Explanation:
Some design aspects were indeed not well thought out initially, but this project is difficult to modify... so let's just leave it as it is for now.
The specifications

utilize the WCH CH32V203 as the main controller, based on a RISC-V architecture. The CH422 acts as a co-processor for lighting .
It can connect to a 6-pin common-anode integrated microswitch, operating on 5V. It outputs
3 WS2812B signals
, 1 UART signal (3.3V, usable to drive PN532 card readers)
, 1 SPI signal (3.3V, usable to drive magneto-electric encoders)
, 2 high/low level inputs (onboard pull-up supports open-drain input, usable for GP1A173 signal input),
and 5 general button signals. It can also be programmable for other uses
and provides a debugging interface. Firmware

and compilation are supported using 5V power.
[Main controller source code repository]<
Please note that the source code may be updated at any time, and its availability and completeness are not guaranteed. The source code repository does not utilize the full capabilities of the chip. We welcome your contributions to the source code for collaborative development.
You need to obtain the firmware by compiling the source code. To compile the source code, please install EIDE in your VSCode as the development and compilation environment, and use EIDE to install RISCV_GCC and OPENOCD_WCH 8.2.0. If you are using a different version of OpenOCD, please modify your toolchain path in the build configuration -> right-click menu of your EIDE project. Please note that changing the toolchain version may cause compilation failure.
To flash the firmware, please use WCHISPTools and flash it via USB.
Card Reader - CardReader
Notes

2024-10-13 Updated the card reader PCB circuit design. The new design has better compatibility and can read irregularly shaped cards.

The specifications

use the PN532 as the card reader IC and the WS2812 as the LED
UART input. An IRQ signal was not specified.
The PN532 uses a 3.3V power supply, and the WS2812 uses a 5V power
supply. The PN532 uses a 4-pin XH2.54 input for power and UART signals, and the WS2812 uses a
3-pin PH2.0 input for power and LED signals . Please use a reverse XH2.54 4-pin cable and a reverse PH2.0 3-pin cable to connect the card reader and the main controller. The main controller repository currently does not contain the actual card reader implementation, only CDC pass-through PC test code for hardware testing. We hope someone can contribute code to help develop and improve this part. Additionally, the antenna impedance matching was done with a calculator, so we cannot guarantee that the impedance matching will match the actual frequency. It only works well so far, and we hope an expert can guide us on better impedance matching configurations. The front I/O panel (FrontPannel ) provides USB-B and 3.5mm audio inputs and includes ESD protection. Specifications: USB-B to XH2.54 4P with ESD ; 3.5mm audio to PH2.0 3P rear I/O panel - BackPannel : 3.5mm audio output ; PH2.0 3P to 3.5mm audio side button - Side: Provides side button backlight and optocoupler signal conversion ; One 2811 signal input, 5V, PH2.0 3P; One optocoupler signal extension, PH2.0 3P ; Integrated micro switch - Switch: Provides micro switch signal and simultaneously accepts LED signal for illumination; PH2.0 6P interface, providing one switch signal and one 5V common anode RGB signal input.

































参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 10:18:07
  • Mobile phone manufacturers' new strategies in China
  • ATSC CC source code
  • Have you ever seen Koizumi suffer so badly? - The Chinese people are so happy
  • CCS3.1 Issues
  • Audio and video issues under wince
  • [Transfer] Microstrip and Stripline Design

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号