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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Ben Heck’s Atari Junk Keyboard Part 1: Enter the Matrix Episode -- Episode 261
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: pchan
  • Date Created: 27 Oct 2016 8:18 PM Date Created
  • Last Updated Last Updated: 21 Oct 2016 7:24 AM
  • Views 780 views
  • Likes 3 likes
  • Comments 2 comments
Related
Recommended

Ben Heck’s Atari Junk Keyboard Part 1: Enter the Matrix Episode -- Episode 261

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

Connect with TBHS
Featured Bonus Content
See All Episodes

 

 

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

The team begins working on an Atari Junk Keyboard, a version of the Atari Punk Console that combines 555 timers to make a simple circuit that makes Atari-like music and sound effects. Instead of using sequences to repeat Atari-like sounds they decide to make a whole keyboard of the sounds.

 

Episode 262: Ben Heck’s Atari Junk Keyboard Part 2: Stepped Tone Generator Episode

 

Supporting Files

Click Herefor access to all the supporting files you will need to replicate this build!

 

The plan is to take the matrix from a set of keys to figure out how they work, add discrete logic by using a circuit to read keys instead of opting for a microcontroller, and then feed that input into a number of Atari Junk Console integrated circuit pairs resulting in multiple sound effects playing at once. They begin their project by first getting the keyboard matrix working so they can later attach it to the Atari Junk Console to make music.

Ben begins by wiring up an oscillator. An oscillator is different than a crystal in that the oscillator can output its own waveform whereas a crystal you have to attach something else to it in order to get a square wave. The 1mhz oscillator has power and ground going into it and pins for enable and output. When you hook up power and an oscilloscope to the output pin you should see a 1mhz square wave coming off of it. As that may be a little too fast for the switch matrix a CD74HC4017 Johnson Decade Counter is used to divide the frequencies.  A second Johnson counter is also added.  On the first Johnson counter one of the outputs is going into the clock input of the second Johnson counter.  This prevents 2 useless cycles and keeps timing more consistent.

Next he hooks up the outputs of the Johnson Counter to an inverting buffer that will drive the columns as well the flip flop driver that will load the data off of the switches. He uses an Inverting buffer 74HCT540 and wires it so that it so that it goes onto his breadboard.  He does more analysis on the oscilloscope after he wires outputs from the Johnson Counter to the Inverting buffer and decides to use another Johnson counter to drive the flip flops.

Ben attaches 8 octal flip flops. A flip flop holds one bit of memory, which can be set or cleared. An octal flip flop has 8 bits per flip flop but they only need the first 6 bits to line up with the rows of the switch matrix to give them 48 keys. He attaches the output enable line on each one of the flip flops and then attaches the clock line from the secondary Johnson counter to tell the flip flops when they should be loading data. The switch matrix is attached to all 8 of the flip flops but only one flip flop at a time will be loading data off of the switch matrix.

The goal is to have 48 on-off signals from the matrixed keyboard.  When a switch is closed, and its column goes low (active) this pulls the signal low.  Once Ben gets his keyboard matrixes working Felix takes a circuit from the breadboard and ports it over to a protoboard. He also adds six buttons and seven potentiometers.  They’re planning one potentiometer per key for note, and one potentiometer per octave for effect. The tact switches will be replaced by flip-flop drivers on the final unit. Felix connects variable resistors (potentiometers) with the circuit and gives it a test run.

  • episode 261: ben heck’s atari junk keyboard part 1:
  • hack
  • enter the matrix episode
  • heck
  • ben
  • tbhs_ep
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
  • mayermakes
    mayermakes over 8 years ago

    I have made this Synthesizer watch a while back it also utilizes 2  555 timers and feeds them through a simple 2 Step sequencer to create atari like sounds, you play it quite like a theremin but on your wrist! always ready to get on someones nerves!
    https://www.youtube.com/watch?v=CcfS_xI3Pdk&html5=1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Great episode.

     

    It took me back a number of decades when we had to manually interface keypads and buttons to microcontrollers.

     

    I think a lot of people do not understand the effort needed to reliably take switch inputs and convert them into reliable signal inputs for other actions.

     

    Making a keyboard is just one of many applications for this technology.

     

    DAB

    • 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