Jump to content

ZX Spectrum Midification


shed
 Share

Recommended Posts

im thinking of trying to build a zx spectrum that i have lyeing around into a midi box.  It has a membrane keypad, and i figure i may be able to conect it up to some DIN modules or something.  But im not sure exactly, how this keypad works.  So if anyone has any info on how possible this would be to do that would be excelent.

Anhow this is a scan of the inside of the keypad, do i need to put together some sort of multiplexer to conect the inputs from the keys?

speckb.jpg

sorry i guess i sound quite stupid, but thanks anyone who reads this.

-ed

Link to comment
Share on other sites

duh thanks, i should have seen the example on the downloads page.  Its a 5 x 8 matrix i think, but i recon it will be cool to play about with.  I saw a alesis drum pad with similar buttons on it once, obviously it wont be the same without velocity but still cool to play about with.  and for changing patterns and settings and stuff on synths and squencers it will be ideal, and cos it is absoultly tiny (about a 3rd of a PC keyboard) it can almost fit in my pocket

Link to comment
Share on other sites

Cool anyway thanks for you help doc, i recon im about ready to get the bits i need to put this together.  So il just go thrugh what i recon im going to put together and if anyone can see any problems with what i want to do a shout would be cool.

So i need a core, and a DIN and DOUT module, and probibly a lcd for convinince.  Then i conect up the matrix off the keypad to the dout and din module. and then join everything up to the core?

On the concetion diagram off the mios downloads page, there is a diode after each switch on every colloumn, is it  possible to have just one diode on the end of each row

img1.gif

thus

insted of like this

img2.gif

cos if not im going to have to hack the pad apart witch will be horrible.

And witch way round is best to conect it? 8 Columns and 5 Rows or 5 Columns and 8 Rows.

Well thanks if anyone has anything to say on this

-ed

Link to comment
Share on other sites

Unfortunately I think you'll need the diodes before every switch. Otherwise you connect a whole row  every time you press one button (C0 e.g).

Just paint the matrix with 2 lines and you'll know what I mean.

I know that this is pretty difficult to realise with your keyboard. But maybe Thorsten know a better way to connect your keyboard.

Doc

Link to comment
Share on other sites

Humm yep, of course stupid me.

Now i got out the spectrum circit board and there are 8 diodes conected to one end of the matrix, but they are the other way around from in Thorsten's diagram.  So it could be that they did things the other way arround, now im not sure what this is conecting to, because i cant find out what the ic that they run into is.

Anyhow, shouldnt this work, because although the coloumns are all conected to the same shift register the rows are all on sepreate ones.

-ed

Link to comment
Share on other sites

I've noticed that the .syx file within the sm_example wasn't up-to-date, so please download the new package. It's now possible to use a scanmatrix with diodes in the other direction by swapping the column and row lines, and by setting SM_SWAP_CR to 1 in sm_simple.inc

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...