Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 11:49 08 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2 All-In-One Case

     Page 3 of 3    
Author Message
HellbentHorse
Regular Member

Joined: 08/07/2020
Location: Australia
Posts: 55
Posted: 08:15pm 10 Sep 2020
Copy link to clipboard 
Print this post

  jpusztai said  @HellbentHorse, are the connections to LCD panels "standard" i.e. is there a straightforward way to graft a VGA interface onto one? The "DIY laptop" market is so weak compared to the near-infinite DIY desktop options :(


Unfortunately most laptop screens use either a 30 pin or 40 pin ribbon cable and as far as I'm aware in either case you would need to connect the ribbon into a controller board to convert the signal to be able to hook up a VGA cable. You can't just graft the ribbon straight to a VGA connector.

You can buy controller board kits though that for instance can have VGA/HDMI/DVI/RCA outputs so you can use the laptop panel with just about anything.

An example for LCD to VGA: here
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3669
Posted: 09:44pm 10 Sep 2020
Copy link to clipboard 
Print this post

A lot of the screen panels will be LVDS I expect.

John
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 10:38pm 17 Sep 2020
Copy link to clipboard 
Print this post

  jpusztai said  Hi, Nim.

I got mine from here.

The design is based on a Teensy microcontroller (which in turn is like an Arduino on steroids...), and theoretically you could build one yourself, but that wasn't where I wanted to spend my time just now :)

I ordered mine last week, but don't have it yet. It's a little pricey, so if you like, once I get it, I can give you a "thumbs-up" if it works fine with the CMM2 (I am aware the CMM2 doesn't like every USB keyboard, so something funky like this might cause problems).

In the meantime, here's a video showing a RPi-based build.

Very cool video link, food for thought.

Just note (having looked into this) that if you "roll your own" you need a Teensy 2.0 or Sparkfun ProMicro with the ATMEGA32u4 microcontroller.  You also need to check that the board you use has sufficient pins for the keyboard matrix.  These boards are used my many of the bespoke mechanical keyboard kits availble.

  Nimue said  That would be splendid -- also looking at the C64 route as I have access to a dead one.

Great idea, personally I have been looking at doing something similar with an old Acorn Electron that my wife picked up for me in a local charity shop.  I originally planned on putting a raspberry pi into it, but the CMM2 might be a better match.  I already have the Freescale FRDM-KL25Z board to drive it as per this instructable.

Tynemouth Software in the UK used to make a number of boards to rework old micros into usb keyboards although they were not cheap.

The Electron has Futaba ML mechanical key switches which are wired in a simple matrix.  A proper "lego on a tin tray" keyboard.

  Nimue said  Plus - got me thinking about a modern USB mechanical keyboard but they cost £££....

I purchased a Cherry Compact G84-4100 Mechanical Keyboard, which I have tested and seems to work fine with my CMM2.  Mine cost me £20 delivered on ebay, and there are a few listings at similar prices when I checked today.



The switches are Cherry ML which are not to everyones taste being short travel, but I already had a similar PS2 keyboard (purchased in 1998) which used to be my daily driver (until the trackball died) so I knew I liked them.  I still use the PS2 board as my goto when building PC's on my workbench, so I know they are durable.

Added bonus the G84-4100 looks great alongside my CMM2

For reference I am typing this on a Zalman ZM-K500 which has switches from Kailh and are low activation force linear non clicky switches designed as an equivalent to Cherry reds.  To be honest I prefer the Cherry ML's for typing.  The Zalman came free from a PC rebuild job, so the price was right, but I would not recommend it for serious typing and I have not tried it with the CMM2 as it lacks an easily accessible \ key (to get  that character I need to use an undocumented AltGR+# key combo).  Its fine as a cheap "ten keyless" gaming keyboard but not much use for serious work.

Regards

Womble
 
djwildstar
Newbie

Joined: 29/07/2020
Location: United States
Posts: 24
Posted: 12:09pm 18 Sep 2020
Copy link to clipboard 
Print this post

@Womble -- Thanks for the keyboard report!  

The Cherry G84-4100 looks like it is exactly the same dimensions as the small laptop-style keyboard I used for my case build.  Here in the US, Cherry is charging $75-$100 (the equivalent of about £60-£80) for the version with the American keyboard layout.

Knowing it works and will almost certainly fit the case, I might give it a try anyway.
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 07:54pm 19 Sep 2020
Copy link to clipboard 
Print this post

  djwildstar said  @Womble -- Thanks for the keyboard report!  

The Cherry G84-4100 looks like it is exactly the same dimensions as the small laptop-style keyboard I used for my case build.  Here in the US, Cherry is charging $75-$100 (the equivalent of about £60-£80) for the version with the American keyboard layout.

Knowing it works and will almost certainly fit the case, I might give it a try anyway.


WARNING ... READ THIS FIRST
EDIT: Peter has fixed this here. Keyboard works although no status LED's. Firmware Update Required

I have done some further testing with this keyboard.  In my original post (which I cannot edit) I said:
  Womble said  I purchased a Cherry Compact G84-4100 Mechanical Keyboard, which I have tested and seems to work fine with my CMM2.

I have discovered today that is not quite true !!!!
pm sent to djwildstar



The clue is that the indicator LED's do not work.  I am so used to having NumLock turned off in the bios on my PC's that my daily driver keyboards by default do not display any status lights.  My Bad  

Whilst using the G84-4100 today I accidentally hit the CapsLock key and everything stopped.  That started me down a thorough testing route, and much head scratching ...

Basically if you hit any of the CapsLock, NumLock or ScrollLock keys, and only those keys, the keyboard locks up and stops sending characters to the CMM2.  Programs running on the CMM2 carry on running, just will not register ANY keypresses.

The fix is to disconnect the keyboard at the USB-A plug and reconnect it, and everything magically starts working again.  

I can only assume there is something in the keyboard that knocks it over.  I opened up mine to look inside and see if I could disconnect the LED's but they are part of the key matrix pcb.

I am considering wiring in a "push to break" in the keyboard 5v wire, but have not been brave enough to do that (yet).

The usb keyboard controller is separate from the keyswitch pcb (connected by a soldered ribbon cable) and the usb cable is connected with a plug so can be shortened for use  inside a custom case.

Apart from this GOTCHA the keyboard does do keyboardy things.  I really like the "feel" of the Cherry ML key switches, and I intend to continue using it with my CMM2 for the time being.

Can I recommend the keyboard ... probably NO
but it does work (sort of).
Edit: Now Fixed , so YES, this is now my preferred keyboard for the CMM2

As part of my testing I aslso tried the keyboard on my Windows pc, and there it performed faultlessley.  The indicator leds work, and all the keys function as they should.

One to look out for second hand or for cheap ... but do not pay full price!!!

I do not know if this is peculiar to the Cherry G84-4100, or if other Cherry keyboards do this.  It might be because this board will work with the supplied PS2 adapter. YMMV.

Regards

Womble
EDIT: Peter has fixed this here. Keyboard works although no status LED's. Firmware Update Required
Edited 2020-09-21 23:39 by Womble
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024