At the beginning of this year my RSI became severe enough that I had to do something. I tried a Kenisis contour and a Goldtouch split keyboard. Neither of these provided the relief I was looking for. I got lucky and found a used DataHand Personal on Ebay. I was able to get a unit in pristine condition for half the price of a new one (at this price I could resell it for close to what I paid, if needed). The difference with the Personal is that it has a fixed QWERTY layout whereas the professional allows reprogramming of 20 keys. The current model also has USB whereas mine has P/S2.
Learning the DataHand was pretty difficult. After 20 years of touch typing you don’t really think about key locations. However, like most things in life, it was mastered with time and persistence (my RSI also kept me well motivated). After about 4 weeks I was using the DataHand part time and after 6 months was at 45 WPM (I was at 55 WPM on a traditional keyboard before I started). During this period I found some things with the DataHand key layout that I, personally, found sub-optimal. At this point I had a choice. For $180 I could have upgraded the unit to the Professional firmware to enable key reprogramming and resolved most of my issues. Or I could build my own controller.
I have am a EE by trade with many years of software and electronics experience. I innocently decided that designing my own controller would be a easy, quick project. The electronics part was easy but this was my first embedded software project. I have learned a lot and it has been fun, but writing Embedded C code was neither quick nor easy.
I searched the internet and found several keyboard projects based on the Atmel AVR platform. Because of these examples I picked the AVR. (I learn best from examples)
My first task was to reverse engineer the DataHand. I found that to be a fun challenge. The DataHand consists of 2 halves with 26 keys each. The DataHand used optical couplers instead of physical switches. This helps reduce the key force but also eliminates ghost keys. The two halves combine to create a single 13x4 keyboard matrix. The DataHand has a large 15 pin DIN cable to connect the left and right halves (The large cable is one thing I plan to streamline). There is one good thing about the 15 pin DIN cable: it makes a great debug port. (You see I have only one DataHand and I did not want to take it apart every time I wanted to work on my microcontroller.) So, in the evening I would just unplug the left hand and reconnect it to the 15pin DIN on my breadboard. This allowed me to do about 90% of my code development with the DataHand fully assembled.
My first AVR was the ATMega644 but I could never get the USB working. I then discovered the Teensy2.0++ from pjrc.com.
![](https://lh3.googleusercontent.com/19JqU2An7fJuewz05T2FAj6XIasYZqye_Dt0rEMewvy2_8V6mdsj9NK7qqC7d0hYu9xroke13Crx54SPDLAeK6twBPhv2Km_mSdBwFZDZ9rApZGtRlZku8fzJG6YziSGrl2nfOSwhso=w2400)
The Teensy is fantastic. It gave me an AVR with a ton of IO in a 40 pin DIP foot print and an onboard USB connector. Pjrc also included some debug utilities which turned out to be a real live saver. The DataHand uses a 40 pin 8051 as the microcontroller.
![](https://lh3.googleusercontent.com/VSRNaX350JQp2HQ3VVZK1dw6mikUGRbYOVDBHCercM3LyQGQg_q3i8NDtVlYE3P2ZmlWNVPa1bZ36uJThJ8T7WFhgEC6D-3cgPybOdlL1FXCZ1a-7EMYfaw3nrLuBeRdhmB_N-L66JA=w2400)
I was able to make an adapter using a 40 pin dip socket.
![](https://lh3.googleusercontent.com/H1Y2nZLThj3qhKCjgfOSDb5IvdDH25sQYzS-i7JxBERMgvnOYfWxtN1rdVkgb7L3U8aIkREIYbIi3NF3mFZJrZOOAGkRYDVcpByEO-TQjABcadNPrT8LAV67xsawmQG__aJA79Z32EQ=w2400)
With the adapter I can plug the Teensy directly into the DataHand circuit card.
![](https://lh3.googleusercontent.com/OWCoxZD2zsGm_GTDYOZQ00okWL_4YBL0iw762C1mIjTqI1wrpucKB3nFgW2WleRhXM3U_Aw5qGvo2YqwOBrI8zJbwYBwQM_YBlaOrDO6WIDk7OuYwLxchwV_U0halB1yHZN0iJ-BN8M=w2400)
This was soooo much easier than making a new circuit card. Right now the cable for the Teensy snakes out the top, but eventually I will run it out the back.
![](https://lh3.googleusercontent.com/QNJ0Xat7rpkSGxLhCwTEpQSrk8x20JnN_pgGha4jGPmTkaIwj-XgSFRyCrsXIwVv5_g4FZMF-2SLOVuZc-6dUH0gaqniWEr1ODZHH8bKcnv6jMA4CJyk00hOr-TDzUwFbHK-3MCCcEg=w2400)
At this point the project has the following:
[*]A Multi endpoint USB device that implements both a mouse and keyboard
[*]A firmware based 3 button scroll wheol mouse
[*]A Perl script which allows quick regeneration of the keyboard matrix
[*]Full rearrangement of mouse/keyboard layout via the Perl script and Firmware update
[*]A hotkey which initiates a firmware update
[*]No special mouse or keyboard drivers required
[/list]
The new layout I have settled upon is below. I highlighted in green the keys I moved. This text is very close to what my Perl script reads in.
![](https://lh3.googleusercontent.com/U-N5yeSK5APXNtjl7VbZToslz_83CZyVfcXNsC-ftMfqTBr_MOtfGXYB3e7yTqu7VXxfremxi1dCaAky7MsKMDVrflVOZzSDuLqluCs_egYp_gGWZKJauIlccSHfKaZzPc6fycW98dM=w2400)
The things that drove my new layout were:
[*]The default DataHand layout has non-alphanumeric characters on the same keys in NAS and NORM mode. For example NAS+pointer_finger+east gives you underscore, whereas unshifted_pointer+east gives you single quote. By sharing the same key I found myself hitting shift+pointer+east instead of NAS+pointer+east for the underscore. To alleviate this I rearranged the keys to follow the shifted/unshifted relationship of the QWERTY layout as much as possible and only put special characters on the A-Z letter keys.
[*]I wanted the mouse keys on the unshifted NORM keys
[*]I wanted the ( and < to be on the same finger. Having them on different fingers was confusing.
[*]When I hit the space key, the edge of my thumb would bump the FUNC key and put me in FUNC mode.
[*]When I would use FUNC mode keys like arrow or page down I would often forget to exit FUNC mode.
[/list]
With this problem solved I went after the only real shortcoming I have found with the DataHand: the mouse. Don’t get me wrong, the DataHand is a fantastic keyboard. However, I tried the built in mouse keys but they did not work well for me. It was like walking through Jell-O. I tried adjusting the speed of the mouse keys, no luck. I tried several things to solve the mouse problem: I first moved my external mouse to the left side (This gave a much needed break to my right hand). Next I purchased an ergonomictouchpad.com (recommendation from a DataHand user). This is a good device, but I could not find a good place to put it. The last thing has been the best.
I mounted a trackpoint from a IBM KPD8923 just below the ‘c’ key.
![](https://lh3.googleusercontent.com/i0qa1OfilYnLjktC3-OW5wilVXMC93f-fgzESS4qPrurCI3uoFNJyNwfYGLQLzpAjHKU0ks-IpxCVOw6Yn1ky7Vlzk8pWHfRBYRCqCwO4WfS0jdCnxSM20FpiUuLKIjS2PMUuilPDek=w2400)
![](https://lh3.googleusercontent.com/QXWCNFBr9FLasyh09zpcPlvyA-fop5jiPvHZNalCCuaKAcBIJGxlPoTq70FjViKMQy6Q5S66gTvlmeznM4tH-TanTs9nFxEVDUSXylspnxUxisZscZNCHG7Opis-WgBhhXe_NVS06VQ=w2400)
As you can see, the mounting point is over the edge of the DataHand PCB. So, I had to create a mounting plate. Here is how the TP is held in place on the IBM keyboard.
![](https://lh3.googleusercontent.com/pyFjDNrvFLsf6lu9GXVr4jiwHsK6oph2277tTNRyitghTy9qWz_zqfE9lUOVHN66AJrd-uKHhEQvrBRStx2HS7hlIg-5TxBwF6ukR9u9o0yCjTw_vApYYtWXT9ReMf_f5AsOjZPmhfw=w2400)
I cut out the chunk to which the TP was mounted. I then mounted this on the backside of the DataHand circuit card.
![](https://lh3.googleusercontent.com/wivR09rozFThKaXGPP_96viJ9JS_yioq6Ph8QP1edOlrClAwtCUCNwm0cFx_ANPpjEhRiyw3aUJ88sOIrLbusy4FAS_ASZKHncI_bYxe-1OVFyu2YJyxR1NihgTpxTvATmVT_bZrVRo=w2400)
It has been in place just a few weeks and I am really liking it. The addition of the trackpoint makes the DataHand a comprehensive keyboard/mouse solution. I just have to move my middle finger a small distance from the home row to access it. I have the 3 mouse buttons assigned to the right hand.
Some things I would like to do in the future:
[*]2 wire cable between left and right halves (instead of the bulky 15 pin din)
[*]Key frequency logger so I can better optimize my layout
[*]Design a PS2 -> USB controller so I can add acceleration to the TP
[/list]
The DataHand at my desk
![](https://lh3.googleusercontent.com/c4KW4kvwkLE5JtlTUBNcb_iJpRw2tvfeJjx_lOENpBT04uIhBLO_-w0bO0bEzOJ8DEN4PgiYa_H3YN9KG0RsGTioye5FHgRNjiSHLuGIlU7bCJfT6o4vEN6pvvdO3IVjyeFRTVpV31M=w2400)
[/FONT][/SIZE]