smbaker Posted August 5, 2018 Share Posted August 5, 2018 I made a 5200 controller this week: It's kind of crude, a pcb attached to a piece of hardboard. I'm not one for making fancy cases, but it is functional and the thumbstick is analog. Uses the same technique as the Ben Heck controller, a microcontroller talking to a digital pot, though different choices of microcontroller and digital pot. I'm thinking through a possible revision to do away with the microcontroller/digital pot and go for a fully analog solution. An advantage of this controller is that it's relative easy and cheap to make. Aside from the pcboard, the most expensive component is the thumbstick at $4. 21 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/ Share on other sites More sharing options...
atari-dna Posted August 5, 2018 Share Posted August 5, 2018 Are there any disadvantages to a digital pot/counter? Fewer moving parts, right? Sent from my iPhone using Tapatalk Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085452 Share on other sites More sharing options...
smbaker Posted August 5, 2018 Author Share Posted August 5, 2018 Are there any disadvantages to a digital pot/counter? Fewer moving parts, right? The digital pot and microcontroller are necessary because the 5200 needs a relatively high value potentiometer (it wants 500K, you can get by with 100K by adding some additional capacitance at the controller) whereas the pot is a relatively low value, 10K. The quick and dirty solution is to sample the analog pot using the microcontroller and then output that sample to via the digital potentiometer. This also allows the opportunity to do some custom scaling and potentially some custom offset. The disadvantage is that this has 8-bit resolution and therefore there are only 256 possible values for the analog joystick. It may be possible that the 5200 is converting it to a number between 0-255 anyway (this is what the diagnostic cart shows), but I couldn't say for sure. Anytime you're going from analog to digital back to analog, it seems like a way to introduce unwanted digital artifacts. A fully analog solution might be viable using some op-amps. I have received some suggestions on the op-amp approach, but haven't tried a prototype yet. 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085460 Share on other sites More sharing options...
atari-dna Posted August 5, 2018 Share Posted August 5, 2018 Doesn’t the pokey just read 0-255 on the X and Y pot anyway? Sent from my iPhone using Tapatalk Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085463 Share on other sites More sharing options...
smbaker Posted August 5, 2018 Author Share Posted August 5, 2018 Doesn’t the pokey just read 0-255 on the X and Y pot anyway? That I don't know -- I'm not familiar with 5200 programming or the internal 5200 hardware. If it was a PC joystick, then I'd say you could time it yourself for additional precision. If the POKEY fixes you to 8 bit resolution, then you're right the Microcontroller/DigitalPOT shouldn't impede that resolution. 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085469 Share on other sites More sharing options...
Atari PAC-MAN Fan Posted August 5, 2018 Share Posted August 5, 2018 (edited) I made a 5200 controller this week: It's kind of crude, a pcb attached to a piece of hardboard. I'm not one for making fancy cases, but it is functional and the thumbstick is analog. Uses the same technique as the Ben Heck controller, a microcontroller talking to a digital pot, though different choices of microcontroller and digital pot. I'm thinking through a possible revision to do away with the microcontroller/digital pot and go for a fully analog solution. An advantage of this controller is that it's relative easy and cheap to make. Aside from the pcboard, the most expensive component is the thumbstick at $4. Looks like you got that thumb stick off of a Playstation controller! Cool! Edited August 5, 2018 by Atari PAC-MAN Fan 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085474 Share on other sites More sharing options...
smbaker Posted August 5, 2018 Author Share Posted August 5, 2018 Looks like you got that thumb stick off of a Playstation controller! Cool! Sparkfun sells them new, and digikey sells the Sparkfun-branded ones. I don't know whether or not they're identical to the PS controller part (Sparkfun says "very similar" in their description). Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085483 Share on other sites More sharing options...
+DrVenkman Posted August 5, 2018 Share Posted August 5, 2018 I made a 5200 controller this week: It's kind of crude, a pcb attached to a piece of hardboard. I'm not one for making fancy cases, but it is functional and the thumbstick is analog. Uses the same technique as the Ben Heck controller, a microcontroller talking to a digital pot, though different choices of microcontroller and digital pot. I'm thinking through a possible revision to do away with the microcontroller/digital pot and go for a fully analog solution. An advantage of this controller is that it's relative easy and cheap to make. Aside from the pcboard, the most expensive component is the thumbstick at $4. Care to share the PC board files? And controller code? I'm sure others would love to see it and possibly make their own. I've been thinking for awhile about wiring up some kind of prototype with an Arduino just as a proof of concept but as usual, I have more projects and ideas than free time and it just hasn't happened. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085596 Share on other sites More sharing options...
Dr Manhattan Posted August 5, 2018 Share Posted August 5, 2018 This is outstanding work. I wish more people would do this. Maybe one day we could see a small scale, independently produced 5200 controller? The 5200 is one of Atari's best consoles. I hate that the barrier of having a functional controller keeps so many people away from this machine. 10 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085655 Share on other sites More sharing options...
smbaker Posted August 5, 2018 Author Share Posted August 5, 2018 Care to share the PC board files? And controller code? I'm sure others would love to see it and possibly make their own. I've been thinking for awhile about wiring up some kind of prototype with an Arduino just as a proof of concept but as usual, I have more projects and ideas than free time and it just hasn't happened. The code and schematic are up in my github repo, and there's a writeup including BOM on my blog at http://www.smbaker.com/homemade-atari-5200-analog-controller I'm probably going to offer pcboards for sale, perhaps programmed microcontrollers as well. At least enough to sell off my initial supply of extras, and if there's sufficient demand perhaps I could consider ordering more and/or doing a board revision. 3 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4085689 Share on other sites More sharing options...
masschamber Posted August 6, 2018 Share Posted August 6, 2018 This is outstanding work. I wish more people would do this. Maybe one day we could see a small scale, independently produced 5200 controller? The 5200 is one of Atari's best consoles. I hate that the barrier of having a functional controller keeps so many people away from this machine. I made a free hanging keypad today it cost like 2 dollars in parts, I need to figure out a good solution for a joystick then I can start making them. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4086055 Share on other sites More sharing options...
Swami Posted August 6, 2018 Share Posted August 6, 2018 I made a free hanging keypad today it cost like 2 dollars in parts, I need to figure out a good solution for a joystick then I can start making them. It's too bad the jackass seller tripled the price on this baby. It works marvelously with bohoki's 5200-to-15pin PC adapter https://www.ebay.com/itm/Use-any-PS2-Dual-Shock-N64-Controller-Pad-on-PC-w-Innovation-Smart-Joy-Emulator/183204807392?hash=item2aa7db82e0%3Ag%3AURMAAMXQO21RnmFk&_sacat=0&_nkw=Use+any+PS2+Dual+Shock+N64+Controller+Pad+on+PC+w%2FInnovation+Smart+Joy+Emulator+&_from=R40&rt=nc&_trksid=m570.l1313 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4086069 Share on other sites More sharing options...
smbaker Posted August 6, 2018 Author Share Posted August 6, 2018 It's too bad the jackass seller tripled the price on this baby. It works marvelously with bohoki's 5200-to-15pin PC adapter That's funny, I've been considering this approach. It's not difficult to interface a PS2 controller to a microcontroller. Build a keypad directly into the adapter. Done. If we want to get fancy, we could use the two sticks on the PS2 controller to function as two 5200 controllers, map the start and select buttons to the 5200's start and pause, etc. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4086155 Share on other sites More sharing options...
Inky Posted August 6, 2018 Share Posted August 6, 2018 Ooohh.. This I'd like to do. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4086261 Share on other sites More sharing options...
amiman99 Posted August 6, 2018 Share Posted August 6, 2018 Excellent project! It would be nice if you could sell at least the PCB boards (and programmed chips), or if the PCB company you got the boards from offered them for sale. Maybe a group buy? 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4086338 Share on other sites More sharing options...
thegamezmaster Posted August 7, 2018 Share Posted August 7, 2018 (edited) Great looking work! Beyond my to make. Too bad someone doesn't make these for sale. Edited August 7, 2018 by thegamezmaster 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4087064 Share on other sites More sharing options...
ave1 Posted August 8, 2018 Share Posted August 8, 2018 (edited) He raised the price above what I ever imagined when I revealed the 5200 adapters secret on my YouTube channel. It's like it's made of gold now or something... Or at least the seller believes he's sitting on a goldmine. The problem is that in the next couple years, someone will eventually start making a direct PS2 to 5200 controller adapter- undercutting that crazy high price by probably 50%. It will be someone with the knowledge and drive to do it. Edladdin--this could be your new calling. Or maybe Atariguy1021 might be our guy..... Or, heck, maybe Ben Heck! But even better would be Swami, DrVenkman, or smbaker. Edited August 8, 2018 by ave1 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4087245 Share on other sites More sharing options...
Swami Posted August 8, 2018 Share Posted August 8, 2018 He raised the price above what I ever imagined when I revealed the 5200 adapters secret on my YouTube channel. It's like it's made of gold now or something... Or at least the seller believes he's sitting on a goldmine. The problem is that in the next couple years, someone will eventually start making a direct PS2 to 5200 controller adapter- undercutting that crazy high price by probably 50%. It will be someone with the knowledge and drive to do it. Edladdin--this could be your new calling. Or maybe Atariguy1021 might be our guy..... Or, heck, maybe Ben Heck! But even better would be Swami, DrVenkman, or smbaker. I wouldn't blame your youtube channel. Wired Up Retro showed people how useful they could be, then when people started buying them, he used his monopoly to try to exploit the interest. But you are right, we should find a way to end the monopoly. I just need to learn how to program a microcontroller chip. 1 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4087260 Share on other sites More sharing options...
Swami Posted August 8, 2018 Share Posted August 8, 2018 I think the most beguiling part about the innovations PS2/N64 to pc adaptor is that they dont come with instructions. What exactly does that switch on the side do? Is there coherent signal coming through for the ps2 right thumbstick? I get something on the voltmeter from 2nd x-axis (pin 11?) for the gas and brake on my mad cats mc2 ps2 racing wheel but it is a strange pulsing signal. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4087549 Share on other sites More sharing options...
Swami Posted August 9, 2018 Share Posted August 9, 2018 I made a 5200 controller this week: It's kind of crude, a pcb attached to a piece of hardboard. I'm not one for making fancy cases, but it is functional and the thumbstick is analog. Uses the same technique as the Ben Heck controller, a microcontroller talking to a digital pot, though different choices of microcontroller and digital pot. I'm thinking through a possible revision to do away with the microcontroller/digital pot and go for a fully analog solution. An advantage of this controller is that it's relative easy and cheap to make. Aside from the pcboard, the most expensive component is the thumbstick at $4. My thoughts, if you decide to sell these, would be to somehow, as an individual or as a group, find someone to 3-D print cases for them like the 7800 ones being made. You would be a hero. If you add the extra two SAC buttons, you would be a god. Oh, never mind the extra buttons...that's what I want for the ColecoVision. 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4088396 Share on other sites More sharing options...
amiman99 Posted August 9, 2018 Share Posted August 9, 2018 I could design the cases, if I could get one. I'm not an expert in 3D CAD, but I can do it. Similar to Ben Heck's, maybe. 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4088409 Share on other sites More sharing options...
David Alexander Posted August 10, 2018 Share Posted August 10, 2018 (edited) The code and schematic are up in my github repo, and there's a writeup including BOM on my blog at http://www.smbaker.com/homemade-atari-5200-analog-controller I'm probably going to offer pcboards for sale, perhaps programmed microcontrollers as well. At least enough to sell off my initial supply of extras, and if there's sufficient demand perhaps I could consider ordering more and/or doing a board revision. I will do whatever I can and the Atari 5200 Podcast to make this a viable project. I personally would want 4 to start. I love my 4 port and would have to have a controller for each port. Let us know what we need to do Edited August 10, 2018 by Protestari 1 1 Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4088530 Share on other sites More sharing options...
David Alexander Posted August 10, 2018 Share Posted August 10, 2018 It's too bad the jackass seller tripled the price on this baby. It works marvelously with bohoki's 5200-to-15pin PC adapter https://www.ebay.com/itm/Use-any-PS2-Dual-Shock-N64-Controller-Pad-on-PC-w-Innovation-Smart-Joy-Emulator/183204807392?hash=item2aa7db82e0%3Ag%3AURMAAMXQO21RnmFk&_sacat=0&_nkw=Use+any+PS2+Dual+Shock+N64+Controller+Pad+on+PC+w%2FInnovation+Smart+Joy+Emulator+&_from=R40&rt=nc&_trksid=m570.l1313 Wow, I bought one of those after our cohost Steve Averitt made a video about it. I think it was about $20 when I bought it, now $100. Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4088532 Share on other sites More sharing options...
smbaker Posted August 11, 2018 Author Share Posted August 11, 2018 I've been out on a business trip for a week, and I see this has stirred up some interest. As I have a limited quantity (only eight!) of prototypes on hand, it'll be a maximum of 2 pcboards per customer. I will not sell parts or assembled controllers, just pcboards. Preferably to people who are capable of sourcing and programming the microcontroller themselves. Please keep in mind that it does require some level to skill to build the controller, and the appropriate programmer to program the microcontroller. The price per pcboard will be $10 each, plus shipping. Once some others have built them and there have been positive results, I'll either make a second order (with possible revisions, if there is feedback from the initial round of builders), or release the board files so folks can make a group buy, Enough to eventually supply everyone who wants them. If you're interested in these, please send me a PM now. Priority will be given to 1) those who are able to program the microcontroller, 2) those who feel they are capable of designing a case, and 3) those who wish to feature the controller on a blog. Scott Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4089559 Share on other sites More sharing options...
+DrVenkman Posted August 12, 2018 Share Posted August 12, 2018 (edited) I finally took a few minutes this morning to watch this video all the way through. I love it even more. I definitely want to build one of these, but I don't currently have the hardware setup to program the ATTiny microcontroller. Other than that, building one of these using your PCB design seems like it would be really straightforward. I especially like the fact that you desinged the board to be built ambidextrously. For instance, I prefer the thumbstick on the left, fire buttons on the right, so if I ever built one, that's how I'd do it (ANYONE DESIGNING 3D-PRINTED CASES, PLEASE TAKE NOTE TO MAKE MIRROR TOP HALVES AVAILABLE!) That said, if you or someone else in the community (*) does a run of these boards and programmed chips, I'll buy two in a heartbeat. This is a great solution to a decades-long issue. Thank you for sharing your work with the community. (*) I'd get it touch with Marlin Bates (user 'Macrorie' here on AA). He's put together bill of material kits for the 1088XEL A8 computer project, builds and sells Robin Edwaards' UNO and Ultimate Carts for the A8, and Robin's new UNO 2600 cart. He's setup with a pretty good system to handle his parts kit inventories, ordering and payment, etc. Edited August 12, 2018 by DrVenkman Quote Link to comment https://forums.atariage.com/topic/281530-my-homemade-5200-controller/#findComment-4089904 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.