The NEW Build Your Own Arcade Controls

Main => Main Forum => Topic started by: PL1 on April 30, 2017, 07:34:00 pm

Title: KADE miniArcade 2.0 beta release
Post by: PL1 on April 30, 2017, 07:34:00 pm
(Posted at Bruno's request.)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360680;image)

The KADE Team is proud to announce the beta release of the miniArcade 2.0 Mapper program and PCB fabrication files.

This Google Drive folder has complete download packages for Windows, Mac, and Ubuntu 64-bit: is no longer available.
https://drive.google.com/drive/folders/0B6zru_SYfdYbWXZMLUNUQUpwbTQ (https://drive.google.com/drive/folders/0B6zru_SYfdYbWXZMLUNUQUpwbTQ)

For now, here's a Sendspace link to the Windows version.
- Will update with long-term hosting link when available.
https://www.sendspace.com/file/p46f4y (https://www.sendspace.com/file/p46f4y)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358453;image)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358455;image)

Is miniArcade 2.0 Open Source?
KADE miniArcade 2.0 Mapper application, KADE miniArcade 2.0 daughterboard and KADE Multi-Out PCB gerber files are offered as-is at no cost (freeware) but they are not open-source nor open-hardware.

What does Mapper do?
It allows you to program a 32u4 AVR to work with a variety of arcade-style controls.

What AVR and bootloader do I need?
MiniArcade 2.0 is designed to work with a wide variety of boards.

Any 32u4 AVR with DFU (FLIP) bootloader + 16Mhz crystal like the MattairTech MT-DB-U4 (https://www.mattairtech.com/index.php/development-boards/atmega32u4-usb-development-board-arduino-compatible.html) will work automatically with Mapper.
("Atmel DFU bootloader" will work too, but requires a pullup resistor on E2/B)

The MT-DB-U4 is a perfect pin-for-pin match for the miniArcade 2.0 daughterboard.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358457;image)

To use 32u4 AVRs with other bootloaders, you need to be able to be able to upload a firmware hex file and an EEPROM hex file to the board. (currently working on procedures for Arduino and Teensy 2.0 boards)

How many input ports are available?
Mapper has 47 available Button Mapping IDs. (0-46)
The Button Mapping ID "Input As" indicates which of the 24 Normal input ports or 23 Shifted input ports (Shift + B7 is reserved for Shift Lock) will trigger the related output.

What controls work with miniArcade 2.0?
Digital (microswitch)
  - Joystick
  - Pushbutton
  - Pedal
  - Mechanical rotary (Ikari Warriors) joystick
Analog (potentiometer)
  - Joystick
  - Star Wars yoke
  - 270 degree steering wheel
  - Pedal
  - Pong/Warlords paddle

What systems does it connect to?
- Generic USB/HID Joypad (USB cable)
- Generic USB/HID Keyboard (USB cable)
- NES/SNES (KADE Multi-Out expansion board)
- Genesis (KADE Multi-Out expansion board) -- 3-button stick (original or second gen. console)
- MSX (KADE Multi-Out expansion board) -- autodetect only (for now)
- Neo Geo AES (KADE Multi-Out expansion board)
- GameCube/Nintendo64 (custom RJ-45 cable)
- PS1/PS2 (custom RJ-45 cable) -- this also allows you to connect to 3DO, Dreamcast, Famicom, Famicom (clone), MegaDrive / Master System, Saturn, Turbo Grafx 16, Xbox 360, and other consoles using commercially available adapter cables
- PS3 (USB cable)
- Wii/WiiU/NES Classic (custom RJ-45 cable)
- WiiU (USB cable)
- Xbox (USB cable + female USB to joystick port adapter cable)

Where can I get the miniArcade 2.0 daughterboard and KADE Multi-Out expansion board?
The distro packages at the top of this post have the PCB fabrication (gerber) files in the "\docs\gerbers\" folder.

The User Guide in "\docs\" has links to PCB fabrication houses and the necessary components.

You're free to make boards using the PCB gerber files provided and sell those PCBs if you wish.

One of the fabrication houses has a "10 boards for 10 bucks" deal.

If you don't want to bother with fabricating the daughterboard, you can use header pins or solder wires directly to your AVR board.

If you don't want to bother with fabricating the multi-out board, you can build the circuit on a prototype board or solderless breadboard. (use the gerber files to determine the necessary connections)

Update:
Quote from: bootsector
Just saw that seeedstudio.com has a 10 PCBs for $5 deal now!

Update2: Added picture of assembled miniArcade 2.0.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: ark_ader on May 01, 2017, 07:42:07 am
I cannot believe how you guys work so fast.  Impressive.

Well done.   :applaud:

I'll start testing it later today.
Title: Re: KADE miniArcade 2.0 beta release
Post by: mourix on May 01, 2017, 08:10:51 am
Was thinking of making something similar to this and then I opened this post :dizzy:

However this looks like the most polished way a project like this can possibly be one. Big ups :applaud:
Title: Re: KADE miniArcade 2.0 beta release
Post by: rovingmind on May 01, 2017, 11:55:27 am
this links to the mt-db-u4 board which is out of stock.  will the mt-db-u2 work?
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 01, 2017, 01:47:50 pm
this links to the mt-db-u4 board which is out of stock.  will the mt-db-u2 work?
Nope
Title: Re: KADE miniArcade 2.0 beta release
Post by: rovingmind on May 01, 2017, 06:02:21 pm
Nope
awesome.   and now i've 5 of the miniarcade2 boards coming in blue.     :-\ 
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 01, 2017, 08:48:50 pm
I cannot believe how you guys work so fast.  Impressive.

Well done.   :applaud:

I'll start testing it later today.
Was thinking of making something similar to this and then I opened this post :dizzy:

However this looks like the most polished way a project like this can possibly be one. Big ups :applaud:
Thanks, guys.   ;D

Bruno did an awesome job on the coding.  :applaud:

LMK if there are any parts of the documentation (User Guide, images, etc.) that need clarification/improvement.

this links to the mt-db-u4 board which is out of stock.
I just dropped a message to Justin to let him know about the beta release.

With any luck he'll get more MT-DB-U4's in stock soon.   ;D

EDIT: Looks like they are back in stock already.  :w00t
EDIT2: The product page shows "in stock", but when you get to the shopping cart, it shows "backordered".   :dunno

------------
If anyone has an Arduino and wants to try loading the miniArcade 2.0 firmware and EEPROM using avrdude:

1. Install the avrdude programmer.

2. Install the Arduino Leonardo/Mini bootloader driver as per the instructions at https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc2 (https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc2)

3. Configure miniArcade 2.0 Mapper as desired.

4. Click on "Tools -- Save EEPROM config data to file (HEX)..." and save the "EEPROM.eep" file in the "\firmwares\" folder.

5. Rename "EEPROM.eep" to "EEPROM.hex". (both are hex format)

6. Copy the "MINIARCADE2.hex" and "EEPROM.hex" files from the "\firmwares\" folder to the avrdude folder.

7. Find the COM port assigned to the Arduino bootloader.  Look in the Device Manager properties screen or the Arduino software under Tools--Serial Port (look for the check mark)

8. Create a "miniArcade2.txt" file with this text in the avrdude directory. (Change "COMXX" to the Arduino bootloader port i.e. "COM7")

Quote
avrdude -p atmega32u4 -P COMXX -c avr109 -U flash:w:MINIARCADE2.hex -U eeprom:w:EEPROM.hex -C avrdude.conf

9. Rename "miniArcade2.txt" to "miniArcade2.bat".

10. Launch the .bat file to program the Arduino.

*** Still need to confirm/refine this procedure. Suggestions welcome.  ;D ***

------------
If anyone has a Teensy 2.0, the team could use help figuring out and documenting how to load the firmware and EEPROM files onto those boards.

Related thread here (http://forum.arcadecontrols.com/index.php/topic,154128.0.html).


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: rovingmind on May 01, 2017, 09:55:14 pm


this links to the mt-db-u4 board which is out of stock.
I just dropped a message to Justin to let him know about the beta release.

With any luck he'll get more MT-DB-U4's in stock soon.   ;D

EDIT: Looks like they are back in stock already.  :w00t

------------
.


Scott

with headers, a single board, dfu flip bootloader, and 16mhz.

* This product is not available in the requested quantity. 1 of the items will be backordered.

is the message i get.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 01, 2017, 10:29:05 pm
this links to the mt-db-u4 board which is out of stock.
I just dropped a message to Justin to let him know about the beta release.

With any luck he'll get more MT-DB-U4's in stock soon.   ;D

EDIT: Looks like they are back in stock already.  :w00t
with headers, a single board, dfu flip bootloader, and 16mhz.

* This product is not available in the requested quantity. 1 of the items will be backordered.

is the message i get.
You're right.   :embarassed:

The product page shows "in stock", but when you get to the shopping cart, it shows "backordered".   :dunno


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: rovingmind on May 01, 2017, 11:10:36 pm
well, i have a pack of the circuit boards (in blue) on order and one of those on back-order.  we'll see which arrives first.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 01, 2017, 11:50:26 pm
well, i have a pack of the circuit boards (in blue) on order and one of those on back-order.  we'll see which arrives first.
Unless you already have it, the third participant in the race is the other hardware like screw terminals, Dupont pin headers, maybe an RJ45 port for console adapters, etc.

There's a Bill of Materials with links at the end of the User Guide.   ;D

Have you decided if you want to use screw terminals or Dupont pin headers to connect your controls?

Are you going to connect to a console via RJ45 or a PC via USB?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: rovingmind on May 02, 2017, 12:18:23 am
it will end up being usb to a pc of some sort.  anything else is up in the air for now.  probably screw terminals.  i have some of that stuff.  i haven't looked at the parts list yet for what the board needs but i did see the pins for the rj45.  on a side note for anybody interested it was $20 (ish) shipping in addition to the $5 for the boards.
Title: Re: KADE miniArcade 2.0 beta release
Post by: mahuti on May 02, 2017, 01:56:04 am
Forgive my ignorance... Roughly speaking, what's the value of using the daughterboard?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 02, 2017, 03:17:47 am
Forgive my ignorance... Roughly speaking, what's the value of using the daughterboard?
Good question.   ;D

1. The RJ45 port allows you to easily change from one console adapter to another.

2. The daughterboard has a PS-360+ compatible 2x10 header.
(no active components -- it just connects the header pins to the correct AVR ports)

3. The layout and spacing of the terminals/pins on the daughterboard makes it a bit easier to avoid connecting to the wrong port.

If you don't do consoles, don't need the PS-360+ port, and can keep track of which pin you are connecting to, the daughterboard doesn't add much beyond being able to use a mix of screw terminals and Dupont pins.

We'll add more AVR images like the MT-DB-U4 image in the OP for users who want to work with a plain AVR boards like Arduino Micro, Arduino Pro Micro, Arduino Leonardo, or Teensy 2.0.

We'll also add more custom .DAT layout files, especially for boards like the Pro Micro that have a limited number of pins.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 02, 2017, 11:52:51 pm
Good news for Teensy 2.0 users.   ;D

Bruno updated the Windows version of Mapper to 1.1. (link in OP)

It adds a menu item to export the EEPROM configuration to an .ELF file (firmware and EEPROM in one file) that you can upload using Teensy Loader.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 03, 2017, 12:15:51 am
Steps for flashing into a Teensy 2.0 board should be something like:

- Load a .DAT mapping file and/or change mappings and settings as you wish
- Select Tools -> Save EEPROM config data to .ELF for Teensy Loader
- Open Teensy Loader
- Connect Teensy 2.0 PCB to your PC's USB and push the button in order to get into programming mode
- Click the Open HEX file button and select MINIARCADE2.hex inside the mapper application's firmware folder
- Click the Program button
- Click the Reboot button

Please note that you flash the .HEX file with Teensy Loader, however, the .ELF file should be at the same folder otherwise EEPROM data won't be flashed to Teensy.

Teensy Loader can be downloaded from: https://www.pjrc.com/teensy/loader.html (https://www.pjrc.com/teensy/loader.html)

I've updated Mac OS mapper version to v1.1 too. Ubuntu will come soon...
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 03, 2017, 12:21:06 pm
I've bumped up Ubuntu version to 1.1 too.
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 05, 2017, 01:26:57 pm
I cannot believe how you guys work so fast.  Impressive.

Well done.   :applaud:

I'll start testing it later today.
Was thinking of making something similar to this and then I opened this post :dizzy:

However this looks like the most polished way a project like this can possibly be one. Big ups :applaud:
Thanks, guys.   ;D

Bruno did an awesome job on the coding.  :applaud:

LMK if there are any parts of the documentation (User Guide, images, etc.) that need clarification/improvement.

this links to the mt-db-u4 board which is out of stock.
I just dropped a message to Justin to let him know about the beta release.

With any luck he'll get more MT-DB-U4's in stock soon.   ;D

EDIT: Looks like they are back in stock already.  :w00t
EDIT2: The product page shows "in stock", but when you get to the shopping cart, it shows "backordered".   :dunno

------------
If anyone has an Arduino and wants to try loading the miniArcade 2.0 firmware and EEPROM using avrdude:

1. Install the avrdude programmer.

2. Install the Arduino Leonardo/Mini bootloader driver as per the instructions at https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc2 (https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc2)

3. Configure miniArcade 2.0 Mapper as desired.

4. Click on "Tools -- Save EEPROM config data to file (HEX)..." and save the "EEPROM.eep" file in the "\firmwares\" folder.

5. Rename "EEPROM.eep" to "EEPROM.hex". (both are hex format)

6. Copy the "MINIARCADE2.hex" and "EEPROM.hex" files from the "\firmwares\" folder to the avrdude folder.

7. Find the COM port assigned to the Arduino bootloader.  Look in the Device Manager properties screen or the Arduino software under Tools--Serial Port (look for the check mark)

8. Create a "miniArcade2.txt" file with this text in the avrdude directory. (Change "COMXX" to the Arduino bootloader port i.e. "COM7")

Quote
avrdude -p atmega32u4 -P COMXX -c avr109 -U flash:w:MINIARCADE2.hex -U eeprom:w:EEPROM.hex -C avrdude.conf

9. Rename "miniArcade2.txt" to "miniArcade2.bat".

10. Launch the .bat file to program the Arduino.

*** Still need to confirm/refine this procedure. Suggestions welcome.  ;D ***

------------
If anyone has a Teensy 2.0, the team could use help figuring out and documenting how to load the firmware and EEPROM files onto those boards.

Related thread here (http://forum.arcadecontrols.com/index.php/topic,154128.0.html).


Scott

Just flashed an Arduino Leonardo/Micro cheap clone from eBay on a Mac using the following command (right after pressing RESET in the board):

avrdude -p atmega32u4 -P /dev/tty.usbmodem1411 -c avr109 -U flash:w:MINIARCADE2.hex -U eeprom:w:EEPROM.hex -C avrdude.conf

It works!

The avrdude.conf referenced file above is from the XBOXPadMicro package (that includes the avrdude.exe for windows and Arduino serial drivers, which are required only on Windows as well): https://drive.google.com/open?id=0B6zru_SYfdYbMmwyaVdkSVFGcVU (https://drive.google.com/open?id=0B6zru_SYfdYbMmwyaVdkSVFGcVU)

Edit: it works with EEPROM file extension as .eep as well (i.e., EEPROM.eep instead of EEPROM.hex)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 06, 2017, 11:03:18 am
Here's a pinout for Teensy 2.0 users.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: syntax_x on May 06, 2017, 02:48:31 pm
Can this setup still accept input from console controllers like the KADE miniConsole+?
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 06, 2017, 03:11:02 pm
Can this setup still accept input from console controllers like the KADE miniConsole+?
This is intended for arcade controls only.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 08, 2017, 06:07:18 am
Justin e-mailed that he has restocked the MT-DB-U4 (https://www.mattairtech.com/index.php/development-boards/atmega32u4-usb-development-board-arduino-compatible.html) AVRs.

Store currently shows 5 remaining.  ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on May 12, 2017, 05:22:19 am
C'mon guys! Don't be shy! Share your experiences and test reports with us!  ::)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 19, 2017, 11:54:08 am
Bruno has updated miniArcade 2.0 to v1.2. (D/L links in OP)

New in v1.2:
- Fixed keyboard bug on Input IDs 34-46
- Updated several images
- Updated User Guide


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: equlizer on May 31, 2017, 04:37:18 pm
Bump for the great work!!
Title: Re: KADE miniArcade 2.0 beta release
Post by: plazma on June 15, 2017, 04:43:15 pm
Finally had time to test this. I made a layout testing case out of a spoiled C64 case and a sheet of PVC plastic.
It worked perfectly with an old Xbox. No more controller PCB hacks  :)
I can easily cut more PVC sheets and try other layouts. I can use the good ones in bartops and cabinets.
The current button layout is a tightly packed 6 button layout with an extra Neo Geo button. Kids will be using the layout so I minimized the button to button distance.
(http://i.imgur.com/c13hUxN.jpg)
(http://i.imgur.com/W5d5eAI.jpg)
(http://i.imgur.com/WpTBV4u.jpg)
(http://i.imgur.com/ARYxaRd.jpg)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on June 15, 2017, 06:00:54 pm
Looks great.   ;D

Any feedback on the software or documentation?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 09, 2017, 06:25:51 pm
Native Dreamcast output support added!

RJ45 cable pinout:

Code: [Select]
RJ45 Dreamcast
1 GND
5 Sense Pin
6 Data Pin 1
7 Data Pin 5
8 VCC

Mapper App v1.3 can be downloaded from the original links in the first post.
Title: Re: KADE miniArcade 2.0 beta release
Post by: djfender on July 23, 2017, 06:42:36 pm
I installed it to my "Hotrodded Hanaho Hotrod Leonardo" Setup. and only have 2 problems (ok 1.5 problems)

The Pin mappings do not have R2 by default. Kludge: Use R3 pin instead. Solution: Map out one of the empty Pins

Shift Seems Non-Functional (Perhaps it is one of the empty Pins). Would be nice to assign it to a key combo or find its dedicated pin and use an empty pin as an LED indicator.

Other than that it works on PC, PS3 and PS4 games with legacy stick compatibility.

(The leonardos were carefully converted to Pins as i find the arduino style plugs to be fiddly)

My suggestion is to follow the arduino pinheader assignments (thus 0 = Cross, 1 = Circle, 2 = Square, 3 = Triangle Etc) for simplicity as this is how my homebrew joystick firmware was set up and now its a spider mess matching the mattairtech board as best I can.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 23, 2017, 09:39:18 pm
I installed it to my "Hotrodded Hanaho Hotrod Leonardo" Setup. and only have 2 problems (ok 1.5 problems)

The Pin mappings do not have R2 by default. Kludge: Use R3 pin instead. Solution: Map out one of the empty Pins
By default, R2 is on port D5.

Unfortunately, Arduino uses that pin as TxLED. (32u4 pin 22)

Shift Seems Non-Functional (Perhaps it is one of the empty Pins). Would be nice to assign it to a key combo or find its dedicated pin and use an empty pin as an LED indicator.
Shift is on port D7. (Arduino pin 6)

"Wiring shifted functions" is covered on Pg. 11 of the User Guide.

An LED indicator might be a nice addition, but there probably isn't a pin to spare -- Bruno and I will look into it.

Other than that it works on PC, PS3 and PS4 games with legacy stick compatibility.

(The leonardos were carefully converted to Pins as i find the arduino style plugs to be fiddly)

My suggestion is to follow the arduino pinheader assignments (thus 0 = Cross, 1 = Circle, 2 = Square, 3 = Triangle Etc) for simplicity as this is how my homebrew joystick firmware was set up and now its a spider mess matching the mattairtech board as best I can.
Glad to hear you got it working on several systems.   ;D

MiniArcade 2.0 was designed for a MattairTech board pin layout.

Unfortunately for Arduino users, the Arduino has less pins available, which makes workarounds like the one you mentioned necessary.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 24, 2017, 02:10:40 am
Thanks for asking about a Shift Indicator LED, djfender.   :cheers:

Here's an easy way to add one using an LED and the appropriate value Current Limiting Resistor.

There's an LED resistor calculator here (http://led.linear1.org/1led.wiz).
- Source voltage = 5
- Diode forward voltage = the voltage that your LED drops
- Diode forward current (mA) = usually 20

When the shift button is not pressed, the internal pullup resistor for Port D7 pulls the port up to logic high (5v) which lights the LED.

When the shift button is pressed, ground is applied to Port D7 and the LED goes out.

Already added to the next edition of the User Guide.   ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: djfender on July 24, 2017, 10:18:20 am
I installed it to my "Hotrodded Hanaho Hotrod Leonardo" Setup. and only have 2 problems (ok 1.5 problems)

The Pin mappings do not have R2 by default. Kludge: Use R3 pin instead. Solution: Map out one of the empty Pins
By default, R2 is on port D5.

Unfortunately, Arduino uses that pin as TxLED. (32u4 pin 22)

Shift Seems Non-Functional (Perhaps it is one of the empty Pins). Would be nice to assign it to a key combo or find its dedicated pin and use an empty pin as an LED indicator.
Shift is on port D7. (Arduino pin 6)

"Wiring shifted functions" is covered on Pg. 11 of the User Guide.

An LED indicator might be a nice addition, but there probably isn't a pin to spare -- Bruno and I will look into it.

Other than that it works on PC, PS3 and PS4 games with legacy stick compatibility.

(The leonardos were carefully converted to Pins as i find the arduino style plugs to be fiddly)

My suggestion is to follow the arduino pinheader assignments (thus 0 = Cross, 1 = Circle, 2 = Square, 3 = Triangle Etc) for simplicity as this is how my homebrew joystick firmware was set up and now its a spider mess matching the mattairtech board as best I can.
Glad to hear you got it working on several systems.   ;D

MiniArcade 2.0 was designed for a MattairTech board pin layout.

Unfortunately for Arduino users, the Arduino has less pins available, which makes workarounds like the one you mentioned necessary.


Scott

Pin 0 (PD2),2(PD1) and 3(PD0) and 11(PB7) are empty here. thus making my workaround a "Software issue" as some of these aren't available in the default mattairtech build.

Also on the Leonardo, Our ICSP is -Not- Tied to the side pins, thus they'd be PB1 to 3 and I've used these willy nilly in sketches before, therefore there's 3 extra pins, Without hacking up the arduino to free the RX and TX LED.

Thanks for asking about a Shift Indicator LED, djfender.   :cheers:

Here's an easy way to add one using an LED and the appropriate value Current Limiting Resistor.

There's an LED resistor calculator here (http://led.linear1.org/1led.wiz).
- Source voltage = 5
- Diode forward voltage = the voltage that your LED drops
- Diode forward current (mA) = usually 20

When the shift button is not pressed, the internal pullup resistor for Port D7 pulls the port up to logic high (5v) which lights the LED.

When the shift button is pressed, ground is applied to Port D7 and the LED goes out.

Already added to the next edition of the User Guide.   ;D


Scott

We could swap pin 6 and 13 as 13 possesses its own resistor as this is by default the LED on most arduinos (On my setup pressing "select" grounds said LED and turns it off!)

You're thinking; "But fen, Where will the RJ45 Go if you're using up all the I/O?" My reasoning is that the Leonardo is a drop in replacement for the -Classic MiniArcade- of which i am quite fond of but cannot use as i broke one of my Minimus AVRs.

"Why not buy a new one from the kade store?" well this here is the new hat now. Its compatible with stuff most tinkerers like mineself have "at least a handful of" and a retrofit is generally better than a complete gutting.

Considering that, designing a Kade Shield for leonardo would be a drop in the pond to make and im actually gonna take a whack at it while at work today.

Title: Re: KADE miniArcade 2.0 beta release
Post by: Slippyblade on July 24, 2017, 01:54:01 pm
Is there a "For Dummies" on this yet?

I loved the original KADE.  I still have a couple of the minimus AVRs just for it.  However, my eyes glaze over completely reading this thread.
Title: Re: KADE miniArcade 2.0 beta release
Post by: plazma on July 24, 2017, 01:59:24 pm
Is there a "For Dummies" on this yet?

I loved the original KADE.  I still have a couple of the minimus AVRs just for it.  However, my eyes glaze over completely reading this thread.
Download the zip file from the first post. There is a pdf guide in the docs folder.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 24, 2017, 02:21:40 pm
I understand that the default pin/port order can be extremely confusing.   :dizzy:

It was one of the first issues I brought up to Bruno when he invited me to join him on this project.

If he's so inclined, I'll let him comment on why reassigning/rerganizing/redocumenting all the default pins/ports wouldn't be worth the considerable investment of time and effort.

From a user's point of view, the important thing to remember is that there are several fixed function ports (D7=Shift, B7=Shift Lock), but you can assign any available input port to any output.

I did exactly that for many of the preset mapping (.DAT) files. (See pg. 2 of the User Guide)

For your convenience, there is a "Port_Order.dat" mapping file that has all the ports in alphanumeric order.

If you prefer starting from a blank slate, there is a "Blank.dat" mapping file that sets all Button Mapping IDs to blank.

Pin 0 (PD2),2(PD1) and 3(PD0) and 11(PB7) are empty here. thus making my workaround a "Software issue" as some of these aren't available in the default mattairtech build.

Also on the Leonardo, Our ICSP is -Not- Tied to the side pins, thus they'd be PB1 to 3 and I've used these willy nilly in sketches before, therefore there's 3 extra pins, Without hacking up the arduino to free the RX and TX LED.
Those pins are all available on the MattairTech board, but most are assigned to other functions.

Fixed function:
D7 (Shift) + PB7 = Shift Lock  (EDIT: Corrected the description of this function.  :embarassed: )

Ports that can be changed to inputs at the expense of losing console outputs:
The "RJ45" pins (orange squares below) are assigned to autosense/autoswitch between various consoles, making all of the consoles on pgs. 6-7 of the User Guide plug-and-play without reprogramming the board.

You can change these "RJ45" ports from console outputs to control inputs (User Guide pg. 4, Step 2)

PB0 - used by PS1/PS2 consoles (you overlooked this one)
PB1 - used by PS1/PS2 consoles
PB2 - used by PS1/PS2  consoles
PB3 - used by  PS1/PS2 consoles
PD0 - used by Wii/WiiU/NES Classic consoles
PD1 - used by most pre-USB consoles

Port you mentioned that is already an input:
PD2 - Assigned to Button Mapping ID 11, used as an input for PS1/PS2, PS3, and XBox.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358457;image)

We could swap pin 6 and 13 as 13 possesses its own resistor as this is by default the LED on most arduinos (On my setup pressing "select" grounds said LED and turns it off!)
Setting aside the coding/documentation effort involved in swapping just those two pins, how do you plan to make that board-mounted LED visible to users?

If someone wants a visual indicator of whether normal or shifted functions are activated, a separate LED that they can mount where they choose seems like the the most flexible approach and it works right now with any of the 32u4 boards without recoding and without changing the documentation.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 24, 2017, 03:06:07 pm
Is there a "For Dummies" on this yet?

I loved the original KADE.  I still have a couple of the minimus AVRs just for it.  However, my eyes glaze over completely reading this thread.
MiniArcade 2.0 Mapper software won't work with those old Minimus AVRs, but it will work with 32u4 boards, including that Arduino Pro Micro you bought several years ago.

Bad news: If you try to wing it, you'll probably get lost/frustrated trying to use the new Mapper software like the old Loader software.  :banghead:

Good news: Like plazma mentioned, there is a User Guide PDF in the .zip file with step-by-step directions.

More good news: We have received an official exemption from the Man Card Bureau -- nobody's Man Card will be pulled/confiscated for reading this User Guide and following the directions.  :duckhunt

Read it from the beginning so you get the new/different terms/concepts that you will need to know for the 16 step programming process on pgs 4-5.

LMK if you have any further questions or if I failed to explain anything clearly.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: Slippyblade on July 24, 2017, 07:32:59 pm
Cool, thanks Scott and Plaz.  I'll give that PDF a read.

Just to verify though, KADE 2.0 can be used in a similar fashion as the original KADE just with more functionality?  So I could actually build, say, a star wars yoke from scratch and use KADE 2.0 as the interface?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 24, 2017, 11:50:03 pm
Just to verify though, KADE 2.0 can be used in a similar fashion as the original KADE just with more functionality?  So I could actually build, say, a star wars yoke from scratch and use KADE 2.0 as the interface?
Yes.   ;D

- Enable analog axes F7 and F6. (page 4, step 2)

- Assign a different port to Button Mapping ID 2 (Button 3) since port D6 isn't available on the Pro Micro board. (page 5, step 6)
There's a chart showing the available ports and labeling on the Pro Micro board on page 12.

- Program the board using AVRDUDE. (pages 13-14) *** LMK if the procedure isn't clear enough. ***

- Wire the buttons to the ports you selected in Mapper and a daisy-chain ground.

- Wire the potentiometers.
-- 5v and ground on tabs 1 and 3 (Arduino pins VCC and GND, swap if the axis is backward)
-- X-axis wiper to port F7 (Arduino pin A0)
-- Y-axis wiper to port F6 (Arduino pin A1)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: djfender on July 25, 2017, 01:07:08 am
I understand that the default pin/port order can be extremely confusing.   :dizzy:

It was one of the first issues I brought up to Bruno when he invited me to join him on this project.

If he's so inclined, I'll let him comment on why reassigning/rerganizing/redocumenting all the default pins/ports wouldn't be worth the considerable investment of time and effort.

From a user's point of view, the important thing to remember is that there are several fixed function ports (D7=Shift, B7=Shift Lock), but you can assign any available input port to any output.

I did exactly that for many of the preset mapping (.DAT) files. (See pg. 2 of the User Guide)

For your convenience, there is a "Port_Order.dat" mapping file that has all the ports in alphanumeric order.

If you prefer starting from a blank slate, there is a "Blank.dat" mapping file that sets all Button Mapping IDs to blank.

Pin 0 (PD2),2(PD1) and 3(PD0) and 11(PB7) are empty here. thus making my workaround a "Software issue" as some of these aren't available in the default mattairtech build.

Also on the Leonardo, Our ICSP is -Not- Tied to the side pins, thus they'd be PB1 to 3 and I've used these willy nilly in sketches before, therefore there's 3 extra pins, Without hacking up the arduino to free the RX and TX LED.
Those pins are all available on the MattairTech board, but most are assigned to other functions.

Fixed function:
PB7 is dedicated shift lock

Ports that can be changed to inputs at the expense of losing console outputs:
The "RJ45" pins (orange squares below) are assigned to autosense/autoswitch between various consoles, making all of the consoles on pgs. 6-7 of the User Guide plug-and-play without reprogramming the board.

You can change these "RJ45" ports from console outputs to control inputs (User Guide pg. 4, Step 2)

PB0 - used by PS1/PS2 consoles (you overlooked this one)
PB1 - used by PS1/PS2 consoles
PB2 - used by PS1/PS2  consoles
PB3 - used by  PS1/PS2 consoles
PD0 - used by Wii/WiiU/NES Classic consoles
PD1 - used by most pre-USB consoles

Port you mentioned that is already an input:
PD2 - Assigned to Button Mapping ID 11, used as an input for PS1/PS2, PS3, and XBox.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358457;image)

We could swap pin 6 and 13 as 13 possesses its own resistor as this is by default the LED on most arduinos (On my setup pressing "select" grounds said LED and turns it off!)
Setting aside the coding/documentation effort involved in swapping just those two pins, how do you plan to make that board-mounted LED visible to users?

If someone wants a visual indicator of whether normal or shifted functions are activated, a separate LED that they can mount where they choose seems like the the most flexible approach and it works right now with any of the 32u4 boards without recoding and without changing the documentation.


Scott

oh jeez. the blank.dat fixed all of my silly problems. haha...time to put all my cables back  :banghead: :notworthy: :hissy: :laugh2:
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 25, 2017, 03:01:08 am
the blank.dat fixed all of my silly problems. haha...time to put all my cables back
Glad it worked out for you.   ;D

Please feel free to export and post your .dat file for anyone else wanting to use a Leonardo.   :cheers:

Most of the current batch of .dat files and pinout images in the "docs" folder are for the miniArcade daughterboard, MattairTech, and Teensy AVRs.

I still need to find a good layout, make .dat files and make pinout images for the Arduino Leonardo/Micro/Pro Micro boards -- they're a lot more work because not all pins/ports are available on them.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 25, 2017, 03:32:43 am
I didn't know starting up with the blank preset would make such a difference for the users. Should I make the blank profile the standard one when starting for the first time or if the user hasn't saved any?  ???
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 25, 2017, 11:13:21 am
Added text like this to the bottom of pg 2 (Mapping .DAT files) and pg 12. (Using Mapper with other boards)

Quote
If you are using an Arduino board, you may find it easier to organize the ports and wiring if you start from Blank.dat or a custom .DAT file for your particular board.

Dreamcast pinout images and new User Guide (v0.21) posted to the usual place, Bruno.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 25, 2017, 11:18:04 am
Awesomeness! I will post a new version soon. So no need to start with the blank profile?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 25, 2017, 12:04:22 pm
So no need to start with the blank profile?
More custom .DAT files . . . blank profile . . . either way works for me.  :dunno

Posted a poll to see what users want.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 28, 2017, 04:42:14 pm
I'm now working on adding support for native Sega Saturn output via Multi-Out board. Will keep you guys posted!  8)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 28, 2017, 08:39:08 pm
I'm now working on adding support for native Sega Saturn output via Multi-Out board.
Cool.   ;D

Already looking for pinout images and for parts like this (https://www.amazon.com/Cinpel-Replacement-Controller-Cable-SEGA-Saturn/dp/B01JO7UEQO/) for the BOM.
-------------
Here's a pinout for the Arduino Pro Micro.

There are seven pins/ports that aren't available on this board.

Since port B0 (pin 8 ) is only connected to RxLED, you won't be able to use this board with your Playstation 1, Playstation 2, or Dreamcast consoles.

Port D5 (pin 22) is only connected to TxLED.

Ports B7, C7, D6, F0, and F1 are not connected on this board.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360710;image)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 29, 2017, 06:41:54 am
Sega Saturn RJ45 output cable for the Multi-Out schematics:

Code: [Select]
RJ45 Saturn
1 GND
2 D0
3 D1
4 D2
5 D3
6 S0
7 S1
8 VCC

Sega saturn controller port reference:

http://www.gamesx.com/controldata/saturn.htm (http://www.gamesx.com/controldata/saturn.htm)

Images of the new Multi-Out PCB (for updating the user manual image):

Top:
(http://i.imgur.com/l1fgL7n.png)

Bottom:
(http://i.imgur.com/VtE9VqO.png)

I will release a new mapper package when PL1 send me the updated user manual
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 29, 2017, 01:38:27 pm
I will release a new mapper package when PL1 send me the updated user manual
Saturn info added and BOM updated for the new Multi-Out board.  ;D

The only thing remaining is to find good pics of the Saturn Controller Plug (nothing yet) and Console Jack (two possibly-usable images so far) for the pinout image.

If anyone has a Saturn controller and can take some decent pics like these (http://forum.arcadecontrols.com/index.php/topic,153854.0.html) of the connector(s), your assistance would be greatly appreciated.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on July 29, 2017, 08:43:25 pm
Thatpurplestuff came through with some great Saturn connector photos.   ;D   :applaud:   :notworthy:

Once he confirms his photo credit, I'll generate the new User Guide PDF and post the update files (PDF + 3 new images) to the usual location, Bruno.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 29, 2017, 10:25:23 pm
Great stuff! Thanks a lot purple stuff!

As for the manual, we should correct the wording regarding compatibility with DC and Saturn: now we don't need those PS2 adapters! :)
Title: Re: KADE miniArcade 2.0 beta release
Post by: bootsector on July 31, 2017, 05:29:51 am
Mac, Windows and Linux versions updated!  :)
Title: Re: KADE miniArcade 2.0 beta release
Post by: 1500points on September 14, 2017, 11:00:16 am
I skimmed this thread.  Is there anyone selling this as a completed kit, yet?

well, i have a pack of the circuit boards (in blue) on order and one of those on back-order.  we'll see which arrives first.
Unless you already have it, the third participant in the race is the other hardware like screw terminals, Dupont pin headers, maybe an RJ45 port for console adapters, etc.

There's a Bill of Materials with links at the end of the User Guide.   ;D

Have you decided if you want to use screw terminals or Dupont pin headers to connect your controls?

Are you going to connect to a console via RJ45 or a PC via USB?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on September 14, 2017, 02:12:17 pm
Is there anyone selling this as a completed kit, yet?
AFAIK nobody is selling a kit at this time, but it's easy (and less expensive) to solder wires or pin headers to an AVR instead of using the daughterboard.

If you're planning on using this for your 4-player Warlords project, some euro-style terminals will make it easier to connect 5v and ground to all four potentiometers.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: 1500points on September 14, 2017, 02:31:27 pm
I noticed on ebay that someone had pots with knobs for 7.50 apiece shipped so i bought em.

Ordered the a-pac so i can continue experimenting.

I was disappointed to learn that spinners only work in retropie with advmame. Not 2600 or nes


Sent from my iPhone using Tapatalk
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on September 14, 2017, 03:44:14 pm
I was disappointed to learn that spinners only work in retropie with advmame. Not 2600 or nes
No surprise on NES.

AFAIK the only paddle-style NES controller is the Arkanoid "Vaus (https://en.wikipedia.org/wiki/Arkanoid_Controller)".


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: matsadona on September 18, 2017, 03:11:16 am
I was disappointed to learn that spinners only work in retropie with advmame. Not 2600 or nes
No surprise on NES.

AFAIK the only paddle-style NES controller is the Arkanoid "Vaus (https://en.wikipedia.org/wiki/Arkanoid_Controller)".


Scott

It would be a waste to use a spinner for the Atari 2600 emulator as well, since the only game that originally supported a spinner (driving controller) was Indy 500. All other games with a rotary controller used the tennis/paddle controller - that is potentiometer with a limited turn.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on December 23, 2017, 06:57:10 pm
Thanks to intealls for testing and confirming the Teensy load procedures on page 14 of the User Guide.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: StLouisRod on December 30, 2017, 03:13:15 pm
Gents, I need an adapter similar to the original KADE that translates arcade switch buttons, plus at least 3 POT inputs (left stick right/left pot, left trigger pot, right trigger pot), into an original XBOX. The KADE works fine for buttons, but POT inputs were never supported. SharpFork indicated this miniArcade 2.0 project might be exactly what I need. I prefer to have a completed unit, though I am ok at soldering having done numerous pad hacks over the years. I have funding, so as long as you can warranty or stand behind the product, cost is no object (within reason). If it works, I will purchase more in the future as well.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on December 30, 2017, 04:22:19 pm
I need an adapter similar to the original KADE that translates arcade switch buttons, plus at least 3 POT inputs (left stick right/left pot, left trigger pot, right trigger pot), into an original XBOX.
MiniArcade 2.0 supports original XBox.
- No problem on the buttons.
- Left stick right/left pot uses analog port F7. (Enable it in the config menu)
- I'm not sure if the firmware does analog trigger buttons so I'll let Bruno answer that one.   :dunno

The KADE works fine for buttons, but POT inputs were never supported. SharpFork indicated this miniArcade 2.0 project might be exactly what I need.
True, the original KADE never supported pots because the at90usb162 and atmega32u2 (the Minimus AVR processors) don't have any Analog/Digital converter inputs.

Fortunately, the atmega32u4 has more than enough of them.   ;D

I prefer to have a completed unit, though I am ok at soldering having done numerous pad hacks over the years.
You'll probably need to solder them yourself unless Bruno has some units for sale.

If not, there's a Bill of Materials with links and a list of PCB fabricators in the User Guide.

The Gerber files for fabricating PCBs are in the download package.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: processedmeat on February 19, 2018, 12:46:40 am
Thanks for all of your work on this. 

BTW will there ever be support for a trackball?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 19, 2018, 02:31:11 am
Thanks for all of your work on this. 

BTW will there ever be support for a trackball?
Glad that you find it useful.   :cheers:

I don't think there will be trackball support in KADE for the forseeable future.

The beta optical input code for the original miniArcade had a problem with backspin. (the encoder can't keep up with the quadrature waveform changes)   :embarassed:

Jon or Bruno would have to greatly improve the code and probably increase the encoder's default USB poll rate.

If you want an AVR-based optical encoder, I recommend StefanBurger's Illuminated Spinner (http://forum.arcadecontrols.com/index.php/topic,152868.0.html) firmware on a Leonardo Pro Micro AVR.
- The hex firmware file is on the Thingiverse page here (http://www.thingiverse.com/thing:2021152) under the "thing files" tab.
- Use the ArduinoBuilder (https://sourceforge.net/projects/arduinodev/) program to load the hex firmware file on the AVR.  There's a simple 3-step tutorial here (http://arduinodev.com/arduino-builder-tutorial/).

How well does it work?
No matter how hard/fast I spun it, there was no sign of any backspin at any speed in either direction on either axis.   :applaud:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: processedmeat on February 19, 2018, 05:17:35 am
Thanks for the quick reply.  I was hoping for a cheap one stop microcontroller solution to hook up a pair of rotary joysticks and a trackball.  I guess I'll have a get a controller for each.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 19, 2018, 12:49:43 pm
I was hoping for a cheap one stop microcontroller solution to hook up a pair of rotary joysticks and a trackball.  I guess I'll have a get a controller for each.
One heads-up about choosing a rotary encoder AVR -- the Arduino Pro Micro board doesn't have a connection for port C7 (32u4 pin 32) that is used for the second rotary joystick.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: djfender on March 13, 2018, 07:47:23 pm
Since im cheap and also because I rarely go in my cabinet, i just built a lazy 6 button Jamma Harness converter out of some pro micros loaded with this firmware.

How it works is, i have the pins on one side, spidered out to handle 6,5,4,3,2,1,R,L.  And have 4 jumpers as D,U,Start and on the P1 side, coin.



The pin assignments are mirrored on the other side so that the pro micros are facing the same direction.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on March 13, 2018, 11:42:19 pm
Nice.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: djfender on March 14, 2018, 01:04:56 am
working on making this into an actual fingerboard where you can plug in a couple pro micros as a kit... then putting up the pcb design files bc what good is fun without sharing haha

here's the idea, moving stuff around is a must, different plugs for some stuff.

Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on March 14, 2018, 02:02:10 am
working on making this into an actual fingerboard where you can plug in a couple pro micros as a kit... then putting up the pcb design files bc what good is fun without sharing haha

here's the idea, moving stuff around is a must, different plugs for some stuff.
Sounds interesting.

You might want to talk to Bruno about the PCB design.

He has PCB-layout/trace-routing software that would make the design process much easier.

You might also want to consider a version that uses a single MattairTech MT-DB-U4 (https://www.mattairtech.com/index.php/development-boards/atmega32u4-usb-development-board-arduino-compatible.html) board.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on June 11, 2018, 04:19:47 am
would something like this work on a original xbox with coinops iam a noob at this stuff so iam stil looking something for my og xbox to arcade controlls in my cab
dont want to do a pad hack !
Title: Re: KADE miniArcade 2.0 beta release
Post by: plazma on June 11, 2018, 04:34:12 am
would something like this work on a original xbox with coinops iam a noob at this stuff so iam stil looking something for my og xbox to arcade controlls in my cab
dont want to do a pad hack !
Yes it works. I'm using one with coinops. https://i.imgur.com/ARYxaRd.jpg
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on June 11, 2018, 05:33:10 am
looks complex i need something plug and play
Title: Re: KADE miniArcade 2.0 beta release
Post by: plazma on June 11, 2018, 05:35:12 am
looks complex i need something plug and play
It's easier than a pad hack.
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on June 11, 2018, 05:43:32 am
any one has a tut on how to do this iam not a expert like you guys :)

something like this would be nice for stupid people like me   https://nl.aliexpress.com/item/PC-PS3-XBOX-360-3-in-1-USB-Controller-encoder-USB-control-board-arcade-joystick-Controller/32798347910.html
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on June 11, 2018, 01:55:10 pm
any one has a tut on how to do this iam not a expert like you guys :)
Since you're working with just the original XBox, the XBOXPadMicro (http://forum.arcadecontrols.com/index.php/topic,152687.0.html) firmware and connection diagram will be the easiest option.

You posted in that thread last year and my advice remains the same.
any update !
How about an unexpected XBOXPadMicro update?

Since I know that you're looking for a no-soldering solution, here it is.

The Arduino Micro knockoff board here (https://www.amazon.com/gp/product/B00J1X5B7Y/) sold by "gowoops" comes with header pins already soldered onto it.   ;D

Wiring Option 1:
Use pre-fab 4-pin harnesses like this (https://paradisearcadeshop.com/harnesses/301-4-wire-100-header-wiring-harness.html) and a daisy-chan ground like this (https://paradisearcadeshop.com/wire-sets/405-30-connection-black-daisy-chain-187.html) from Paradise Arcade Shop. (If you ask Bryan and Susan, they might be able to substitute a daisy-chain ground with one female dupont pin on one end instead of all 0.187" Quick Disconnects)

Wiring Option 2:
Connect dupont jumpers like the ones here (https://www.amazon.com/gp/product/B00TK0QVR2/) to the desired header pins.

Cut off the other end of the jumper, strip the wire, and feed it into one side of a euro-style terminal strip like this (https://www.radioshack.com/collections/connectors-adapters/products/radioshack-12-position-european-style-mini-terminal-strip).

On the other side of the terminal strip, connect pre-crimped wires cut from a JAMMA harness. (cut off and discard the big edge connector)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on September 10, 2018, 12:28:35 am
Additional info learned in this thread (http://forum.arcadecontrols.com/index.php/topic,158171.0.html) for anyone using the Arduino AVR procedure on pages 13-14 of the User Guide under "Procedures for non-DFU boards".

Tested the avrdude .bat file on an Arduino Micro and a Pro Micro -- it works perfectly.   ;D

In Control Panel -- Devices and Printers, the bootloader port number is displayed in the device description when the board is put in bootloader mode.

To put a Pro Micro into bootloader mode, double-click ground the RST port as described in the "Reset to Bootloader" procedure here (https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/troubleshooting-and-faq).

(https://cdn.sparkfun.com/assets/6/d/3/4/a/523c8e23757b7fbe5f8b4584.png)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on November 26, 2018, 02:20:17 pm
does this device KADE miniArcade 2.0 work with the og xbox and how do i know where all the cables go ?
it doesnt say  like up down left right button 1 start select etc etc
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on November 26, 2018, 04:15:54 pm
does this device KADE miniArcade 2.0 work with the og xbox and how do i know where all the cables go ?
it doesnt say  like up down left right button 1 start select etc etc
Yes, it does work with the XBox.

When you select "Xbox" as the "Output System" (right column), the "Output As" column will show which XBox function is related to which "Input As" port.
- For example, the XBox default for "Output As - Black" is "Input As - Port F1".

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=373190;image)

- If you're using a Teensy 2.0 board, Port F1 is 3rd pin down from the upper right.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=154126.0;attach=358610;image)

- If you're using a Pro Micro, Port F1 is not connected so you'll need to change the "Input As" to a port that is available but unused like D4.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360710;image)

Step-by-step procedures are in the User Guide PDF.   ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on November 27, 2018, 02:38:04 am
oh wait so if i buy the kade 2.0 from bruno it doesnt come with the smaller board in the middle with the usb port ?
wich one is better the kade 2.0 or dual strike ,problem for me is the shipping cost from brazil to the netherlands etc
any resellers in the eu ?

the software of the kade2.0 makes sense to me but the dual strike software does not

do i need 2 of these for 2 players or just 1 for 2 players ?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on November 27, 2018, 06:18:40 am
wich one is better the kade 2.0 or dual strike
I haven't worked with the dual strike.  :dunno

oh wait so if i buy the kade 2.0 from bruno it doesnt come with the smaller board in the middle with the usb port ?
If/when Bruno re-stocks, it comes as shown -- a 32u4 AVR board (small board on top with USB) and the daughterboard. (large board on bottom with ethernet, Dupont pins, programming jumper, and screw terminals)

The daughterboard is convenient if you plan on swapping controller adapters via the ethernet connector, but the daughterboard is not needed -- it's just convenient for hooking up controls/controllers without soldering.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360680;image)

problem for me is the shipping cost from brazil to the netherlands etc
If you don't plan to use the miniArcade 2.0 for a multi-system/multi-controller setup, you can save lots of money by ordering a 32u4 AVR board and soldering some wires to through-holes on the AVR board to "roll your own".

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=147492.0;attach=336919;image)

If you have zero soldering skills, just order an Arduino Micro like this one (https://www.ebay.nl/itm/Arduino-Micro-Entwicklungsboard-Development-Board-Pro-ATmega32U4-Adafruit/252313261699?hash=item3abf0ad683:g:648AAOSwGJlZGuSe:rk:29:pf:0) or this one (https://www.ebay.nl/itm/A000053-Arduino-Atmega32U4-Arduino-Micro-Dev-Board/362428717998?hash=item54626f5bae:g:aP4AAOSwqj9bjr6k) that comes with the pins already soldered,  some Dupont jumpers, and a euro-style terminal strip for an easy no-solder setup.   ;D

If you want to save more money and don't mind reassigning a few ports in Mapper and soldering, you can use the very common and inexpensive Arduino Pro Micro.
- 5 ports to reassign (XBox defaults not available on the Pro Micro): B7, C7, D6, F0, and F1
- 7 available ports to choose from (not used as XBox defaults): B1, B2, B3, D0, D1, D4, and F7

any resellers in the eu ?
There are no official resellers, but anyone can order the daughterboard PCBs from any PCB fabrication house.
- The Gerber (PCB fabrication) files are in "..\docs\gerbers\miniarcade2_gerber.zip".
- At the end of the User Guide PDF, there's a Bill of Materials for (and links to) any desired PCB parts like the ethernet connector, screw terminals, Dupont pins, etc.


Scott
EDIT:
do i need 2 of these for 2 players or just 1 for 2 players ?
For XBox,  each AVR shows up as a single gamepad so you will need two AVRs for two players.
Title: Re: KADE miniArcade 2.0 beta release
Post by: scroeffie on November 27, 2018, 11:08:59 am
thanks for all the info :)  made a little bit more sense
going to order the complete kit from bruno times 2 :)
Title: Re: KADE miniArcade 2.0 beta release
Post by: xefned on February 10, 2019, 02:25:20 pm
Which of the two DFU bootloaders is correct for the Mattairtech board: the Atmel DFU, or the non-Atmel DFU?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 10, 2019, 10:35:53 pm
Which of the two DFU bootloaders is correct for the Mattairtech board: the Atmel DFU, or the non-Atmel DFU?
The non-Atmel DFU is the better choice.

Either one will work, but the Atmel DFU bootloader requires a pullup resistor.  (See step 3 here (http://forum.arcadecontrols.com/index.php/topic,134781.msg1391665.html#msg1391665).)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: xefned on February 16, 2019, 01:35:12 pm
Haha, thank you for clarifying!
I was just about to post something I found in another thread: "Scott PL1 says Atmel. (http://forum.arcadecontrols.com/index.php/topic,141672.msg1606395.html#msg1606395)" for other people looking for an answer. But I will go NON-Atmel now, since I wouldn't know where to put that pullup resistor anyway.  THANK YOU!!


I bought 2 minimus boards for around $4 each a few years ago.  Built raspberry pi's and gave them away to friends.
 Last week I decided I could use a few more and discovered the word's supply of cheap minimus boards is now long gone.  Got research to do...  :blah:
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 16, 2019, 04:46:04 pm
I was just about to post something I found in another thread: "Scott PL1 says Atmel. (http://forum.arcadecontrols.com/index.php/topic,141672.msg1606395.html#msg1606395)"
The next post after that is Bruno correcting my imperfect advice by pointing out that, "Non-atmel DFU bootloader is preferable over Atmel's.", immediately followed by me agreeing that non-Atmel DFU is the better option.    :lol

The OP of that thread (http://forum.arcadecontrols.com/index.php/topic,141672.msg1466083.html#msg1466083) was updated with that info several years ago.
- Over 5 years ago when Jon coded the KADESTICK firmware, he recommended getting the Atmel DFU firmware that requires a pullup resistor to keep the board from going into programming mode when power is applied.
- About 2 years ago when Bruno coded the miniArcade 2.0 loader program, he found a way to make it work with the non-Atmel DFU firmware that does not need a pullup resistor.

I bought 2 minimus boards for around $4 each a few years ago.  Built raspberry pi's and gave them away to friends.
 Last week I decided I could use a few more and discovered the word's supply of cheap minimus boards is now long gone.  Got research to do...  :blah:
From the OP of the "KADE-compatible AVR vendors reference list" thread mentioned above.
    miniArcade/microArcade
Keyboard, gamepad, and optical (spinner/trackball) firmwares available in KADE Loader.
atmega32u2 (or at90usb162)
. . .
Other vendors:
BYOAC member MaxRod (http://forum.arcadecontrols.com/index.php?action=profile;u=89562) has some for sale.  PM him for details.
It has been a few months since MaxRod logged in, but he's your best bet for getting Minimus AVRs.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: xefned on February 16, 2019, 09:16:52 pm
I spent a giant chunk of my afternoon catching up on what you've all be working on over the last 6 years.  :applaud:

I'm only now fully appreciating how simple my experience was with the Minimus and the 1.0 version of KADE. It's since gone on to support several home console controllers and does worlds more than my highly simplistic original use: 1 Sanwa joystick and 3 buttons to play games in RetroPie. Truth is, that's still all I really care about, and if I'm real with myself, it was the joy of having an inexpensive and easy-to-setup joystick encoder that attracted me most to the project. Ordering a MattairTech board with shipping gets into the price territory of a Mini-Pac from Ultimarc or a KeyWiz40ECO from GGG which are preprogrammed. Overall, just feeling grateful that I got to participate in the KADE experience and build a couple game controllers for friends and relatives.  :cheers:

I see you and other contributors (Jimmer, Locke141, ed12) nearly got the Pro Micro / Leonardo to work. That would've been a breakthrough for a simple, non-proprietary arcade encoder. For now, I'll probably just hit up Andy for another Mini-PAC and get to wiring.

But there is a glimmer of hope for the future:
  1.) The Pro Micro seems to be built to be used as a HID. (Sparkfun 2012 "Intermediate" programming tutorial (https://www.sparkfun.com/tutorials/337) - way over my head.)
  2.) This guy, first-time poster gschade got a Leonardo working fairly easily (http://forum.arcadecontrols.com/index.php/topic,148673.msg1550171.html#msg1550171).

All of this is way beyond me. I only know how to hook things up and solder.  :notworthy:
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 16, 2019, 11:17:31 pm
I spent a giant chunk of my afternoon catching up on what you've all be working on over the last 6 years.  :applaud:
Thanks.  It has been a fun journey.   ;D

I'm only now fully appreciating how simple my experience was with the Minimus and the 1.0 version of KADE. It's since gone on to support several home console controllers and does worlds more than my highly simplistic original use: 1 Sanwa joystick and 3 buttons to play games in RetroPie. Truth is, that's still all I really care about, and if I'm real with myself, it was the joy of having an inexpensive and easy-to-setup joystick encoder that attracted me most to the project. Ordering a MattairTech board with shipping gets into the price territory of a Mini-Pac from Ultimarc or a KeyWiz40ECO from GGG which are preprogrammed. Overall, just feeling grateful that I got to participate in the KADE experience and build a couple game controllers for friends and relatives.  :cheers:
There is a bit more of a learning curve for v2.0, but a Sanwa joystick, three player buttons, and (two?) admin buttons setup is really easy to do.

You don't need the MattairTech board for those nine inputs.

A $5 Arduino Pro Micro from e-bay has plenty of inputs.   ;D

I see you and other contributors (Jimmer, Locke141, ed12) nearly got the Pro Micro / Leonardo to work.
There's no nearly about it -- miniArcade 2.0 works with the Pro Micro.

http://forum.arcadecontrols.com/index.php/topic,154126.msg1663852.html#msg1663852 (http://forum.arcadecontrols.com/index.php/topic,154126.msg1663852.html#msg1663852)

See pages 13 and 14 of the KADE miniArcade 2.0 User Guide for detailed directions.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360710;image)

All of this is way beyond me. I only know how to hook things up and solder.  :notworthy:
Have you looked through the User Guide?

It details step-by-step how to do *everything*.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: xefned on February 17, 2019, 12:29:14 pm
There's no nearly about it -- miniArcade 2.0 works with the Pro Micro.

http://forum.arcadecontrols.com/index.php/topic,154126.msg1663852.html#msg1663852 (http://forum.arcadecontrols.com/index.php/topic,154126.msg1663852.html#msg1663852)

See pages 13 and 14 of the KADE miniArcade 2.0 User Guide for detailed directions.

OMG - so excited!!! Simple KADE lives on!
I had hit upon a couple attempts that dead-ended around Feb. 2018, without seeing the success stories that happened after that. My brain was just getting frazzled.  :dizzy:

The instructions look quite do-able. I'll order a couple o' Pro Micros and use the AVRdude instructions in The Guide.

Thanks for setting me on the right track!  :cheers:
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 21, 2020, 07:56:57 am
Finally got around to finishing the pinout images for Arduino Micro and Leonardo.   :embarassed:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=381030;image)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=381031;image)

Kill_one mentioned the Adafruit ItsyBitsy 32u4 5v 16MHz board here (http://forum.arcadecontrols.com/index.php/topic,161189.msg1704687.html#msg1704687) in JayBee's Lightgun thread.
- It looks like another great AVR option for the miniArcade 2.0 firmware.   ;D

https://www.adafruit.com/product/3677 (https://www.adafruit.com/product/3677)
https://www.amazon.com/Adafruit-ItsyBitsy-32u4-5V-16MHz/dp/B079SMYDRQ/ (https://www.amazon.com/Adafruit-ItsyBitsy-32u4-5V-16MHz/dp/B079SMYDRQ/)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=381032;image)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: Zebra on January 23, 2020, 09:11:29 am
Does using an Arduino retain the ability to choose the output protocol to use it with consoles?

There are obviously tons of devices that allow the easy connection of analog, digital and optical controls but most only work on a PC. It would be great to have more options to use my real arcade controls on my PS3, Dreamcast, PS2 and Xbox.

It would be especially awesome if it was possible to output analog controls in PS3 Eye / PS Move format to use my positional guns on some of the ported shooting games that aren't well emulated anywhere else.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 23, 2020, 12:45:31 pm
It would be great to have more options to use my real arcade controls on my PS3, Dreamcast, PS2 and Xbox.
Pages 1-2 of the User Guide confirm that those four consoles are supported.
Quote
Output systems and connection:
. . .
- Dreamcast (custom RJ-45 cable)
- PS1/PS2 (custom RJ-45 cable) -- this also allows you to connect to 3DO, Famicom, Famicom (clone), MegaDrive / Master System, Turbo Grafx 16, Xbox 360, and other consoles using commercially available adapter cables
- PS3 (USB cable)
. . .
- Xbox (USB cable + female USB to joystick port adapter cable)

Does using an Arduino retain the ability to choose the output protocol to use it with consoles?
The miniArcade 2.0 firmware auto-detects which console the board is connected to and switches protocol automatically.

Check the pinout image for the AVR board(s) you are considering and the RJ-45 adapter cable pinouts on User Guide page 7 since some Arduino boards don't have connection points for all needed "RJ-45" pins/ports. 

For example, the Pro Micro doesn't have a connection point for 32u4 pin 08 (port B0) that goes to RJ-45 adapter cable pin 5. 
- This pin is needed for both the PS2 and DC adapter cables.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360710;image)

The Micro has connections for all of the "RJ-45" pins/ports, so it will support PS2 and DC.   ;D

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=381030;image)

The MattairTech MT-DB-U4 and Teensy 2.0 boards also have connections for all of the "RJ-45" pins/ports.

It would be especially awesome if it was possible to output analog controls in PS3 Eye / PS Move format to use my positional guns on some of the ported shooting games that aren't well emulated anywhere else.
No idea if those formats are supported.   :dunno

That's a question for Bruno.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: Zebra on January 23, 2020, 02:16:37 pm
The biggest question for me is if it allows you to output absolute controls instead of relative.

I can use my Titan One to connect my PC guns to a PS3 (via UHIDs or APACs) but when I try and play HOD4 I only get relative positioning which makes it impossible to aim.

If there was a way to get absolute positioning from analog sticks on games that only offered relative controls natively, it would open up cool possibilities. You'd be able to play Time Crisis 4 on the PS3 with real time crisis 4 arcade guns. You'd be able to play PS3 light gun and FPS games with a real light gun.

You'd also be able to use a TC4 or Sega arcade gun to play PS2 and Dreamcast light gun games on an HDTV with a gun that actually works properly.

It's probably possible via a custom script with my Titan One but that's way beyond my skills.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 23, 2020, 10:07:14 pm
It would be great to have more options to use my real arcade controls on my PS3, Dreamcast, PS2 and Xbox.

It would be especially awesome if it was possible to output analog controls in PS3 Eye / PS Move format to use my positional guns on some of the ported shooting games that aren't well emulated anywhere else.
E-mailed your inquiry to Bruno.

His reply:
Quote
For "real arcade controls" on several consoles the best bet would be the RetroPad32 plus the USB Input Module (for USB based arcade controls) and the output cables for the target consoles.

As for PSMove/Gun support, we are out of luck with any of my projects though. :-(

Cheers,

Bruno
There's info about the RetroPad32 on Bruno's site here (http://www.brunofreitas.com/).


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: tus376h on January 24, 2020, 03:42:21 pm
It would be great to have more options to use my real arcade controls on my PS3, Dreamcast, PS2 and Xbox.

It would be especially awesome if it was possible to output analog controls in PS3 Eye / PS Move format to use my positional guns on some of the ported shooting games that aren't well emulated anywhere else.
E-mailed your inquiry to Bruno.

His reply:
Quote
For "real arcade controls" on several consoles the best bet would be the RetroPad32 plus the USB Input Module (for USB based arcade controls) and the output cables for the target consoles.

As for PSMove/Gun support, we are out of luck with any of my projects though. :-(

Cheers,

Bruno
There's info about the RetroPad32 on Bruno's site here (http://www.brunofreitas.com/).


Scott
Is Bruno able to provide RJ45 pinout details for his RetroPad32? I'm looking to use my MC Cthulhu RJ45 cables with the RetroPad32 but want to make sure I don't start shorting things out due to an incorrect pinout. Here's a thread I created asking the community:

http://forum.arcadecontrols.com/index.php/topic,161829.0.html

Thanks.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 24, 2020, 04:51:03 pm
Is Bruno able to provide RJ45 pinout details for his RetroPad32? I'm looking to use my MC Cthulhu RJ45 cables with the RetroPad32 but want to make sure I don't start shorting things out due to an incorrect pinout.
The miniArcade 2.0 RJ-45 adapter cable pinouts are on pages 6 and 7 of the User Guide.
- Connections on the console connector will be the same, but the RJ-45 connections may be in a different order.

I don't have any info regarding the RJ-45 adapter cable pinouts for miniConsole+ or RetroPad32.   :dunno

You mentioned in the other thread that you e-mailed Bruno yesterday.

Hopefully, he will agree to share those pinouts.   ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: tus376h on January 24, 2020, 10:33:44 pm
Thank you for the input! I'm hoping for the same.  ;D
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 06, 2020, 04:55:03 pm
Hello everybody,
i'm French and my english is not perfect, so sorry if i make mistake (i do my best).
In the past, i bought "KADE miniarcade" for my old arcade cabinet, and it was working perfectly.
Today i try to do the same thing with an arduino Pro micro.
So i read this topic, and all the PDF document.
After several trial, I have succeeded to write the arduino with avrdude. And it is recognized by the xbox like a gamepad PERFECT !
but no... because the buttons correspond to the basic software assignment not mine (exemple X is F5 but i asked X=D2)(other exmple : Left stick is on D3, but i don't assigned left stick on the mapper...).
I don't anderstand what go wrong
I put my own assignment on "kade miniarcade2.0 gamme mapper", i export to EEPROM.eep on the avrdude folder (i checked, the code inside eeprom file is different if i change assignment on mapper).
i execute the command "avrdude -p atmega32u4 -P COM12 -c avr109 -U flash:w:MINIARCADE2.hex –U eeprom:w:EEPROM.eep -C avrdude.conf" and i have a confirmation "flashed verified"
but each time ... my assigment is not respected always the same assigment "by default" on arduino.
 Somebody can help me ?!?
 :dunno
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 06, 2020, 11:07:48 pm
the buttons correspond to the basic software assignment not mine (exemple X is F5 but i asked X=D2)(other exmple : Left stick is on D3, but i don't assigned left stick on the mapper...).
I don't anderstand what go wrong
I put my own assignment on "kade miniarcade2.0 gamme mapper", i export to EEPROM.eep on the avrdude folder (i checked, the code inside eeprom file is different if i change assignment on mapper).
1. Is there a reason you reassigned ports instead of using the defaults?

Seems easier to wire using the defaults than to change the ports.   :dunno

2. Since the buttons correspond to the defaults instead of your custom settings, you might be programming the board using the original EEPROM file.
Quote
If the EEPROM file is not loaded to the board, the HEX firmware reverts to the default joypad configuration.

After you exported the custom EEPROM, did you copy the new "EEPROM.eep" file from the "\firmwares\" folder to the avrdude folder? (User Guide, page 14, step 5)

3. When you reassigned ports, did you check that the same port wasn't assigned to more than one function? (User Guide, page 5, step 6)

4. Leaving an xBox function like Left Stick with the "Input As" port set to blank might cause problems for the firmware -- not sure if Bruno tested this possibility.   :dunno  (User Guide, page 5, step 6)

The defaults for Xbox have a port assigned to Button Mapping ID #s 0-5, 8-11, 13-17.

5. You may need to set Output Mode to "Force Xbox". (User Guide, page 4, step 4)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 07, 2020, 06:36:56 am
Quote
1. Is there a reason you reassigned ports instead of using the defaults?
yes because arduino Pro micro do not have all buttons available. Only 12 output available, so i need to choose.

Quote
2. Since the buttons correspond to the defaults instead of your custom settings, you might be programming the board using the original EEPROM file
ok it's probably that

Quote
After you exported the custom EEPROM, did you copy the new "EEPROM.eep" file from the "\firmwares\" folder to the avrdude folder? (User Guide, page 14, step 5)
yes i did
Quote
3. When you reassigned ports, did you check that the same port wasn't assigned to more than one function? (User Guide, page 5, step 6)
yes i did, because i puted "blank" on unused buttons

Quote
4. Leaving an xBox function like Left Stick with the "Input As" port set to blank might cause problems for the firmware -- not sure if Bruno tested this possibility.   :dunno  (User Guide, page 5, step 6)

ok... this is a serious possibility in my case
Quote
5. You may need to set Output Mode to "Force Xbox". (User Guide, page 4, step 4)
i tried that but nothing change.

Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 07, 2020, 07:03:16 am
ok so, i try again.
I put the default setup, i juste flip A and B with Dpad up and down (no "blank" exept by default, and i check that the same port wasn't assigned to more than one function)
i flash the arduino and nothing change on xbox...

so do you see a mistake ? :
(https://zupimages.net/up/20/06/4g0k.png)

thank you
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 07, 2020, 10:00:43 am
so do you see a mistake ?
The command line looks correct.   ;D

The flash programming (MINIARCADE2.hex) messages look good, but there are no messages in the image you posted indicating that EEPROM programming (EEPROM.eep) was even attempted.   :banghead:

1. When you ran that command did you get any other messages that aren't in the image?

2. Is there a copy of your custom "EEPROM.eep" in the "avrdude" folder where you typed in the command line?

3. Is the filename exactly "EEPROM.eep"?
- IIRC avrdude filenames are case sensitive so "EEPROM.EEP" or "eeprom.eep" won't work.

4. Does the creation date match the date you exported your custom file?
- "dir /p" for a directory listing with prompt so list doesn't scroll off the screen before you can read it.

5. If 1 is no and 2-4 are yes, your Pro Micro's bootloader or fuse settings might be the problem.   :dunno
- I don't remember seeing another Pro Micro knockoff that uses COM12.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 07, 2020, 01:41:40 pm
but there are no messages in the image you posted indicating that EEPROM programming (EEPROM.eep) was even attempted.   :banghead:
that's exactly what i noticed

Quote
1. When you ran that command did you get any other messages that aren't in the image?
nothing
Quote
2. Is there a copy of your custom "EEPROM.eep" in the "avrdude" folder where you typed in the command line?
3. Is the filename exactly "EEPROM.eep"?
- IIRC avrdude filenames are case sensitive so "EEPROM.EEP" or "eeprom.eep" won't work.
4. Does the creation date match the date you exported your custom file?
yes for all
Quote
- "dir /p" for a directory listing with prompt so list doesn't scroll off the screen before you can read it.
(https://zupimages.net/up/20/06/jx62.png)

Quote
5. If 1 is no and 2-4 are yes, your Pro Micro's bootloader or fuse settings might be the problem.   :dunno
- I don't remember seeing another Pro Micro knockoff that uses COM12.
i don't know what it mean  :embarassed:
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 07, 2020, 02:34:29 pm
i solved my problem  :laugh2: it's realy stupid !
I was used a copy-paste of the code from the PDF tutorial
Code: [Select]
avrdude -p atmega32u4 -P COM12 -c avr109 -U flash:w:MINIARCADE2.hex -U
eeprom:w:EEPROM.eep -C avrdude.conf

but the real code is :
Code: [Select]
avrdude -p atmega32u4 -P COM12 -c avr109 -U flash:w:MINIARCADE2.hex -U eeprom:w:EEPROM.eep -C avrdude.conf
one "ENTER" between and it dos not work correctly ! So, in only one line (not 2) the code works perfectly !
my eeprom is now upload !

 :cheers: :cheers: :cheers:
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 07, 2020, 03:50:48 pm
:applaud:

Glad you got it working.   ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 07, 2020, 04:23:14 pm
:applaud:
Glad you got it working.   ;D
Scott

Yes thank you, i am happy !

Do you know if is it possible to not use the RJ45 option, and add more button on the bord ? like the original "kade miniarcade" (and not miniconsole) ?
because with only 12 buttons is too short. I need 3 more  :lol
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 07, 2020, 08:51:34 pm
Do you know if is it possible to not use the RJ45 option, and add more button on the bord ? like the original "kade miniarcade" (and not miniconsole) ?
because with only 12 buttons is too short. I need 3 more  :lol
I don't know if the Xbox protocol will handle more functions/buttons than the ones Bruno marked in the "Output As" column of the Mapper program.   :dunno
- The only functions not assigned a port by default are Right Trigger, Left Trigger, the analog stick inputs, and some multi-button combos.

Yes, you can re-map the RJ-45 ports if you do not plan to use them to connect to a GameCube, Nintendo64, Wii, WiiU, or NES Classic console (User Guide, page 7) or to another console through a Multi-Out board. (User Guide, page 6) 

Looks like these ports are available:
B1, B2, B3, D0, D1, D4, and F7

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360710;image)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 08, 2020, 06:51:46 am
you are the best !

(https://zupimages.net/up/20/06/vt9r.png)

I'm excited ! it's very super cool !
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 08, 2020, 08:46:33 am
Do the "combo" inputs (Button Mapping IDs 18-23) send a single button press to the Xbox or do those inputs send more than one button press to the Xbox?

For example, the Button Mapping ID 19 (port B2) "Output As" is labeled "Back + White".

Does grounding that input send one button press "Back + White" or does it send two button presses, one "Back" (Button Mapping ID 8 ) and one "White" (Button Mapping ID 4)?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 08, 2020, 02:17:09 pm
Do the "combo" inputs (Button Mapping IDs 18-23) send a single button press to the Xbox or do those inputs send more than one button press to the Xbox?
For example, the Button Mapping ID 19 (port B2) "Output As" is labeled "Back + White".
Does grounding that input send one button press "Back + White" or does it send two button presses, one "Back" (Button Mapping ID 8 ) and one "White" (Button Mapping ID 4)?
Scott
I'm not sure to understand your request (I don't speak English perfectly), but if you use the option "output as back+start" for exemple, when you use only this button , the xbox will received information "back is press" AND " start is press

does that answer the question?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 08, 2020, 03:20:02 pm
Do the "combo" inputs (Button Mapping IDs 18-23) send a single button press to the Xbox or do those inputs send more than one button press to the Xbox?
For example, the Button Mapping ID 19 (port B2) "Output As" is labeled "Back + White".
Does grounding that input send one button press "Back + White" or does it send two button presses, one "Back" (Button Mapping ID 8 ) and one "White" (Button Mapping ID 4)?
Scott
I'm not sure to understand your request (I don't speak English perfectly), but if you use the option "output as back+start" for exemple, when you use only this button , the xbox will received information "back is press" AND " start is press

does that answer the question?
Yes.  Thank you for confirming that grounding one "combo" input causes the board to output 2-4 button presses.

with only 12 buttons is too short. I need 3 more  :lol
I don't know if the Xbox protocol will handle more functions/buttons than the ones Bruno marked in the "Output As" column of the Mapper program.   :dunno
- The only functions not assigned a port by default are Right Trigger, Left Trigger, the analog stick inputs, and some multi-button combos.
Did you find a way to add the three more buttons?

If you did, which functions/Button Mapping ID numbers did you use for them?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 08, 2020, 06:25:06 pm
Did you find a way to add the three more buttons?
If you did, which functions/Button Mapping ID numbers did you use for them?

i was searching how to use B1/B2/B3/D0/D1 ports who was not available on the "mapper" due to "Rj45" functions
So i found this option, and now i can use it like other one :)  :
(https://zupimages.net/up/20/06/vt9r.png)

So now, i have almost alls ports available on my arduino pro micro :)
(i just have to test "shift" function, I haven't tested yet)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 08, 2020, 08:46:01 pm
I'm not asking how to enable the RJ-45 ports.   :banghead:

I'm asking which Button Mapping ID numbers you used for the three more buttons you said you needed.
with only 12 buttons is too short. I need 3 more  :lol

Here are the Button Mapping ID numbers and the assigned functions for Xbox:
- 0-5, 8, and 9 are the usual Xbox buttons. (8 buttons)

- 13-16 are the D-pad, which acts like 4 buttons. (4 buttons)

- 32 and 33 are left/right trigger. (2 buttons?)

- 10 and 11 are left/right thumbstick button press? (2 buttons?)

- 24-31 are used for analog thumbstick inputs. (probably not usable as buttons)

- 6, 7, 12, and 34-46 have no function assigned. (probably not usable as buttons)

- 17-23 are "combos" of other buttons. (no new buttons here)

Seems like the place to find your three more buttons is 10, 11, 32, and/or 33, right?


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: lilou on February 09, 2020, 04:34:33 am
 :lol sorry,

first it was : ID 0-5 + 8-9 + 13-16 (=12 buttons)
i was needed in addition : ID 17+32+33

and finally i add : 17+32+33 and 18+10 (=17buttons)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 09, 2020, 09:58:10 am
Thanks, lilou.   :cheers:

Hopefully this info will help the next person who wants to use a Pro Micro on their Xbox.   ;D


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: chermans72 on March 10, 2020, 07:25:26 am
(Posted at Bruno's request.)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=360680;image)

The KADE Team is proud to announce the beta release of the miniArcade 2.0 Mapper program and PCB fabrication files.

Windows:
https://drive.google.com/open?id=0B6zru_SYfdYbWlBtN184UVJSc00 (https://drive.google.com/open?id=0B6zru_SYfdYbWlBtN184UVJSc00)

Mac:
https://drive.google.com/open?id=0B6zru_SYfdYbRFhYTXgzcEZFUVE (https://drive.google.com/open?id=0B6zru_SYfdYbRFhYTXgzcEZFUVE)

Ubuntu 64-bit:
https://drive.google.com/open?id=0B6zru_SYfdYbN000X2pvbXpWdzA (https://drive.google.com/open?id=0B6zru_SYfdYbN000X2pvbXpWdzA)


THOSE LINKS seem to be dead-ends ... Can you provide new source or link to me ??


(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358453;image)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358455;image)

Is miniArcade 2.0 Open Source?
KADE miniArcade 2.0 Mapper application, KADE miniArcade 2.0 daughterboard and KADE Multi-Out PCB gerber files are offered as-is at no cost (freeware) but they are not open-source nor open-hardware.

What does Mapper do?
It allows you to program a 32u4 AVR to work with a variety of arcade-style controls.

What AVR and bootloader do I need?
MiniArcade 2.0 is designed to work with a wide variety of boards.

Any 32u4 AVR with DFU (FLIP) bootloader + 16Mhz crystal like the MattairTech MT-DB-U4 (https://www.mattairtech.com/index.php/development-boards/atmega32u4-usb-development-board-arduino-compatible.html) will work automatically with Mapper.
("Atmel DFU bootloader" will work too, but requires a pullup resistor on E2/B)

The MT-DB-U4 is a perfect pin-for-pin match for the miniArcade 2.0 daughterboard.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=358457;image)

To use 32u4 AVRs with other bootloaders, you need to be able to be able to upload a firmware hex file and an EEPROM hex file to the board. (currently working on procedures for Arduino and Teensy 2.0 boards)

How many input ports are available?
Mapper has 47 available Button Mapping IDs. (0-46)
The Button Mapping ID "Input As" indicates which of the 24 Normal input ports or 23 Shifted input ports (Shift + B7 is reserved for Shift Lock) will trigger the related output.

What controls work with miniArcade 2.0?
Digital (microswitch)
  - Joystick
  - Pushbutton
  - Pedal
  - Mechanical rotary (Ikari Warriors) joystick
Analog (potentiometer)
  - Joystick
  - Star Wars yoke
  - 270 degree steering wheel
  - Pedal
  - Pong/Warlords paddle

What systems does it connect to?
- Generic USB/HID Joypad (USB cable)
- Generic USB/HID Keyboard (USB cable)
- NES/SNES (KADE Multi-Out expansion board)
- Genesis (KADE Multi-Out expansion board) -- 3-button stick (original or second gen. console)
- MSX (KADE Multi-Out expansion board) -- autodetect only (for now)
- Neo Geo AES (KADE Multi-Out expansion board)
- GameCube/Nintendo64 (custom RJ-45 cable)
- PS1/PS2 (custom RJ-45 cable) -- this also allows you to connect to 3DO, Dreamcast, Famicom, Famicom (clone), MegaDrive / Master System, Saturn, Turbo Grafx 16, Xbox 360, and other consoles using commercially available adapter cables
- PS3 (USB cable)
- Wii/WiiU/NES Classic (custom RJ-45 cable)
- WiiU (USB cable)
- Xbox (USB cable + female USB to joystick port adapter cable)

Where can I get the miniArcade 2.0 daughterboard and KADE Multi-Out expansion board?
The distro packages at the top of this post have the PCB fabrication (gerber) files in the "\docs\gerbers\" folder.

The User Guide in "\docs\" has links to PCB fabrication houses and the necessary components.

You're free to make boards using the PCB gerber files provided and sell those PCBs if you wish.

One of the fabrication houses has a "10 boards for 10 bucks" deal.

If you don't want to bother with fabricating the daughterboard, you can use header pins or solder wires directly to your AVR board.

If you don't want to bother with fabricating the multi-out board, you can build the circuit on a prototype board or solderless breadboard. (use the gerber files to determine the necessary connections)

Update:
Quote from: bootsector
Just saw that seeedstudio.com has a 10 PCBs for $5 deal now!

Update2: Added picture of assembled miniArcade 2.0.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on March 10, 2020, 11:18:36 am
The KADE Team is proud to announce the beta release of the miniArcade 2.0 Mapper program and PCB fabrication files.

Windows:
https://drive.google.com/open?id=0B6zru_SYfdYbWlBtN184UVJSc00 (https://drive.google.com/open?id=0B6zru_SYfdYbWlBtN184UVJSc00)

Mac:
https://drive.google.com/open?id=0B6zru_SYfdYbRFhYTXgzcEZFUVE (https://drive.google.com/open?id=0B6zru_SYfdYbRFhYTXgzcEZFUVE)

Ubuntu 64-bit:
https://drive.google.com/open?id=0B6zru_SYfdYbN000X2pvbXpWdzA (https://drive.google.com/open?id=0B6zru_SYfdYbN000X2pvbXpWdzA)
THOSE LINKS seem to be dead-ends ... Can you provide new source or link to me ??
Thanks for mentioning that the links in the OP are down.

I've e-mailed Bruno about it and hope to have a reply soon.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on March 10, 2020, 12:59:38 pm
Here's what happened.

Quote from: Bruno
Those links were updated recently since Google decided to account for file revisions, so I had to remove everything and re-upload the individual files.

OP updated with a link to the Google Drive folder that has the Windows, Mac, and Ubuntu 64-bit download packages.
https://drive.google.com/drive/folders/0B6zru_SYfdYbWXZMLUNUQUpwbTQ (https://drive.google.com/drive/folders/0B6zru_SYfdYbWXZMLUNUQUpwbTQ)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on April 25, 2020, 12:25:47 am
Here's a pre-configured .dat file and wiring diagram for connecting a SW Yoke to a Pro Micro.

Zipped .dat file (http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=382539)
- Customize it as desired in Mapper and generate an EEPROM file.
- Use AVRDUDE to program the EEPROM and HEX firmware to the Pro Micro. (see pgs 13-14 of the User Guide)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=382540;image)

Star Wars harness pinout (Thanks to Ninten-doh (http://forum.arcadecontrols.com/index.php/topic,104631.msg1107031.html#msg1107031) for the original image and to Gray_Area (http://forum.arcadecontrols.com/index.php/topic,104631.msg1187750.html#msg1187750) for clarifying the wording)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=134006.0;attach=295045;image)

There's a tutorial here (http://forum.arcadecontrols.com/index.php/topic,134781.msg1542677.html#msg1542677) showing how to connect a SW Yoke to the old KADESTICK interface.
- Lots of useful info and links there.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: mrchrister on April 27, 2020, 01:13:48 pm
Very excited to get my Nano Pro and try out this project. I'm glad I ordered three of them ;)

I'm planning on wiring up a Playchoice 10 control panel which has a total of 17 buttons:
5 buttons for option selection (ch select, enter, game select, start and reset)
2x joysticks (4 inputs each) and 2 buttons each

I downloaded the mapper tool and imported 'MAME_P1+P2.dat'

If I understand this right, I can solder directly to the Nano Pro without needing the breakout board. I can then enable the RJ45 inputs to get additional ports to wire up my 17 inputs.
Two questions I have would be:

In the 'output as' section of mapper.exe, I still see that there is only one d-pad being emulated. Does this matter or is there another layout for 2 player joysticks?
Is there a difference in input lag or Rollover Count when you compare Keyboard vs Joypad emulation?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on April 27, 2020, 03:37:56 pm
I downloaded the mapper tool and imported 'MAME_P1+P2.dat'

If I understand this right, I can solder directly to the Nano Pro without needing the breakout board. I can then enable the RJ45 inputs to get additional ports to wire up my 17 inputs.
Two questions I have would be:

In the 'output as' section of mapper.exe, I still see that there is only one d-pad being emulated. Does this matter or is there another layout for 2 player joysticks?
I regret to inform you that the Arduino Pro Nano uses a 328P processor, not a 32u4 processor -- 328P boards won't work with this firmware.

AFAIK the most common and inexpensive 32u4 board available is the Arduino Pro Micro which has 17 available input ports -- exactly the number of inputs that you need.   ;D

You are right about not needing the daughterboard.
- You can solder the wire from the button directly to the 32u4 board input or use pin headers on the board and female Dupont pins on the wires if you prefer.

The MAME_P1+P2.dat file was designed for use as a keyboard encoder.
- IIRC if you change "Output Mode" from "Force Keyboard" to "Auto Detect", the computer will see it as a single USB/HID Joypad. (default)

One quirk about the Mapper program is that the "Output System" defaults to "Generic USB/HID Joypad" when you load a .dat file or change something using the "Config" icon.
- If you change the "Output System" to "Generic USB/HID Keyboard", you'll see the MAME P1 and P2 defaults that you can modify to suit your needs.

Since some input ports are not available on the Pro Micro and you'll need to remap some of the ports and keystrokes anyways, you may want to start from Blank.dat and assign the ports and keystrokes to the Button Mapping IDs in the order you want.
- When you get everything configured properly, use the "Export" icon to save your setup as a custom .dat file.

Is there a difference in input lag or Rollover Count when you compare Keyboard vs Joypad emulation?
None that I am aware of.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: UnoWho on April 27, 2020, 09:06:37 pm
I got given two original Kades off a mate.

Are these encoders still supported and is there a website that doesn't ask me to install malware before going to it?

Also can I connect a trackball and spinner to them?

Thanks
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on April 27, 2020, 10:34:38 pm
I got given two original Kades off a mate.
Those old Minimus boards and the Loader program are great.   ;D

(http://www.kadevice.tk/zp8BGwF.jpg)

Are these encoders still supported and is there a website that doesn't ask me to install malware before going to it?
The official KADE site is now at http://www.kadevice.tk (http://www.kadevice.tk). (It was .com, then .net, and now it's .tk.  ::) )
- If it changes domain again, I'll update the URL in the KADE-compatible AVR vendors list (http://forum.arcadecontrols.com/index.php/topic,141672.0.html) thread linked in my sig.

It's not what you'd call an active site, but all of the old pages/threads/posts are still available.
- Pretty sure that the new account signup process got broken when Bruno moved the site to the new domain or updated the forum software.
- Your best bet to get questions answered is to ask here on BYOAC.

Download the Loader program at http://www.kadevice.tk/loader/setup.zip (http://www.kadevice.tk/loader/setup.zip).

You can find the quickstart guide at http://www.kadevice.tk/kade-miniarcade/quickstart-guide/index.html (http://www.kadevice.tk/kade-miniarcade/quickstart-guide/index.html).

Also can I connect a trackball and spinner to them?
You can connect a trackball for use with the XBox firmware or a trackball and spinner for use with the two trackball-specific firmwares, BUT I would advise against it due to major problems with backspin if you're using medium to high resolution encoder wheels.

Optical controls are the one thing that KADE encoders attempted, but didn't do well.   :embarassed:

You'd be far better off using an Opti-Wiz 3 from GGG or StefanBurger's Illuminated Spinner (http://forum.arcadecontrols.com/index.php/topic,152868.0.html) firmware (Firmware .hex file here (https://www.thingiverse.com/thing:2021152/files) on Thingiverse) on a Pro Micro.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: mrchrister on April 28, 2020, 12:28:49 am
I regret to inform you that the Arduino Pro Nano uses a 328P processor, not a 32u4 processor -- 328P boards won't work with this firmware.

Sorry, got the names mixed up, I did order the Pro Micro  :applaud:

Thanks for the explanation. I will use blank.dat and have it recognize as a HID keyboard in that case!
Title: Re: KADE miniArcade 2.0 beta release
Post by: UnoWho on May 19, 2020, 08:29:14 pm
I got given two original Kades off a mate.
Those old Minimus boards and the Loader program are great.   ;D

(http://www.kadevice.tk/zp8BGwF.jpg)

Are these encoders still supported and is there a website that doesn't ask me to install malware before going to it?
The official KADE site is now at http://www.kadevice.tk (http://www.kadevice.tk). (It was .com, then .net, and now it's .tk.  ::) )
- If it changes domain again, I'll update the URL in the KADE-compatible AVR vendors list (http://forum.arcadecontrols.com/index.php/topic,141672.0.html) thread linked in my sig.

It's not what you'd call an active site, but all of the old pages/threads/posts are still available.
- Pretty sure that the new account signup process got broken when Bruno moved the site to the new domain or updated the forum software.
- Your best bet to get questions answered is to ask here on BYOAC.

Download the Loader program at http://www.kadevice.tk/loader/setup.zip (http://www.kadevice.tk/loader/setup.zip).

You can find the quickstart guide at http://www.kadevice.tk/kade-miniarcade/quickstart-guide/index.html (http://www.kadevice.tk/kade-miniarcade/quickstart-guide/index.html).

Also can I connect a trackball and spinner to them?
You can connect a trackball for use with the XBox firmware or a trackball and spinner for use with the two trackball-specific firmwares, BUT I would advise against it due to major problems with backspin if you're using medium to high resolution encoder wheels.

Optical controls are the one thing that KADE encoders attempted, but didn't do well.   :embarassed:

You'd be far better off using an Opti-Wiz 3 from GGG or StefanBurger's Illuminated Spinner (http://forum.arcadecontrols.com/index.php/topic,152868.0.html) firmware (Firmware .hex file here (https://www.thingiverse.com/thing:2021152/files) on Thingiverse) on a Pro Micro.


Scott

Thanks for the help.  I managed to program the Kade but I have been given a two Player Mortal Kombat 1Up cabinet from a mate.

I want to put my old Xbox in the cabinet and I saw that the Kade can control it.  One side is for Xbox and the other player side is for PC for Single Player.

Can I use the four remaining inputs from the Player two joystick so I can play games like Robotron and Crazy Climber, as I do so now with the xbox controller using the analogue sticks, or is Kade just a single use programmed encoder or do I need to enable something special to get the analogue controls to work?  Like the Shift Function?  Currently I have B7-10 for Analogue Stick Right and the other setup for DPAD,  I'm hoping that will work.

Does the Kade allow me to use LED buttons and is there a way to animate them?

Can I hot swap between the Xbox and PC controls if I add the other Kade for Player two? I have two zero delay encoders for the PC side (two players) and two Kades for the Xbox (two players) by using the volume controls on the Arcade 1UP to select between paired encoders (using a a 4pdt switch)  One player (sharing the two player joystick) is the default option and would like to swap between Xbox and PC without having to program them every time.  I know they are both USB and was hoping there was a hybrid function.  Similar to hacking a PC keyboard for the PC controls and using a Xbox PS2 Keyboard and Mouse adapter.  Obviously I cannot have both machines on at the same time, but they are voice controlled via Alexa and smart plugs. Its been a bloody nightmare wiring this all up.

Thanks.

I just had a thought:  would it be easier to have each Kade programmed for Xbox and PC respectively and wire it up for 6 buttons and 2 joys for each set, and do away with the zero delay encoders? What is the limit for inputs on this Kade?

p.s.  What if I use the PSX firmware option and wire up both Xbox and PC to use the analogue controls?  Will that work instead?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 22, 2020, 10:23:34 am
Does the Kade allow me to use LED buttons and is there a way to animate them?
You'll need a separate LED controller board to animate the LEDs.

The "LED Sequence (Demonstration)" firmware is as far as Jon ventured into LED controller firmwares with the old Minimus boards.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: mrchrister on November 02, 2020, 07:56:04 pm
Hey guys,

very excited getting this flashed onto a Pro Micro. One question:
I have a Astro City control panel I want to wire up, which in total would be 24 buttons. I don't fully understand how to wire the shift function to access additional buttons - or is this not possible with the Pro Micro?

Thanks,
Christoph
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on November 02, 2020, 09:59:12 pm
I have a Astro City control panel I want to wire up, which in total would be 24 buttons. I don't fully understand how to wire the shift function to access additional buttons - or is this not possible with the Pro Micro?
The Pro Micro has 17 regular inputs plus the shift input so a total of 24 buttons isn't impossible however a setup with joy + 6 buttons for 2 players needs 20 regular (unshifted) joystick and player button inputs.
- Consider either using two Pro Micros or a 32u4 AVR with 20 (or more) regular inputs. (Teensy 2.0, Arduino Micro, Adafruit ItsyBitsy, etc.)

The User Guide covers shifted functions on pages 3, 10, and 11.

Port D7 (32u4 pin 27) is the input you use to access the shifted functions.

You can do that with either a dedicated shift button or by using diodes with dedicated admin buttons.

With a dedicated shift button, you'll press shift and another button to output the shifted function.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=385380;image)

If you use diodes, you only need to press one button to output the shifted function.
- Pressing "P1 Start" button (yellow) triggers the shift and "P1B1" (red) inputs.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=154915.0;attach=361175;image)

If possible, try to limit shifted functions to admin buttons -- less chance of accidently triggering an unintended shifted function during 2-player gameplay.
i.e. P1 Coin as a shifted function of P1 Start and Exit as a shifted function of Pause.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: mrchrister on November 03, 2020, 02:08:11 pm
Awesome, thats helpful thanks! I will just get a second Micro Pro for Player 2, that makes it easy..
Title: Re: KADE miniArcade 2.0 beta release
Post by: gazz292 on February 06, 2021, 10:45:07 am
I'm building a couple of input devices for a bus simulator, they will be seen as joystick buttons by the pc, but for one i need 26 buttons, and another i need 35 joystick button inputs.

i still have the original KADE Loader software on my laptop,band i have about 20 minimus boards that were for use with the original KADE, but they can only handle 19 button inputs i think (maybe more with the shifted functions)

Way back when the first KADE kickstarter project was active, the writer of it (went under the name Degenatrons i think??) sent me a code that allowed i think 32 buttons using a matrix, but it ran slowly on the minimus boards (like had to hold down a button for a second for it to be picked up)

Anyhoo, i've found this KADE 2, but when i try to download the programming software, the links are dead, google drive bit says its in the owners trash, and cant be seen, and other links that should go to the main page to download the program instead go to [a webcam spam site]!!

Would it even be possible to have a single joystick that has 35 buttons show up in windows? (i guess i could use 32 joystick buttons plus use the 4 way hat switch buttons for my other 3 inputs i need for the ticket machine?)

But where can i download the KADE2 loader stuff from nowadays?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 06, 2021, 01:32:48 pm
I'm building a couple of input devices for a bus simulator, they will be seen as joystick buttons by the pc, but for one i need 26 buttons, and another i need 35 joystick button inputs.
That's a lot of inputs for one joypad.   :o

i still have the original KADE Loader software on my laptop,band i have about 20 minimus boards that were for use with the original KADE, but they can only handle 19 button inputs i think (maybe more with the shifted functions)

Way back when the first KADE kickstarter project was active, the writer of it (went under the name Degenatrons i think??) sent me a code that allowed i think 32 buttons using a matrix, but it ran slowly on the minimus boards (like had to hold down a button for a second for it to be picked up)
For your 26 button encoder, you can use the 32 button "USB/HID Buttons Only (Beta)" firmware on a Minimus.
- If your version of Loader doesn't have that firmware, LMK and I'll upload a copy of v1.1.3.1.
- Wire the 20 un-shifted inputs normally like the two on the top left in this diagram.
- Wire the 6 shifted buttons using blocking diodes like the two on the right.  Shazaaam! is the shift key, same as HWB.

(http://groovygamegear.com/example1.jpg)

Anyhoo, i've found this KADE 2, but when i try to download the programming software, the links are dead, google drive bit says its in the owners trash, and cant be seen, and other links that should go to the main page to download the program instead go to [a webcam spam site]!!
The KADE forums have been hacked/hijacked several times, the latest time was around 6 months ago.
- I haven't heard from Bruno yet if he intends to try to regain control of the domain and restore the forums, but that does not appear to be a likely option at this time.   :badmood:

I just e-mailed him asking for copies of the Mac and Ubuntu packages and will try to find someplace to host these large files.  (58MB for the Windows version)

For now, I've uploaded the Windows version to Sendspace.
- IIRC, this link will be good for 30 days.
https://www.sendspace.com/file/fbzg13 (https://www.sendspace.com/file/fbzg13)

Would it even be possible to have a single joystick that has 35 buttons show up in windows? (i guess i could use 32 joystick buttons plus use the 4 way hat switch buttons for my other 3 inputs i need for the ticket machine?)
The HID limit is 32 buttons, but you should be able to use hat switch or D-pad inputs for the other three if you find the right hardware/firmware.
- Unfortunately, there are no firmwares in the original KADE miniArcade or KADE miniArcade 2.0 that will handle that combination in a single gamepad.   :(

Tripped over this project -- it might work for your 35 input encoder.   :dunno

https://github.com/FreeJoy-Team/FreeJoy (https://github.com/FreeJoy-Team/FreeJoy)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: gazz292 on February 06, 2021, 05:52:01 pm
Awesome, thanks for that, i've got the kade 2 downloaded now,

I do have that 32 buttons only thing in the original kade, thanks for reminding me of this,
Wonder if it's possible to add the 4 way hat switch input to that button map somehow, tho TBH i have about 20 minimum32 boards, so i may as well just split the ticket printers keypad in half electrically, and have 2 joypad button inputs for it,

I remember with the original Kade if you were good enough at programming you could edit the hex files and do almost anything, an lcd output was possible at one point, along with the matrix input that i had (but cant find anymore)

that freejoy looks interesting, i have a couple of STM32 boards i can play with... bought them for a part later on in my simulator project when i get to the force feedback steering wheel, and i need 6 turns lock to lock which the EMC FFB project allows.
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on February 06, 2021, 07:21:52 pm
I do have that 32 buttons only thing in the original kade, thanks for reminding me of this,
Wonder if it's possible to add the 4 way hat switch input to that button map somehow, tho TBH i have about 20 minimum32 boards, so i may as well just split the ticket printers keypad in half electrically, and have 2 joypad button inputs for it,
If the simulator software can accept inputs from several gamepads, that might be the easy way to go.
- The problem that might arise with that approach is the controller renumbering issue in Windows.

I remember with the original Kade if you were good enough at programming you could edit the hex files and do almost anything, an lcd output was possible at one point, along with the matrix input that i had (but cant find anymore)
If you have a copy of the KADE Loader source code (LMK if you want/need it) and you're good with Python, you could probably copy the extra buttons code from the the "USB/HID Buttons Only" firmware to the "USB/HID Joystick Encoder" firmware, reassign some input ports, make sure the extra buttons are added to the KADE's USB HID report(?), and compile a custom firmware or you might want to copy the D-pad code to the 32 button firmware so the new firmware doesn't have the code for a simulated analog stick on A1-A4.   :dunno

That would use 37 of the possible 39 inputs -- IIRC shifted input B7(?) is reserved for Shift Lock.
- 4 for D-pad
- 32 for buttons
- 1 for HWB


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: gazz292 on February 07, 2021, 02:44:32 pm
Yes, the bus sim (omsi2) accepts as many gamepads / joysticks as you have connected to the computer it seems, so using 2 minimus 32's with KADE running the 'USB/HID Buttons Only' program, and having upto 20 buttons connected to each board should do the job.

And the 26 buttons with the shifted ones on another board in the Ibis unit will handle all the buttons from that,
Then an arduino in each unit handeling the LCD stuff, , plus the 2 other arduino's that handle the dashboard indicator lights and gauges.... good job i have lots of USB ports on my simulator PC :)

As for playing with the source code, unfortunately i can barely type sentances with the correct spelling into the arduino IDE to get anything to work (add 4 lines of code and i get 6 errors i need to correct when i compile)
So playing with python is not something i think i could handle,

Tho i would love to learn to be able to do programming on the computer, if i could id re-write the .dll and that which gets the data out of the bus simulator and sends it to the arduino's, as there's a few issues and the writer of it has moved onto better things,
But i think that stuff is written in delphi or something, and i only know the extreme basics of C from using aruino's.
Title: Re: KADE miniArcade 2.0 beta release
Post by: DiktatorShadaloo on May 17, 2021, 08:15:13 pm
Hello all, First of all thank you very much for your work!
I have a question regarding the RJ45 pinout cable for the Wii, in the image below it says that 2 and 3 correspond to VCC, do I have to connect both cables to VCC or just one of them?
Also it says it is 3.3V however in the schematic for Arduino Leonardo the VCC corresponds to the 5v pin. Do I have to change it to the 3.3v pin or do I leave it like that?
 (https://i.ibb.co/xFgGBQm/Sin-t-tulo.jpg)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=159740.0;attach=381031;image)
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on May 17, 2021, 10:29:50 pm
I have a question regarding the RJ45 pinout cable for the Wii, in the image below it says that 2 and 3 correspond to VCC, do I have to connect both cables to VCC or just one of them?
Bruno developed and tested the pinouts for these cables.

Looks like both wires should be connected to the VCC pin because his notes say "2 and 3", not "2 or 3".
- For an "or" example, see the ground connection for GameCube.

Also it says it is 3.3V however in the schematic for Arduino Leonardo the VCC corresponds to the 5v pin. Do I have to change it to the 3.3v pin or do I leave it like that?
Connect the Wii connector pins 2 and 3 to the Arduino 5v (VCC/"orange 8") pin, not the 3.3v pin.

In this case, the VCC pin is being used as a 3.3v power input from the Wii to the 32u4 AVR board.

Remember that the board can't be powered by USB 5v when you're using the RJ-45 to Wii cable.
Quote from: User Guide, pg 7
WARNING: Do not connect miniArcade 2.0 to a computer via USB cable and to a console via RJ-45 adapter cable at the same time -- 5v from USB will damage the 3.3v console circuits.

Bruno's firmware recognizes the Wii <==> "RJ-45" connections during boot-up and auto-configures the board to translate arcade control inputs into properly formatted Wii command outputs.


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: DiktatorShadaloo on May 20, 2021, 11:44:23 am
...
Thank you very much! it works like a charm.  :applaud:
Title: Re: KADE miniArcade 2.0 beta release
Post by: gazz292 on January 21, 2022, 09:19:17 am
Is there anything that will allow rotary encoders to output keyboard key strokes as a HID keyboard?

they usually seem to be mapped as mice etc,  but i need a few rotary encoders to send A key presses when rotated one way, and D presses when rotated the other, 

i know this can be done with an arduino,  but i really need something with a GUI to program it, as i will need to mess about with the key press duration a lot and it would be a lot easier to use something like kade mapper, freejoy etc, but they all output as gamepads it seems.

Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 21, 2022, 04:11:58 pm
Sorry, but none of the KADE series firmwares/GUIs can do that kind of translation from quadrature waveforms to keystrokes.
- I don't recall ever hearing about an encoder or converter program that will do that.   :dunno

Your best bet is to use the Arduino Integrated Development Environment (https://www.arduino.cc/en/software) (IDE) program to write and upload a sketch that does what you want to do.

Since you will probably be updating that sketch many times during testing, be sure to choose a board that is easy to reprogram.
- Pro Micros are inexpensive, but can sometimes be a pain to reprogram.

Good luck.   :cheers:


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: gazz292 on January 21, 2022, 04:31:41 pm
awww bum... i thought it may be like this,

I guess people use an encoder to joystick press thing that there are loads of, i.e. freejoy etc,  then use something like joy to key to translate it to keyboard presses.

which i would do, only i'm trying to use it on a PS5, which accepts a HID keyboard or the official controller,  and the simulator only accepts key presses to move the levers... even the controller is just moving the lever for as long as you hold the button down for... same as holding a keyboard key down etc. 

So i need to do it all in hardware.

Got a little stack of arduinos in my box of bits, so it looks like i will be trying to program them again, i do remember the leonardo was a bit of a pain to quickly reprogram too... but i think i will need one of them, or an arduino due... to have the HID output thing that will be seen as a normal keyboard by the PS5.

and as each vehicle in the sim has a different reaction time to the keyboard presses... i will need to switch profiles on the go, oh boy, this is gonna be fun :)

Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on January 21, 2022, 07:00:16 pm
each vehicle in the sim has a different reaction time to the keyboard presses... i will need to switch profiles on the go, oh boy, this is gonna be fun :)
For "on the go" profile switching without reprogramming, you could use something like an X-position rotary switch leading to X inputs to select one of X vehicles or button press durations.
- In the program loop read the rotary switch inputs and set the button press duration variable accordingly.

(https://m.media-amazon.com/images/I/613yqt4qxHL._AC_UY327_QL65_.jpg)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: amilton355 on June 01, 2022, 08:04:17 pm
Does anyone have the kade miniarcade files? I want to do the project
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on June 01, 2022, 10:07:20 pm
Does anyone have the kade miniarcade files? I want to do the project
Files re-uploaded to SendSpace and OP updated with this new dowload link.   :cheers:

https://www.sendspace.com/file/1efzma (https://www.sendspace.com/file/1efzma)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: DiktatorShadaloo on October 06, 2022, 12:31:42 pm
Does anyone have the kade miniarcade files? I want to do the project
Files re-uploaded to SendSpace and OP updated with this new dowload link.   :cheers:

https://www.sendspace.com/file/1efzma (https://www.sendspace.com/file/1efzma)


Scott
It was deleted again :(
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on October 06, 2022, 01:00:20 pm
It was deleted again :(
SendSpace offers free hosting.  The downside is that it is temporary. (90 days IIRC)

Files re-uploaded and OP updated with this new dowload link.   :cheers:

https://www.sendspace.com/file/0p4jum (https://www.sendspace.com/file/0p4jum)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: _Iz- on December 18, 2023, 11:00:32 pm
Is there a current download link for this?
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on December 19, 2023, 01:45:22 am
Is there a current download link for this?
Re-upped to sendspace and updated link in OP.   :cheers:

https://www.sendspace.com/file/p46f4y (https://www.sendspace.com/file/p46f4y)


Scott
Title: Re: KADE miniArcade 2.0 beta release
Post by: _Iz- on December 19, 2023, 09:53:59 pm
Thank-you!
Title: Re: KADE miniArcade 2.0 beta release
Post by: PL1 on December 19, 2023, 11:32:38 pm
Glad to assist.   :cheers:


Scott