Scan matrix 32x32 (1024 buttons)

hello

Is somebody interested in try new code sm32x32 (1024 buttons)?

Code basing on TK`s sm_8x8 (thank you TK hundreds times!)

Worning! Since I have no free modules at this time, it isn`t checked yet.

Have fun!

http://www.midibox.org/dokuwiki/doku.php?id=qbas

It’s a bit difficult to build a 1024 buttons board, but please

could you upload the scematics too ?

Do you like a better place to host your file ? :slight_smile:

Greetz

This is mostly for custom use, for egzample if you need 17x18 matrix you can use

only some pins (not all).

the diagram is the same like TK relase but four times bigger (longer chain)

http://www.ucapps.de/mbhp/mbhp_scan_matrix1.pdf

please use DINX4 and DOUTX4.

rows go to DINX and counting is the same like pin on board.

Counting on DOUTX4 is here:

first      SR pins 7 - 0  =  our  24 - 31

second  SR pins 7 - 0  =  our 16 - 23

third      SR pins 7 - 0  =  our  8 - 15

fourth    SR pins 7 - 0  =  our  0 - 7

I hope it is clearly.

The program put outside sysex string: F0 #ROW  #COLUMN value F7.

i would love this code as im setting up a simple 12x5 matrix.. however i cant program asm.. so im at a loss where how to achieve it..would really appreciate the source..

http://www.midibox.org/dokuwiki/doku.php?id=qbas

just started qbas -wiki page

thnx.. !!

QBAS,

Your old wiki address http://www.midibox.org/dokuwiki/doku.php?id=qbas does not work.  Do you have a new link to the matrix code?

I have received core and I/O kits from smashtv and will beginning assembly of the matrix with three keyboards, stops, pistons, etc., etc., and will keep you posted when ready to run the tests you recommended.

Thanks,

Johnc

And that’s precisely why I always tell people - don’t put your code and documentation on some other web server, it will only get lost in time. There’s plenty of storage here.

[sm_32x32.zip](< base_url >/applications/core/interface/file/attachment.php?id=421)

[sm_32x32.zip](< base_url >/applications/core/interface/file/attachment.php?id=3563)

hey qbas

ive been trying to write the code to expand the examples to 16x16 and been unsuccessful so far. looking at your code though, it seems we approached it quite differently > i will try and test it out tomorrow. i’ve only got 8x12 matrix at the moment, but theoretically it should work on smaller matrices yes…?

it’s too late in the evening right now, but hopefully some success soon…

trent

Styrd_1 you are <MAN>! Thank you for help with keeping this zip file.

*jOi~ - yes, it will work with smaller matrix too.

Johnc - have fun with assembling!

I`m ready to try help!

No worries mate :slight_smile: I archive as much as I can for … well… I don’t know the reason, but it comes in handy sometimes :smiley:

just been playing with the code, and it works well - few problems though which i think stem from the lack of debouncing. i tried to migrate the code into C but alas it hasn’t worked as seemlessly as hoped (i have a much easier time working with C code).

hardware was 8x16 switch matrix using 2xDOUT and 1xDIN

i assume you left the debouncing out, as it would consume too much processor power for all the buttons, however on second thought, maybe my problem is not debouncing… i will get back to you about it.

nonetheless, it works *thumbs up*

t

@*jOi~

I cut debouncing since most of my projects with matrixes was keyboards.

What hardware are you use? What kind of problems are you meet?

tried to migrate the code into C

I stopped learn C - I can`t help with it.

hardware was 8x16 switch matrix using 2xDOUT and 1xDIN

This code was prepare to 4xdin and 4xdout modules. I dont know how it will be work with smaller setup.

Of course any kind of customization can be done, but I`m not prepare (yet) configuration definitions.

i assume you left the debouncing out, as it would consume too much processor power for all the buttons

  no - i just no needed this with keyboard, and I used this timer for velocity counter.

I hope to get on to this this weekend, either 32x32 or a smaller matrix. I found out that the link to the SM 32x32 doesn’t show when you’re not logged in though.