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 635|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Shoutbox Topic - 384
spinal Mon 11:02
AGameAWeek : 2017 - Part One
Jayenkai Mon 09:28
For Greed
steve_ancell Mon 08:05
Puff Dog
spinal Mon 02:42
Crystal Maze
rychan Sun 11:59
CSS-Me-Do - SoCoder2
Jayenkai Sun 08:08
Buy Zelda
Jayenkai Sat 08:34
Welcome Caton
steve_ancell Sat 04:53
Update All Objects in Array?
Jayenkai Sat 03:34
2D Array?
Jayenkai Sat 03:29
More

Latest Items
Blog : Rewatching ''1 Litre of Tears''
Jayenkai Mon 02:52
Snippet : Twitter BBCode
Jayenkai Sun 02:44
Link : Learn C++
Pakz Sat 20:33
Dev-Diary : My Journey into NES Development
Jayenkai Thu 03:58
Showcase : A Civilization Clone v0.5
rychan Thu 03:27
News : Newsletter #320
Jayenkai Tue 18:47
Blog : sadas
hardcoal22 Tue 02:50
Showcase : Flappadiddle
Jayenkai Mon 08:20
Article : Cookie Information
rychan Sun 12:28
Dev-Diary : Wii to N64 adapter
spinal Sat 11:50
Link : MonkeyX code examples
Jayenkai Sat 06:42
Link : Available Languages
Jayenkai Thu 13:22
Blog : Mr Testo Tests
Socoder Tue 07:21
Showcase : Hives
zzoom Fri 16:10
More

Who's Online
spinal
Mon, at 11:02
rychan
Mon, at 10:42
GfK
Mon, at 10:12
Jayenkai
Mon, at 10:11
rskgames
Mon, at 09:36
Pakz
Mon, at 09:30
steve_ancell
Mon, at 09:25
Dan
Mon, at 08:22
shroom_monk
Mon, at 05:58
rockford
Mon, at 05:38
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.