element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Documents Atari 5200: Making a Better Controller -- Episode 339
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 24 Apr 2018 6:59 PM Date Created
  • Last Updated Last Updated: 20 Apr 2018 7:24 AM
  • Views 2688 views
  • Likes 3 likes
  • Comments 15 comments
Related
Recommended

Atari 5200: Making a Better Controller -- Episode 339

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

The Learning Circuit
sudo Sergeant
See All Episodes

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Felix has brought in his first game console, the Atari 5200, which was notorious for its bad controllers. That’s exactly why Felix quit playing it. Taking advantage of Ben’s expertise in working with controllers, they’re going to take the controller apart and make a new one.

 

 

In 1982, the Atari 5200 was Atari’s answer to competing consoles such as the ColecoVision and the Intellivision.  It’s basically an Atari 400 computer that was repackaged as a game console.  Ben unscrews the case from the bottom of the case.  As his first computer was an Atari, he knows what to expect.  It’s going to be MOS Technology 6502 game system.  He removes the RF shield to get to the main circuit board.  He recognizes the Mask ROM due to its reduced pin count but he’ll need to look up and mark the rest of the chips.

 

The CPU is a custom version of the 6502 MOS chip, the ROM boots the system, POKEY which is a potentiometer keyboard controller, the ANTIC chip works as a graphic controller for the display, and the GTIA chip receives data from the ANTIC and adds sprites if applicable before sending the stream to your television.  It contains 8 RAM ICs at 16 kb which act collectively as one word of memory.  Ben looks up the schematic to find out how the POKEY chip interfaces with the controller ports.  He points out the audio and video circuitry which is used to take digital signals and convert them to analog so they can become an RF signal to go to the RF adapter on your TV.

 

Ben goes to work on designing a controller in Autodesk Fusion 360.  The board has an Atmega 328 and translates the analog joystick values to a digital potentiometer, providing a range that matches the analog signals which the console can interpret.  The board has an Analog Devices AD5242 dual potentiometer on it.  Next they are going to take a modern joystick and convert its values into something the Atari can understand by using the Arduino IDE.

 

Disclaimer

  • ram
  • mos
  • potentiometer
  • digital signal
  • ic
  • joystick
  • sketch
  • pokey
  • gtia
  • arduino ide
  • mask rom
  • rf signal
  • analog devices
  • antic
  • rom
  • 6502 mos chip
  • atari 5200
  • ad5242
  • analog signal
  • mos technologies
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +1
    Not a gamer, but it was fun to see the new controller being designed. DAB
  • aaronbergstrom
    aaronbergstrom over 3 years ago

    I was wondering what values were used when setting the AD5242 Data bytes. By that I mean, was the entire 0-255 range used? Since the 5242 is a 1M Ohm digital pot, I'm guessing only half the range should be used?

    I ask because I have been working on a Atari VCS Modern Controller USB interface for the Atari 5200, and I can't seem to get the AD5242 settings correct. I have a basic version of this working... the fire buttons work, and the keypad works... and the joystick part sort of works with Joust, but not real well with Pac-Man.

    It's not apparent from the code shown in the youtube video what the values are.

    I've been using a range of 0-127, where 0 is all the way to the Right/Down and 127 is all the way to the left and Up.

    Here's an example of it working: Atari VCS Modern Controller with 5200

    Any insight you can provide on this is greatly appreciated.

    Thanks,

    Aaron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • tabajaralabs
    tabajaralabs over 6 years ago

    I'd love to have at least the STL of the controller...I'd change the controller circuit for something simpler, these self-centering digital joysticks we've beem making from the age of TRS-COLOR using analog switches and logical gates, real zero-delay controllers image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • drvenkman
    drvenkman over 6 years ago

    Please, please pretty please make the PCB  files, case STL files and Arduino code available!  I'd love to make a few of these for myself to replace the crappy stock controllers I have with my 4-port 5200. I love the system but I just can't deal with the janky controllers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • tabajaralabs
    tabajaralabs over 7 years ago

    I'd love to have the 3D printing files/PCB...My 5200 is controllerless image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • tzaylor
    tzaylor over 7 years ago

    I loved this episode. Seeing the old 5200 graphics on screen was incredible.  The 5200 was my first console. I loved Kangaroo. We also had pole position, Popeye, fogger, pacman, qix, pengo, star raiders, joust......great memories. Let us know if you decide to produce the controllers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • wallyllama
    wallyllama over 7 years ago

    Magnavox Odyssey II. Much worse controllers

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • tsxownz
    tsxownz over 7 years ago

    please consider releasing some or all the design files for this project. it is super awesome in both form and function.

    thanks

    ej

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Sean_Miller
    Sean_Miller over 7 years ago

    I remember liking the Atari 2600 joystick - but probably because it was the only one I ever knew. 

     

    One time my dad played a few games with me and he got horribly frustrated.  He threw the controller, but it being tethered, it came flying back at him.  I was terrified, but it is still a funny story to tell today every time I head home to visit.

     

    It would be about 22 years later he sat with me and played NFL Fever on the XBox.  I set all the sliders to make him the world's most dominant quarter back in history, we played on the same team, and he had a great time.  Thank goodness - I had a wireless controller - could have caused some serious damage.

     

    -Sean

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jak327
    jak327 over 7 years ago in reply to makerkaren

        Can you buy these?  If so how much?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 7 years ago in reply to jak327

    Yes. Yes it is.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube