INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED ON R

A place where you can chat about anything that isn't to do with games!
Post Reply
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED ON R

Post by Dragon Warrior Jasen »

What is Project Kajitsu?

Project Kajitsu (Kajitsu is Japanese for Berry) is the brain child of Mike Wolak and Jasen Hicks based on the $35 Raspberry Pi B+ Model. The goal was to use the Raspberry Pi with a custom Pi Hat / Linux kernel and turn 2 ordinary PS3 or XBOX360 controllers into 2 Discrete JAMMA compatible controllers. We succeeded.

Who did all of this and why?

All of the software, hardware, and testing associated with Project Kajitsu was done in house between Jasen and Mike. We undertook this project to bridge the gap between modern consoles and arcade games of the past. One of the fun benefits is that you can also control things like robots or other gadgets looking for 5V or 3.3V logic inputs!

Why the Raspberry Pi?

The Raspberry Pi B+ released in July 2014 opened the aperture on how much you can do with the Pi because of the expanded GPIO. It now has 40 pins instead of 26 with only a few being set aside for specific uses (power, ground, i2c, serial bus). This means we can use two controllers on the Pi and create enough discrete outputs for both Player 1 and 2 on a SuperGun. Think… only on device to handle two players!

What controllers are supported, and is there lag?

In the first release, RC12, Wired XBOX 360 and Wired PS3 Controllers are working with no lag. With more testing and getting additional hardware other PCBs will be added in future releases. Our goal isn't to use all the controllers on the market but the main ones. Want to tinker? We’ll be releasing the source files at a later date so the community can tinker and experiment.

What about Bluetooth?

Bluetooth is an awesome technology that adds a little bit of freedom to your gameplay. Unfortunately, initial testing has shown the pairing sequence isn’t as simple as the plug and play usb version and requires more testing and tinkering on our part before we add that functionality. When we do add it, PS3 and Wii controllers should work with Project Kajitsu.

Tell me more about this Linux you are running…

Our custom light weight Linux operating system image boots our USB-DISCRETE App in less than 3 seconds! Mike Wolak has fine tuned the Pi image to behave more like a high speed micro-controller vs. an underpowered desktop computer allowing nearly instantaneous startup times.

What/When can I download?

Today, you can download the BETA RC12 version of our Custom Linux Kernel and the EAGLE Board files associated with our two Project Kajitsu Pi Hats. Beta V0.1 is fully tested, V0.4 is being made for testing. Links are embedded in our original post here: http://www.freecade.org/project-kajitsu/

These files are provided as BETA files only. We are not responsible for any damage to your Pi, Pi-Hats, or SD Cards. We have used them with a lot of success so far. If you are interested in the schematic files for the Project Kajitsu Hats, we will make them available at a later date.

Part Lists:

3x 74HC245DW Buffers
2x 3.9K 0805 Resistors
1x 0805 LED
2x 1K 0805 Resistors
3x .1uF 0805 Capacitors
1x 100nF 0805 Capacitor
1x i2C EEPROM
1x 0805 Diode
4x 3pin .100 headers
2x 12 position .100 screw terminals
1x 2 position .100 screw terminals
4x Jumpers

1x Raspberry Pi B+
1x Micro USB Cable and Wall Wort

Can I just buy this preassembled?

We are doing a small batch of boards right now and should be ready in October. Pricing is to be determined.

Image
Image
Image
alamone
Posts: 741
Joined: Wed Mar 09, 2011 10:32 pm

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by alamone »

Great idea! I think this should be moved to hardware rather than off topic, but I'm not a mod.
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

I thought so, but it does say SHUMPS hardware :-D
User avatar
gct
Posts: 564
Joined: Mon May 31, 2010 7:50 pm
Location: Vancouver, Canada

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by gct »

Neat piece of hardware, but I am concerned about the stability of the RPi platform.

I have an older model B rev.2, and in my experience the SD card was prone to corruption requiring a complete re-flash of the OS, like on a daily basis. I haven't bothered to check if things got any better since it was frustrating to the point that I just didn't want to use RPi any longer, though I am reasonably certain it was probably issues with the Raspbian build I was using.

Can I get your input on stability of your Linux kernel with the B+ hardware?
User avatar
emphatic
Posts: 7984
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by emphatic »

Cool stuff, guys!
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

gct wrote:Neat piece of hardware, but I am concerned about the stability of the RPi platform.

I have an older model B rev.2, and in my experience the SD card was prone to corruption requiring a complete re-flash of the OS, like on a daily basis. I haven't bothered to check if things got any better since it was frustrating to the point that I just didn't want to use RPi any longer, though I am reasonably certain it was probably issues with the Raspbian build I was using.

Can I get your input on stability of your Linux kernel with the B+ hardware?
From my testing the only problem I had with the SD Card was when I accidentally removed it while it was running, it caused the pi to crash. The new B+ uses a spring loaded microSD card slot and I was being careless. I have been using a nice new Sandisk SD Card while Mike has been using a very old 128MB MicroSD (can't remember the brand off hand) with no issues.

[EDITED TO UPDATE THE SD CARD MIDE WAS USING]
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

Thanks for the support! Project Kajitsu made Hackaday.com. Link below:

http://hackaday.com/2014/10/01/console- ... ma-boards/
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

Another demo of the possibilities of the board: http://www.freecade.org/project-kajitsu ... nteraface/

Mike did a great job with the writeup, so I'll plagiarize his post:
Here's a demo of the Kajitsu interface driving a Noritake 256x128 VFD Display:

https://www.youtube.com/watch?v=3ImW2xDvmdE

The octal buffers on the Kajitsu board are bi-directional so in this demo 2 octal buffers are set as outputs and one is set as an input. The direction and I/O voltage selection is selectable by jumpers on the board.

This illustrates the GPIO speed possible on a Pi. This is entirely bit-banged and the data rate is about 512KB/sec. Considering there's 10 individual lines being individually set for each byte written, this would be like pressing 5 million different joystick buttons in one second.

My hope is that this video helps minimize the threat from "lag" inherent to the Pi GPIO system. :)
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

Project Kajitsu’s Hardware has been transformed with Version 0.4. We have left the formal pi-hat spec for size behind us in lieu of a more user friendly DB15 version of the board. This version of the board offers the convenience of the the DB15 ports while maintaining the flexibility of the .100″ screw terminals (both are optional, but at least one should be installed). Additionally, we simplified this board making it an “out” board only, meaning you would only use it to convert PS3/XBOX360 controllers to discrete outputs on a +5V logic setup such as a SuperGun!

Changes include:

1. Player 1/2 status indicator. The board will show which player has a USB controller plugged in.
2. Removed the diode from the incoming +5V line as our initial testing showed brown-outs on the Raspberry Pi.
3. Added DB15 ports for simplified SuperGun/NEO-GEO connections
4. Removed the Logic Selector Jumpers. This is a +5V Logic Hat.
5. Set the transceivers to be output permanently.
6. Form factor change. It still mates to the Pi B+ properly.

Image
Dragon Warrior Jasen
Posts: 100
Joined: Sun Apr 13, 2008 10:29 pm
Location: Herndon, VA
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by Dragon Warrior Jasen »

The Official Full Project Kajitsu Demo

This demo was filmed using three cameras to catch all of the action in real time! We demonstrate the first party XB360 (Wireless), PS3, and Wiimote (bluetooth) support using the project with a custom built SuperGun. Enjoy!

http://youtu.be/b1pCaQ4TuRE
User avatar
emphatic
Posts: 7984
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: INTRODUCING PROJECT KAJITSU: USB-JAMMA CONTROLLER BASED

Post by emphatic »

Cool stuff, guys!
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
Post Reply