Coder Social home page Coder Social logo

flexifi / daemonbite-arcade-encoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mickgyver/daemonbite-arcade-encoder

0.0 0.0 0.0 2.67 MB

An arcade controller project for the MiSTer FPGA project and any other device accepting USB HID joysticks. Up to 12 buttons are supported. Can also be used to create NeoGeo/Atari/Commodore/Amiga controller to USB adapters.

License: GNU General Public License v3.0

C++ 100.00%

daemonbite-arcade-encoder's Introduction

DaemonBite-Arcade-Encoder

This is an arcade controller project for the MiSTer FPGA project and any other device accepting USB HID joysticks using an Arduino Pro Micro. This project can also be used to create a NeoGeo/Atari/Commodore/Amiga controller to USB adapters.

This project is an open source "lite" version of an arcade encoder I sell in my shop. If you want to support my work I sell the fully featured ones at https://daemonbite.com.

The input lag for an arcade controller or adapter built around this project is minimal. Here is the result from a test with a 1ms polling rate on a MiSTer with this project:

Samples Average Max Min Std Dev
13962 0.74ms 1.28ms 0.23ms 0.29ms

Wiring (Arcade Controller)

The wiring is simple. Connect one leg of each microswitch to GND and the other leg to the digital pin according to the schematic below. That's it!
Assemble1

Recommended layout (for PS3 stick compatibility)

Blue text in image (silk screen) corresponds to the Bx button numbers in the image for wiring above. Assemble2

Wiring (NeoGeo USB Adapter)

Assemble3

Wiring (Atari/Commodore/Amiga USB Adapter)

Assemble4

Programming the Arduino

  1. Download the free Arduino IDE: https://www.arduino.cc/en/main/software
  2. Connect the Arduino Pro Micro to a USB port and let the drivers install.
  3. Choose the correct board and virtual COM port in the IDE.
  4. Compile/Upload the project.

License

This project is licensed under the GNU General Public License v3.0. The name "daemonbite" is registered to my company in Finland and should not be used by others.

daemonbite-arcade-encoder's People

Contributors

mickgyver avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.