Latest Uploads
Invasion V ... prototype

rychan

Invasion V ... Prototype

rychan

Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

Pakz

Back to spinal's Blog ( Created 16 September 2016 | Last Edited 26 September 2016)
Development Diary : Intellivision Controller Adapter
As some of you will know, I have just spent a few days cobbling together an adapter to use an old Matel Intellivision controller on a PC.
I know there are a couple of solutions already, but this one is mine, so there.

I decided that the simplest way would be to encode the inputs as keyboard keys, rather than a regular game controller as other people have done. This is for two reasons, one, it wont be used for anything other than playing specific emulated games and two, it has a digital 16 direction digital pad, which would make use with emulators a little trickier than it would need to be (digital to analog and back to digital is just a waste).

So, here are a couple of pics...





Final(ish) version...
No mess, no soldering, just plug into the Arduino Micro, install the code and your off!


I had hoped to internalize the adapter, but that can't happen. There is literally less than no space inside.

Here is a little techie info...

The controller uses a 9-pin interface, originally hard wired to the console, but later connected using a DB9 connector. The controller has an insane 15 buttons and 12 directions, which are read from different combinations of those wires being grounded. The '16' directions claimed are really just 12, with some of the directions combined, much like the way modern 4-way d-pads emulate 8 directions by pressing up+left for example.

I mapped the inputs to the following keys..
-->

Notice the two top side buttons are the same and the 12 directions are missing the 45 degree mapping, The only accurate way to do this was to actually send two keys for these directions, so up-right would send b+d at once.

As usual, here is the source for anyone else who want's to do this...

-->

Final version, kept the above just in case.
This one is a solderless solution (if your Arduino (or clone) already has pin headers) So you can just plug the version 1 controller straight into your Arduino and change the pin numbers to match.

-->
For my final version, I substituted GND for C2 simply because it was next to D0, and set it to OUTPUT and LOW so that it would act as Ground.


-->

Here are how the controls are mapped. Stole an image, plonked a credit along the top.


Remember, The Intellivision doesn't really have NorthEast, SouthEast, SouthWest or NorthWest, so don't bother mapping thos in your emulator, just make sure you have NorthNorthEast, NorthEastEast, SouthEastEast, SouthSouthEast etc.

To use this in the 'Nostalgia' Intellivision emulator, just replace the following section in input.cfg...
-->


The all that's left is to bung it into a plastic box and gift it to your loving girlfriend...


Latest Comments

Posted : Friday, 16 September 2016, 04:23
Jayenkai


Awesome stuff!
Crazy 12way dpad FTW!

Homepage : http://AGameAWeek.com
Posted : Saturday, 17 September 2016, 09:54
spinal


Just to show how crazy this thing is and possibly why I can't get reasonable data from the circle-pad.



That circuit is folded in half, and a lot of the connections require at lease two pins to be grounded to be valid.

Homepage : http://spinalcode.co.uk
Posted : Saturday, 17 September 2016, 14:07
Jayenkai


That looks a little insane!

Homepage : http://AGameAWeek.com
Posted : Saturday, 17 September 2016, 16:46
steve_ancell


I have a qualification in electronics and even my brain is saying "fuck this!".

Homepage : http://homepage.ntlworld.com/stephen.ancell/index.htm
Posted : Sunday, 18 September 2016, 03:02
spinal


Just updated the code to allow only one button at a time ever. This gives a far more reliable disc reading. not sure if this is how the controller is intended to be read, common sense suggests not, but just look at the circuit, ain't no common sens in there, genius though it is, it's far too nutty to catch on.

|edit|
One more update, switched the pins around a little so I could add some other bits later. Got it working much better also.

Homepage : http://spinalcode.co.uk
Posted : Saturday, 24 September 2016, 13:45
zzoom


I've done a slice of acid burning PCB creation in my time - got some electronics quals too, respect

Homepage : http://www.gpsrunner.co.uk
Posted : Sunday, 25 September 2016, 00:05
spinal


Currently working on a solderless(kindof) version, using a cheaper AVR. Expect an update an a day or two.

Homepage : http://spinalcode.co.uk
Posted : Sunday, 25 September 2016, 01:57
Jayenkai


Anything that doesn't burn my fingers is good, in my opinion

Good luck!

Homepage : http://AGameAWeek.com
Posted : Sunday, 25 September 2016, 03:28
spinal


Bah, it's looking impossible with the cheapo adruino nano rip-offs I got. They apparently wont let you use the usb port for anything.

Homepage : http://spinalcode.co.uk
Posted : Sunday, 25 September 2016, 03:32
Jayenkai


Awww.. How come?

Homepage : http://AGameAWeek.com
Posted : Sunday, 25 September 2016, 03:51
spinal


Because they act exactly like arduino nano's, which use the usb as a serial com port only with no way (apparently) to override that.

Homepage : http://spinalcode.co.uk
Posted : Sunday, 25 September 2016, 03:55
Jayenkai


Huh... How odd.
I'd've thought a USB Port was a USB Port. Guess not :/

Homepage : http://AGameAWeek.com
Posted : Sunday, 25 September 2016, 04:42
spinal


It would explain why they were so cheap also.
Not sure what I can do with them now, completely useless fro this project...

Homepage : http://spinalcode.co.uk
Posted : Sunday, 25 September 2016, 11:33
spinal


Final update, added the code for the solderless version, basically reordered the inputs to be in the same pin order as the controller, added the ability to use a digital pin as GND, so you can more easily define which pins are being used, oh, and one last photo.

Homepage : http://spinalcode.co.uk
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 581|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Manchester Arena Explosion
Jayenkai Wed 04:17
Family
Jayenkai Wed 04:06
RIP - Sir Roger Moore
rockford Tue 15:56
CSS-Me-Do - SoCoder2
Jayenkai Tue 09:41
Any Feature Requests?
spinal Mon 12:02
Switch - Mini Dock
Jayenkai Mon 06:26
AGameAWeek : 2017 - Part One
rychan Mon 05:17
ArdWiiNo?
spinal Sun 12:42
Great Big Youtube thread
Jayenkai Sun 11:13
Time for a new Android Test Doohickey
Jayenkai Sun 07:00
More

Latest Items
Dev-Diary : My Journey into NES Development
rychan Tue 01:53
Showcase : Flappadiddle
Jayenkai Sun 14:39
Snippet : QFind
Jayenkai Sun 13:02
Showcase : Tiny Blocks
Jayenkai Sun 04:08
Showcase : Read Error A
rychan Fri 05:13
Blog : All my makes!
Jayenkai Tue 05:48
Showcase : Infinitron
rychan Mon 18:03
Showcase : Hives
rockford Wed 12:53
Showcase : Quadoban
rskgames Fri 10:11
Blog : My Arduino experience.
steve_ancell Wed 17:02
Showcase : Roguelike Explorer
Pakz Fri 06:59
News : Newsletter #311
Jayenkai Thu 17:27
Link : Super Shapes Exploration Kit
Andy_A Thu 11:09
Dev-Diary : Sensitive - Arduboy!
rychan Thu 17:27
Snippet : Skylines
steve_ancell Tue 14:25
More

Who's Online
Jayenkai
Wed, at 05:46
Socoder
Wed, at 05:46
HoboBen
Wed, at 04:23
rskgames
Wed, at 03:31
therevillsgames
Wed, at 03:26
steve_ancell
Wed, at 03:22
Pakz
Wed, at 03:21
rockford
Wed, at 02:15
spinal
Wed, at 01:19
Dabz
Tue, at 22:58
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.