Author Topic: k2-mouse  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

Offline tlem

  • Thread Starter
  • Posts: 20
k2-mouse
« on: Thu, 30 October 2014, 22:02:48 »
This is k2-mouse. 



Timeline

Ideas and Design
March-July

Shopping
June-August

Assembly
August-October



The initial ideas

  • don't use the Teensy2, use the TQFP
  • 2 halves
  • direct connection between halves
  • bluetooth
  • able to use a TKL or 104 keyset
  • food pedal jacks
  • hidden screws
  • trackpoint

As you will see, not everything was realized.  Maybe I will revisit some ideas in the future.



Gallery


The case is made of 3 acrylic layers.  The middle is a 9mm white piece.  The bottom (and top) is a 3mm silver piece.  The middle and bottom layers are glued together.  This picture shows the bottom part of the right-hand case.

More


The top part of the right-hand case.  The white pieces are glued on and tapped (M2).

More


The bottom part of the left-hand case

More


The top part of the left-hand case.  The glue is Weld-On 4.

More


The left-hand case and PCB.  Some components have been soldered.  The reset button resets the keyboard, but I have to ground PE2 at the same time to enter programming mode.  Maybe this is only for PJRC's 32U4 chip, which I am using.

More


The HDMI connector was difficult to solder with an iron.  The pins are about twice as dense as the ATmega32U4.

More


The underside of the left-hand PCB

More


The right-hand PCB is the same as the left, but I cut off the mini USB part.

More


The bottoms of the cases were filed at the location of the stabilizer screws.  O-rings were added to sit in between the PCB and case.

More


The MX leads and support legs were trimmed.

More


The switches and stabilizers installed

More


Laser cutting 9mm pieces is not the best.  One side of the cuts is nice.  The other side not so much.

More


Keycaps installed

More


The connectors

More


Everything is assembled.  The HDMI cable is from Monoprice.  I would have liked to use thin cables from ebay, but they were missing some of the 19 HDMI wires.

More



CAD files

The PCB and case was designed in KiCad.  Here are the files.

https://drive.google.com/file/d/0B4DQH9OMBEIAaWgxVmhDT2c1ekU/view?usp=sharing



Cost

The PCB and case cost around $350.  I don't want to add up the rest.



Thanks to

bpiphany's ErgoDox PCB files - has useful footprints
http://ergodox.org/downloads.aspx

komar's GH60 PCB files - BOM has some low price components
http://blog.komar.be/projects/gh60-programmable-keyboard/

hasu's TMK firmware
https://github.com/tmk/tmk_keyboard

matt3o's guide on how to customize TMK
http://deskthority.net/workshop-f7/how-to-build-your-very-own-keyboard-firmware-t7177.html

Ivan for his keycap and stabilizer group buys

7bit for switches

jdcarpe for pointing out the 32U4 being sold by PJRC.  When I was shopping, the chip was not in stock in my preferred shop.
http://geekhack.org/index.php?topic=48851.msg1248125#msg1248125

how a key matrix works
http://pcbheaven.com/wikipages/How_Key_Matrices_Works/

learning PWM for AVR
https://www.youtube.com/watch?v=ZhIRRyhfhLM
« Last Edit: Thu, 30 October 2014, 23:13:25 by tlem »

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: k2-mouse
« Reply #1 on: Thu, 30 October 2014, 22:09:35 »
Some of those keycaps are silly big for the context, but in general, looks awesome! Congrats.

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: k2-mouse
« Reply #2 on: Thu, 30 October 2014, 22:11:13 »
What’s the logical layout? I.e. which keys do what, on every layer you use?

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: k2-mouse
« Reply #3 on: Thu, 30 October 2014, 22:28:17 »
Oh my goodness that's awesome! It's like a larger, better, ergodox! That HDMI cable is a little overkill with those two ferrites on it: maybe consider replacing it with a lighter cable if you think it's stessing the jacks too much.

I like the fullsize enter key and the use of shift keys for the thumbs. Spacebar for the palm button bump bar is also great. Lots of good ideas here. I also like how you can use normal keycaps on it.

I'd like to know the layout as well.

How are you adjusting to it? I don't know if I'd like the ?/ key on the middle like that, but I'm more used to dvorak placement with it near its counterpart \|

Offline CPTBadAss

  • Woke up like this
  • Posts: 14365
    • Tactile Zine
Re: k2-mouse
« Reply #4 on: Thu, 30 October 2014, 22:35:07 »
Actually Jacobus, I think that keycap setup makes a lot of sense. It looks like it's minimal hunting for odd ball caps. A TKL set and some spares some EK if I'm not mistaken. Dorkvader of course pointed this out right before me as well. :)

Tlem, this is incredible. I too would love to hear what you're layout is. And I love that your using Cherry/GMK caps. Would it be possible to see a typing test or video?

Regardless, great job and thank you for the build log.

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: k2-mouse
« Reply #5 on: Thu, 30 October 2014, 23:26:49 »
There are very few projects that make me stop and go holy crap. This is one of them.  It looks fantastic and pretty damn easy to use...if I could get used to the new layout in the middle.  It makes sense, but it's still an unusual one.

How is the palm space bar working?  It's an usual concept that I could see potentially causing ergonomic issues from flexing your wrist up and down. 

Offline obra

  • * Commercial Vendor
  • Posts: 137
Re: k2-mouse
« Reply #6 on: Thu, 30 October 2014, 23:27:31 »
Very, very nice work!

Offline tlem

  • Thread Starter
  • Posts: 20
Re: k2-mouse
« Reply #7 on: Thu, 30 October 2014, 23:33:47 »
Here is my key map.  I am only using 1 layer.  I don't use the ones with red letters, so I will either not use them or remap them later.



I would like to get cables without the ferrite cores, but I am not sure where to get short ones with all 19 pins connected.

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: k2-mouse
« Reply #8 on: Thu, 30 October 2014, 23:35:46 »
omg I love it. Please tell me you have a spare set of PCBs available.

Since you have 19-pin HDMI cables, might I assume you are just transposing the matrix from one side to the other?

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: k2-mouse
« Reply #9 on: Thu, 30 October 2014, 23:41:03 »
Oh, I like the space bar as control. The layout looks a lot easier to get adjusted to now, but would make for awkward Ctrl+Alt combos. 

Don't let tp see this though, he may have to give up on his precious ergodox.

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: k2-mouse
« Reply #10 on: Thu, 30 October 2014, 23:47:21 »
Oh, I like the space bar as control. The layout looks a lot easier to get adjusted to now, but would make for awkward Ctrl+Alt combos. 

Don't let tp see this though, he may have to give up on his precious ergodox.

Yeah Some people (myself included) already use CTRL with the palm of their hands (I have flexible fingers, not as bad as paganini though)  so this is an easy step.

B'sides you can use them for basically anything. I love it. I'd probably use them as function or ctrl, depending on what layout.

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: k2-mouse
« Reply #11 on: Fri, 31 October 2014, 00:01:07 »
Actually Jacobus, [sic] I think that keycap setup makes a lot of sense.
I didn’t say it didn’t make sense! I said it was silly. :-)

Offline tlem

  • Thread Starter
  • Posts: 20
Re: k2-mouse
« Reply #12 on: Fri, 31 October 2014, 21:03:13 »
omg I love it. Please tell me you have a spare set of PCBs available.

Since you have 19-pin HDMI cables, might I assume you are just transposing the matrix from one side to the other?

Sorry I don't have extras.

The 7 rows on the left are connected to the same 7 rows on the right.  7 unused pins from the 32U4 are connected to the columns on the right.  Then I can configure TMK as if it was a 7 row, 14 column board.  2 unused pins are also connected to leds on the right (F5, F6, F7, and F8 are leds).

Offline Coreda

  • Posts: 776
Re: k2-mouse
« Reply #13 on: Fri, 31 October 2014, 21:09:29 »
Came in expecting a mouse I'd never heard of  :)) Is it a reference to something? Either way, very nice work there OP  :thumb:

Edit: I must be blind, didn't notice the trackpoint in the description, although I can't see it in the photos.
« Last Edit: Fri, 31 October 2014, 22:13:04 by Coreda »

Offline frosty

  • jukebox hero
  • Posts: 700
  • Location: Singapore
Re: k2-mouse
« Reply #14 on: Sun, 02 November 2014, 10:54:01 »
Ya! I thought you made a orb weaver with mouse functions like a mouse keyboard of sorts

Offline cinnamonrollz

  • Posts: 27
  • Location: WI
  • buckle master 5000
Re: k2-mouse
« Reply #15 on: Mon, 03 November 2014, 20:30:35 »
Smoking k2 is bad. Dont try it. Won't likely mix with mouse very well