Author Topic: WYSE 50 Keyboard tuning  (Read 17980 times)

0 Members and 2 Guests are viewing this topic.

Offline peterro

  • Thread Starter
  • Posts: 3
  • Location: Damascus, OR
WYSE 50 Keyboard tuning
« on: Sat, 12 October 2024, 12:33:24 »
Hi all,

I started my career using a WYSE 50 terminal in the early 90's and thought it'd be cool to get one I could use now. After lots of reading and trial and error, it's ~sort of~ working but not usable yet. I think it's close but may need some minor adjustment.

To catch you up, this is what I've done. Got the keyboard and a Teensy 2.0 from https://1upkeyboards.com/shop/parts-and-tools/pjrc-teensy-2-0/ (the ebay one I first got didn't work). I used soarer's firmware 1.30 and applied the WYSE_WY50.sc configuration. Most of the details were from the following links:

https://geekhack.org/index.php?topic=52597.0
https://geekhack.org/index.php?topic=50883.0

I used the wiring diagram for the original 10-pin connector from this video at the 4:10 mark though I did swap the green and white as well as move the yellow to PB4 on the Teensy instead of PB7 like in the video which is more accurate to the original soarer pin-out:


Now getting to the problem I'm seeing. I installed QMK Toolbox to see what the keyboard was sending when pressing keys now that I'm getting some output. I noticed that the console showed multiple key codes when pressing one key. The key that was pressed is pretty much always one of the codes, but there are others which seem like line noise?

As an example, press 'a', and I get either 'era' or 'eqa' on the screen though usually 'eqa'. With the QMK key tester whenever pressing 'a', it shows the combination of 'e', 'q', 'a', and 'F5'. All the rest of the keys have similar 'noise' along with the correct key though the noise is different from key to key. It feels like if the 'noise' were gone, the board would mostly work correctly though there may need to be some remapping.

Anyway, any ideas what may be causing this? Is there some type of filter that may help or ???

Thanks in advance.

Offline peterro

  • Thread Starter
  • Posts: 3
  • Location: Damascus, OR
Re: WYSE 50 Keyboard tuning
« Reply #1 on: Wed, 06 November 2024, 16:41:20 »
Sorry to reply to my own thread but it's been almost a month and over 500 views without a reply so did I possibly post to the wrong sub-forum or is there a better place for posting? I would have posted to the end of the original thread but the forum implied when I posted that it may not be best since it was so old.

Any recommendations would be appreciated.

Offline wjrii

  • Posts: 128
  • Location: Texas
Re: WYSE 50 Keyboard tuning
« Reply #2 on: Thu, 14 November 2024, 12:12:19 »
This is the right forum, just not a ton of traffic these days, and you're down the rabbit hole pretty deep.  :) You might also try Deskthority if you can sign up properly, or ask on Reddit or a big Discord.  Soarer's is sort of a done-deal now, but if you find a solution built around Hasu's firmware, he's still around and very responsive.

Offline peterro

  • Thread Starter
  • Posts: 3
  • Location: Damascus, OR
Re: WYSE 50 Keyboard tuning
« Reply #3 on: Sat, 28 November 2026, 15:02:56 »
**Update: Successful WYSE 50 to USB conversion**

It's been a couple of years since I originally posted this, but I wanted to close the loop on this project and provide a working solution for anyone else who might have one of these keyboards.

I now have my original WYSE 50 keyboard working as a USB mechanical keyboard using the same Teensy 2.0 I had when I started this project. No modifications were made to the original keyboard PCB or switches. The conversion is entirely external to the original keyboard electronics.

I revisited the project with some (a lot of) assistance from ChatGPT and took a different approach this time. Rather than continuing to troubleshoot Soarer's converter firmware, "we" wrote firmware specifically for this keyboard.

The keyboard uses seven address lines and a single active-low return line. One of the key discoveries was that enabling the internal pull-up resistor on PD0 (the return line) eliminated the phantom key events I was experiencing.

"We" then wrote some diagnostic firmware and a Python utility to map every physical key on the keyboard. There are 101 physical keys but only 100 unique addresses, as the two Shift keys share the same electrical address.

**Wiring**

The following are the connector contact letters and corresponding Teensy 2.0 connections. The wire colors are from my particular harness.

| Connector | Wire color | Teensy 2.0 |
|---|---|---|
| A | White | PB0 |
| B | Green | PB1 |
| C | Purple | GND |
| D | Brown | PB3 |
| E | Yellow | PB4 |
| F | Orange | PB6 |
| G | Red | VCC (5V) |
| H | Grey | PB5 |
| I | Blue | PD0 |
| J | Black | PB2 |

Verify the connector orientation and wiring on your own keyboard before applying power.

**Firmware features**

- Native USB HID keyboard support
- No dependency on Soarer's converter firmware
- 100 microsecond address settling time
- 20 millisecond software debouncing
- Six-key rollover plus modifiers
- Full F1–F16 function key support
- Numeric keypad support
- Simultaneous key support
- Serial diagnostics
- Documented key mapping for easy customization

I mapped some of the original terminal-specific keys to functions that are more useful on a modern computer:

| Original key | Modern function |
|---|---|
| Funct | Alt / Option |
| Ins Repl | Windows / Command / Super |
| SetUp | F17 |
| Break | Pause/Break |
| Print Send | Print Screen |
| Prev PAGE Next | Page Up |
| Shift + Prev PAGE Next | Page Down |
| Line INS Char | Insert |
| Line DEL Char | Delete |
| Scrn CLR Line | End |

Both Shift keys work as Shift, and Ctrl works as expected.

**Installation**

I used Arduino IDE 2.3.11 with Teensy support version 1.62.0. Select Teensy 2.0, 16 MHz, and a USB type that supports Keyboard and Serial, then compile and upload the included USB firmware.

If you have the same keyboard revision, you should not need to run the diagnostic firmware or Python mapping utility. The complete mapping is already included in the USB firmware.

I've attached a ZIP file containing everything needed for the conversion, including a README with more detailed instructions, the working USB firmware, diagnostic firmware, Python mapping utility and the captured key mapping.

I've tested the conversion on my Mac and everything appears to be working. I haven't tested it on Windows or Linux, but it uses standard USB HID keyboard functionality.

Hopefully this saves someone else some time. I'm quite pleased to finally have this old keyboard working again without having to replace any of its original electronics.