Author Topic: GrandMA2 Command Keyboard  (Read 18365 times)

0 Members and 1 Guest are viewing this topic.

Offline antarios

  • Thread Starter
  • Posts: 21
GrandMA2 Command Keyboard
« on: Sun, 17 July 2016, 14:12:47 »
Project MA2CMDKEY started.


The keyboard is designed to support the program on the PC, which is based I hotkeys.
The keyboard has 70 Cherry MX keys.
USB module will be a teensy pcb.
Housing - black laminated plywood.
Fixing - steel plate.
Connection - wires and diodes (without pcb for now).

I do not hide that, I'll need help with some issues, such as the design of the mounting plate or programming teensy.

And here the first question: whether teensy can be programmed shortcuts such as <RightAlt + b> or <Shift F1>?

Regards, and wait for the advice.

Thanks builder.swillkb.com and www.keyboard-layout-editor.com.
It created the beginning of this project.



and beta rev. of plate


in progres ....

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: GrandMA2 Command Keyboard
« Reply #1 on: Mon, 18 July 2016, 02:21:32 »
Interesting layout, RO(?) sticking out looks a bit odd to me but it's your board :)

A Teensy can indeed do modified keys - take a look at EasyAVR and TMK, both have threads in this section.
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline mrbishop

  • * Maker
  • Posts: 799
  • Location: South Carolina USA
  • Evil Genius
    • Bishop Computer Design web
Re: GrandMA2 Command Keyboard
« Reply #2 on: Mon, 18 July 2016, 09:43:24 »
I have been known to cut plates. If you need help with the design or manufacturing feel free to let me know. Cool project

sent from my chess board

Projects
Build to give back, 40% | Alps/Matias Removal ToolUltraHack 67% Hackdura  | ErgoDox case
                             
    

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #3 on: Mon, 18 July 2016, 13:10:56 »
I have an idea to combine the plate and the upper part of the casing and make it as one part of the milled plywood .It will allow me to order a housing in one machining company.

Housing then will consist of two layers: the top (switch plate and front) and the bottom.

Is it good idea ? Is a layer of plywood will not be too thin?
btw. what should be the thickness of the plate to cherry mx?

I use - http://builder.swillkb.com/ to build housing, but the top layer is unsatisfactory. I want to see the upper part filled the gaps between the buttons.

Any suggestions ?

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #4 on: Mon, 18 July 2016, 13:17:47 »
Interesting layout, RO(?) sticking out looks a bit odd to me but it's your board :)


Inspiration from the device :

Offline hoggy

  • * Ergonomics Moderator
  • Posts: 1502
  • Location: Isle of Man
Re: GrandMA2 Command Keyboard
« Reply #5 on: Mon, 18 July 2016, 23:12:52 »
You could test the layout on an old tipro turned sideways.  Then you could make tweaks before getting a plate cut.
GH Ergonomic Guide (in progress)
http://geekhack.org/index.php?topic=54680.0

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #6 on: Tue, 19 July 2016, 07:15:14 »
Opitmized for easy wiring

Offline mrbishop

  • * Maker
  • Posts: 799
  • Location: South Carolina USA
  • Evil Genius
    • Bishop Computer Design web
Re: GrandMA2 Command Keyboard
« Reply #7 on: Tue, 19 July 2016, 07:57:44 »
the gray on black hurts my eyes  :confused:

but it does look like its going to be a cool thing man!

would look real nice in carbon fiber, i have recently discovered the stuff and god its sexy.

although a nice mat black painted aluminum plate would look awesome too.

Projects
Build to give back, 40% | Alps/Matias Removal ToolUltraHack 67% Hackdura  | ErgoDox case
                             
    

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #8 on: Tue, 19 July 2016, 10:00:28 »
the gray on black hurts my eyes  :confused:

but it does look like its going to be a cool thing man!

would look real nice in carbon fiber, i have recently discovered the stuff and god its sexy.

although a nice mat black painted aluminum plate would look awesome too.

And orange backlight ...  :cool:

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #9 on: Tue, 19 July 2016, 10:08:11 »
This is the current version, made on the POS keyboard.


I want to do something more ambitious, close to the original.

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #10 on: Fri, 02 September 2016, 14:35:10 »
Today's package ...


All laser-cut plates.



V 1



V 2



DWG drawings for steel processing companies downloaded from : http://builder.swillkb.com/
generated under the project: http://www.keyboard-layout-editor.com

awesome: D
« Last Edit: Tue, 14 July 2020, 16:04:37 by antarios »

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: GrandMA2 Command Keyboard
« Reply #11 on: Fri, 02 September 2016, 15:52:46 »
Nice, are you planning on making all of them?
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #12 on: Fri, 23 September 2016, 03:33:35 »
Welcome back !

Nice, are you planning on making all of them?
At the moment I'm going to do one to refine the technique of construction.

When searching hundreds of shops of electronic parts, I came to the workshop with cash registers. The owner showed me his magazine scrap prepared for recycling.
And guess what I found?




Yes :) !
Complete PCB 6x11 with Cherry MX Black switches.
All in excellent condition. I ask: how much is it worth to you?
He replied: "Take it, for me it's just scrap, and so I wanted to throw it out"

I'm going to unsolder the first PCB to win switches for my project, and the other may be earmarked for a QWERTY keyboard with a new housing. maybe .

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #13 on: Fri, 23 September 2016, 04:29:15 »
My dummy already likes it!

« Last Edit: Wed, 15 July 2020, 14:07:57 by antarios »

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #14 on: Tue, 27 September 2016, 00:52:38 »
Painting



and mounting ...


Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #15 on: Wed, 28 September 2016, 16:03:05 »
It was really hard for me ... but somehow did that.

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #16 on: Mon, 03 October 2016, 05:24:14 »
And another batch of parts arrived.
Designed at: Plate & Case Builder by swillkb




And now a few questions:
Teensy 2.0 or 3.2 ?
Diodes 1N4148 ?
Do I need any more resistors ?
If T2.0, what pins used for rows and columns ?
     In my case, 7 columns and 11 rows ?
« Last Edit: Tue, 14 July 2020, 16:08:28 by antarios »

Offline Fictiouz

  • That "White" Guy
  • Posts: 465
  • Location: Halifax, NS, CA
  • "You miss 100% of the shots you take." -S. Trooper
Re: GrandMA2 Command Keyboard
« Reply #17 on: Mon, 03 October 2016, 05:47:55 »
And another batch of parts arrived.
Designed at: Plate & Case Builder by swillkb

Show Image

Show Image


And now a few questions:
Teensy 2.0 or 3.2 ?
Diodes 1N4148 ?
Do I need any more resistors ?
If T2.0, what pins used for rows and columns ?
     In my case, 7 columns and 11 rows ?

You shouldn't need resistors unless you are doing LEDs. Make sure the Teensy is AVR (ie ATMega32u4) based, NOT ARM based. And make sure the number of I/O pins on the Teensy you choose is equal to or greater than the number of Rows + Columns, in your case a minimum of 18 I/O pins are required. This would not include the addition of LEDs which would require a separate pin. But in all honesty, handwired LEDs are a pain in the ass.
Halifax, NS Meetup | "I know you'll come back to me, I'm like a good kind of herpes, I'm impossible to get rid of." - 27
67g Zilent V2 M60-A | BKE Redux HHKB Professional 2 | 62g Silent Black Planck | 62g Vint Black Tex Yoda II | Bolt-Modded Model M 1391301

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #18 on: Mon, 03 October 2016, 12:09:43 »
Teensy 2.0 got ATMEGA32U4 8 bit AVR 16 MHz and 25 lines I/O so i gues enough for my project.
Anyway, other projects are based on a teensy 2.0.

When I edited the file handwire.py to adapt it to my plate I found a part responsible for PCB pins t2.0:

# The number of rows and columns in the matrix. In a hand-wired board
# Of each These will correspond to a single pin.
num_rows = 6
NUM_COLS = 17
.
.
.
matrix_hardware, matrix_strobe, matrix_sense make_matrix_config = (
     strobe_cols = strobe_cols,
     strobe_low = strobe_low,
     rows = [B5, B4, B3, B2, B1, B0]
     cols = [D5, C7, C6, D4 D0, E6, F0, F1, F4, F5, F6, F7, D7, D6, D1, D2, D3],
     device = firmware.device
)

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #19 on: Wed, 12 October 2016, 13:03:57 »


Can anyone help program the Teensy 2.0 PCB ?

Offline 0100010

  • Posts: 1127
  • Location: DFW, TX, US
  • Not Sure
Re: GrandMA2 Command Keyboard
« Reply #20 on: Thu, 13 October 2016, 20:54:36 »
Teensy has its own loader you can download from pjrc.com.

If you need to build firmware, EasyAVR is fairly straightforward.  Download the source from github and follow the instructions to design the layout, then assign scancodes and compile.
  Quoting me causes a posting error that you need to ignore.

Offline mrbishop

  • * Maker
  • Posts: 799
  • Location: South Carolina USA
  • Evil Genius
    • Bishop Computer Design web
Re: GrandMA2 Command Keyboard
« Reply #21 on: Thu, 13 October 2016, 21:54:42 »
Kb.size.io is useful

sent from my chess board

Projects
Build to give back, 40% | Alps/Matias Removal ToolUltraHack 67% Hackdura  | ErgoDox case
                             
    

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #22 on: Wed, 19 October 2016, 16:16:45 »
After many failed attempts, I decided to create a new default layout by editing the file handwire.py and created Blank11x9.


Then assign the field proper key functions with modifiers, required by the program which is designed keyboard, and I generated hex file.


Loader teensy 1.21 accepts a file so you should be able to upload the file.


Still I need an answer to the question: which pins teensy 2.0 should used to the columns and rows ?
I know that I also have to put these pins in the file handwire.py
.
.
  strobe_low = strobe_low,
      rows = [B5, B4, B3, B2, B1, B0]
      cols = [D5, C7, C6, D4 D0, E6, F0, F1, F4, F5, F6, F7, D7, D6, D1, D2, D3],
      device = firmware.device
.
.

Any advice?

Offline 0100010

  • Posts: 1127
  • Location: DFW, TX, US
  • Not Sure
Re: GrandMA2 Command Keyboard
« Reply #23 on: Thu, 20 October 2016, 10:36:21 »
You can use whatever I/O pins you want, so long as you have 9 set and columns and 11 set as rows and you do not use PD6.
  Quoting me causes a posting error that you need to ignore.

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #24 on: Sun, 01 January 2017, 11:53:55 »
Welcome back !!
The project has been held up by lack of time.
But we go further.
This is a proposal connections
(pro paint edit ;) )

and configuration in handwire.py
"    strobe_cols = strobe_cols,
     strobe_low = strobe_low,
     rows = [F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D4]
     cols = [D3, D2, D1, D0, B7, B3, B2, B1, B0]
     device = firmware.device
"
As the row / col (0.0) F0 and D3 correspond to the first pin in the matrix

Can anyone help verify the code?

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #25 on: Tue, 10 January 2017, 05:24:32 »
Job done !!

Final assembly - wiring switches and teensy




Code build at Easy AVR .
Some features do not work properly, the program is interpreted differently, so all shortcuts with modifier [Alt] have been replaced by Macro  \ LALT (\ p,)
Everything works properly.
« Last Edit: Tue, 14 July 2020, 16:14:29 by antarios »

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #26 on: Fri, 28 April 2017, 15:53:29 »
« Last Edit: Tue, 14 July 2020, 16:15:46 by antarios »

Offline Linus00

  • Posts: 1
  • Location: Sweden
Re: GrandMA2 Command Keyboard
« Reply #27 on: Tue, 24 October 2017, 06:42:14 »
Hey guys!

I got some cuestion as I am building a keybord for X-keys X1-X20 and the buttons User1, User2 and List.

Where could i got the keycaps for my mx cheery black? I would like to get the keycaps as the ones on the console, so I can get leds inside the keycaps?

Offline prismaland

  • Posts: 1
Re: GrandMA2 Command Keyboard
« Reply #28 on: Fri, 01 December 2017, 16:04:29 »

hi where have you bought the key caps
I can not find them anywhere
thank you

Offline ErgoMacros

  • Posts: 313
  • Location: SF Bay Area
Re: GrandMA2 Command Keyboard
« Reply #29 on: Fri, 01 December 2017, 16:40:56 »
Hi,
Search for: cherry MX relegendable keycaps

Deskthority has a page about them: https://deskthority.net/wiki/Relegendable_key

These are nice in that all 5 faces are legendable (go wild):
   https://mechanicalkeyboards.com/shop/index.php?l=product_detail&p=2279
Today's quote: '...“but then the customer successfully broke that.”

Offline jacob.stadtfeld

  • Posts: 3
Re: GrandMA2 Command Keyboard
« Reply #30 on: Thu, 14 December 2017, 23:59:34 »
This is awesome.
I'm currently trying to do something similar with a Cherry SPOS keyboard for ONPC as well but I'm having a hell of a time isolating the keystrokes from the SPOS, such that I can still use my laptops built in keyboard normally, and run the SPOS through Bomes such that it functions as a MIDI controller. Is anything you're using here allowing you to do so or are you just running ONPC in keyboard shortcut mode?

Offline antarios

  • Thread Starter
  • Posts: 21
Re: GrandMA2 Command Keyboard
« Reply #31 on: Fri, 26 January 2018, 04:54:41 »
Welcome back.
Help needed .
I decided to make several improvements:
1 - replace keycaps with keys from TKL 87 Black Blank
     I will make imprints on the keys using the water transfer method


2 - add a usb port on the front panel to the usb light


Lamp it self



And measured current



I would like to connect this power port as a teensy pin from the backlight.

Will anyone help me how to do it?

Offline manwolf

  • Posts: 2
Re: GrandMA2 Command Keyboard
« Reply #32 on: Mon, 19 March 2018, 02:28:05 »
This is awesome.
I'm currently trying to do something similar with a Cherry SPOS keyboard for ONPC as well but I'm having a hell of a time isolating the keystrokes from the SPOS, such that I can still use my laptops built in keyboard normally, and run the SPOS through Bomes such that it functions as a MIDI controller. Is anything you're using here allowing you to do so or are you just running ONPC in keyboard shortcut mode?


hey all, in the same boat! just bought a cherry SPOS keyboard, was planning on doing something similar to what Luke Stratton does. How does one go about assigning the keys on the keyboard, and making sure it is separate from the keyboard on my laptop?