Ben Heck's Atari Junk Keyboard Part 1: Enter the Matrix

preview_player
Показать описание


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.
Рекомендации по теме
Комментарии
Автор

This is the  most interesting program for ages, because of your use of discrete logic chips.

stuartthegrant
Автор

The day I see Ben use an IC socket I think my brain would explode

bd
Автор

Funny that you should be wearing that tshirt after I have watched Road House lol

fatefulcoma
Автор

can you post a schematic of that board you built so I can better understand what you were doing?

billfield
Автор

This is a project that should be revisited one day when you have a less strict time limit.

Washu
Автор

the johnson counter...why do I get a really weird mental image of a machine counting "Johnsons".. XD

simonella
Автор

Between octaves there will be polyphony... But not within octaves...
Well, nobody ever needs to play more than one note at a time in an octave anyway.

tetsujin_
Автор

Wouldn't it have been easier to build a 555/556 top octave generator and then just divide down? That way it would only take 13 pots for the whole keyboard and, with the correct circuit routing, give full polyphony.

djashley
Автор

Midi input? Please? I always wanted to build this circuit with midi.

Kyoju
Автор

I always look forward to these videos!!! Have you thought about creating noise canceling headphones that allow sound in above certain thresholds or frequencies?

CharlesFormanWonderUnit
Автор

I personally think it would be easier to use an LM556 dual timer for each of the Punk Atari consoles, and have one of those for each key. You could make a simple PCB design, repeat it for as many boards (keys) as you needed, and you'd have the advantage of it being polyphonic. The amount of work you did just for the logic circuits could be used for setting up the Punk boards. You'd have the thing working in no time.

Bleats_Sinodai
Автор

Please PLEASE make it into a key-tar!!!! IT WOULD BE SO AWESOME!!!

QTProductionsofUtah
Автор

"It's actually pretty simple" WTFAMIWATCHING

dusk
Автор

I have that same "Way To Normal" tour t-shirt!

rloasby
Автор

I don't suppose Felix has a schematic of his 555 audio part; I've been trying for months to get one of these working with no luck.

linuxgnuru
Автор

I have a TechnoBeat (Manley) keyboard that won't play major sixth or double octave intervals. Otherwise it is polyphonic. This is the strangest phenomenon I have ever encountered. Wish you could evaluate this product. It is one of my prized possessions (been collecting and building keyboards for 60 years).

fnersch
Автор

Very cool! The value goes up when you make it yourself... :)

SharifSourour
Автор

You should do an episode devoted to 555 timers. I'd love to see other projects!!

ConanRider
Автор

How long does it take you to film an episode? It feels like would take a lot of time not to mention the editing.

TheManShel
Автор

When the terminal goes low, we go high. Another great message for our times.

mstevens