A Smaller Xwhatsit
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
Nope Muirium I haven't been able to get a hold of xwhatsit in a while.
Interestingly the analog stuff has no detection errors in any of my testing, save that one key pad, so that side may be in good shape for now. It's the frequent disconnections that seem to be the largest issue.
Interestingly the analog stuff has no detection errors in any of my testing, save that one key pad, so that side may be in good shape for now. It's the frequent disconnections that seem to be the largest issue.
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
Yes I think so. Maybe the smaller board requires different capacitor / resistor values so that the digital electronics function with the proper voltage? Maybe the controller is using too much voltage? That seems to be the case at least when testing the columns (the 0.7v original column strobing voltage compared to 1.7v of the newer controllers).
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Is the digital stuff all the same as on the original? Component wise?
If so, sounds like analog voodoo is at work. Resistors and capacitors make tuned circuits, for just the kind of analog signal work a capsense matrix requires. Their values must be tuned for the circuit in question. Path lengths and even proximity factor into that, as I hazily understand.
If so, sounds like analog voodoo is at work. Resistors and capacitors make tuned circuits, for just the kind of analog signal work a capsense matrix requires. Their values must be tuned for the circuit in question. Path lengths and even proximity factor into that, as I hazily understand.
- 0100010
- Location: DFW TX, US
- Main keyboard: IBM 4704 107
- Main mouse: Trackman FX
- Favorite switch: Buckling Spring
- DT Pro Member: -
Do the new F62 / F77 PCBs work OK with an original layout xwhatsit? From both the analog threshold POV and from the controller stability POV? Or, do you also see the !1 / 192 issue with the original controller?
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
Muirium yes just about everything is the same but there were some component changes. I think you're right that these resistor and capacitor values may need to change based on the path lengths and proximity which are shorter/closer on the smaller xwhatsit. That is well beyond my understanding though.
A QFN package component was changed to the equivalent SOIC package component
The full size 16mhz crystal was swapped for a half size one with the same specs including load capacitance, and RP1 and RP2 was replaced with a single 10 pin bused resistor array with the same specs (now labeled RP10).
And maybe other changes as well (wcass and phosphorglow did I miss anything?)
0100010 the original controllers work perfectly with zero issues on my F62/F77 prototypes. I've been using them without issue as my main keyboard since January.
A QFN package component was changed to the equivalent SOIC package component
The full size 16mhz crystal was swapped for a half size one with the same specs including load capacitance, and RP1 and RP2 was replaced with a single 10 pin bused resistor array with the same specs (now labeled RP10).
And maybe other changes as well (wcass and phosphorglow did I miss anything?)
0100010 the original controllers work perfectly with zero issues on my F62/F77 prototypes. I've been using them without issue as my main keyboard since January.
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
An update - I tested a third USB cable that is 2 feet (the first two tested were 10 foot cables like the ones that will be used with the F62/F77 project. So far the smaller cable works 100% with no disconnections or crashing.
So I think it may be an issue with the value of the resistors for the USB connector - maybe they need to be adjusted to allow for longer USB cable lengths? Any ideas?
After that the major problem is the one key !1 / 192 issue, and also the high voltage when strobing the columns (not sure if the latter makes a difference in the controller operation.
So I think it may be an issue with the value of the resistors for the USB connector - maybe they need to be adjusted to allow for longer USB cable lengths? Any ideas?
After that the major problem is the one key !1 / 192 issue, and also the high voltage when strobing the columns (not sure if the latter makes a difference in the controller operation.
- wcass
- Location: Columbus, OH, USA
- Main keyboard: ibm model m
- Main mouse: kensington expert mouse
- Favorite switch: buckeling spring
- DT Pro Member: 0185
That is some good clues.
Longer USB cable would have greater resistance than shorter USB cable - so maybe i need to lower the resistance at R1 and R2 on the D+ and D- lines. That would be easy to check.
Another thing might be that the D+ and D- lines pass right next to the crystal. Maybe i need to route the USB lines away from the crystal.
I'll draw that up this weekend.
Longer USB cable would have greater resistance than shorter USB cable - so maybe i need to lower the resistance at R1 and R2 on the D+ and D- lines. That would be easy to check.
Another thing might be that the D+ and D- lines pass right next to the crystal. Maybe i need to route the USB lines away from the crystal.
I'll draw that up this weekend.
- wcass
- Location: Columbus, OH, USA
- Main keyboard: ibm model m
- Main mouse: kensington expert mouse
- Favorite switch: buckeling spring
- DT Pro Member: 0185
Same size. I just moved the USB connector to leave the crystal more isolated. I also changed row order so that trace length from MCU to rows is more uniform.
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
wcass your new design may do the trick, hopefully minimizing noise on the data lines for the USB - not sure if we should try further resistor/capacitor adjustments on the current compact xwhatsit controllers to be sure.
I compared VCC on the USB connector with a 2 foot and 10 foot USB cable and the voltage differences were negligible (0.01v) - the 2 foot one was about 5.17v (a little high but within the spec of USB) and the 10 foot one was about 5.16v. So I don't know why the 2 foot works just about 100% well compared to the 10 foot which crashes every few minutes.
I compared VCC on the USB connector with a 2 foot and 10 foot USB cable and the voltage differences were negligible (0.01v) - the 2 foot one was about 5.17v (a little high but within the spec of USB) and the 10 foot one was about 5.16v. So I don't know why the 2 foot works just about 100% well compared to the 10 foot which crashes every few minutes.
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
re-posted from the Brand New Model F keyboards thread:
good news - the compact xwhatsit controllers are now problem free! joc just sent me his latest firmware with alternative debounce filter which has 100% fixed all firmware issues. wcass and phosphorglow's work on the updated prototype controller fixed the other issues with voltages.
The one "stuck" 1 ! key was likely user error (my error) as I connected the controller to the capacitive PCB for testing by jumper wires which I now know are probably too long for reliable operation. phosphorglow connected my F77 PCB to the compact xwhatsit controller with shorter wire and the stuck key was resolved.
Thanks again to all the hard work of red, wcass, phosphorglow, and joc for making the compact xwhatsit controller a reality!
good news - the compact xwhatsit controllers are now problem free! joc just sent me his latest firmware with alternative debounce filter which has 100% fixed all firmware issues. wcass and phosphorglow's work on the updated prototype controller fixed the other issues with voltages.
The one "stuck" 1 ! key was likely user error (my error) as I connected the controller to the capacitive PCB for testing by jumper wires which I now know are probably too long for reliable operation. phosphorglow connected my F77 PCB to the compact xwhatsit controller with shorter wire and the stuck key was resolved.
Thanks again to all the hard work of red, wcass, phosphorglow, and joc for making the compact xwhatsit controller a reality!
- phosphorglow
- Location: Indianapolis - USA
- Main keyboard: IBM Model M
- Main mouse: Kensington Expert Mouse
- Favorite switch: Buckling Spring!
- DT Pro Member: -
- Contact:
Super exciting stuff! My apologies for not being more useful and taking forever to actually get the soldering done... ;P
Just as Ellipse said - big thanks to red, wcass, joc, Ellipse, and xwhatsit for creating the whole thing in the first place.
Here's a bunch of hand soldered silliness:
Just as Ellipse said - big thanks to red, wcass, joc, Ellipse, and xwhatsit for creating the whole thing in the first place.
Here's a bunch of hand soldered silliness:
- wcass
- Location: Columbus, OH, USA
- Main keyboard: ibm model m
- Main mouse: kensington expert mouse
- Favorite switch: buckeling spring
- DT Pro Member: 0185
I thought i posted these somewhere, but maybe not.
I'm not sure i found the right BOM (it has been 3.5 years). I think this is it, but not sure.
Location Type Form Factor
C1;C2; 30pF; 0805;
C3; 4.7uF; 0805;
C4;C7;C8;C9;C10;C11;C12; 0.1uF; 0805;
C5; 1uF; 0805;
R1;R2; 22; 0805;
R3;R6; 20K; 0805;
R4;R7; 4.7K; 0805;
R5;R9; 10K; 0805;
R8; 1K; 0805;
RP12; 10K; 2512;
RP3;RP4; 100K; 1206;
U1; ATMEGA32U2; TQFP32;
U2; DAC101S101; TSOT-6;
U3;U4; LM339A; SO-14;
U5;U6; 74AHC595; SO-16;
X1; 16MHz;
I'm not sure i found the right BOM (it has been 3.5 years). I think this is it, but not sure.
Location Type Form Factor
C1;C2; 30pF; 0805;
C3; 4.7uF; 0805;
C4;C7;C8;C9;C10;C11;C12; 0.1uF; 0805;
C5; 1uF; 0805;
R1;R2; 22; 0805;
R3;R6; 20K; 0805;
R4;R7; 4.7K; 0805;
R5;R9; 10K; 0805;
R8; 1K; 0805;
RP12; 10K; 2512;
RP3;RP4; 100K; 1206;
U1; ATMEGA32U2; TQFP32;
U2; DAC101S101; TSOT-6;
U3;U4; LM339A; SO-14;
U5;U6; 74AHC595; SO-16;
X1; 16MHz;
- Attachments
-
- xwhatsit-wcass8.zip
- The Gerber files
- (43.65 KiB) Downloaded 177 times
-
- Location: Germany
- Main keyboard: Model F77
- Main mouse: Logitech MX Master 3S
- Favorite switch: Alpaca V2
Thanks so much for this.wcass wrote: ↑29 Jan 2020, 04:08I thought i posted these somewhere, but maybe not.
I'm not sure i found the right BOM (it has been 3.5 years). I think this is it, but not sure.
Location Type Form Factor
C1;C2; 30pF; 0805;
C3; 4.7uF; 0805;
C4;C7;C8;C9;C10;C11;C12; 0.1uF; 0805;
C5; 1uF; 0805;
R1;R2; 22; 0805;
R3;R6; 20K; 0805;
R4;R7; 4.7K; 0805;
R5;R9; 10K; 0805;
R8; 1K; 0805;
RP12; 10K; 2512;
RP3;RP4; 100K; 1206;
U1; ATMEGA32U2; TQFP32;
U2; DAC101S101; TSOT-6;
U3;U4; LM339A; SO-14;
U5;U6; 74AHC595; SO-16;
X1; 16MHz;
A few open questions:
1. C6 is missing in your parts list. I am assuming this is also 0.1 uF capacitor (in a 0805 package). Please confirm.
2. Size of this board is 77 X 25 mm. Is this correct?
3. What is the package size of the X1 Resonator?
4. Would you be able to generate a Pick and Place file? If not, can you post the Kicad / Diptrace file as well?
Last edited by kmnov2017 on 29 Jan 2020, 15:06, edited 1 time in total.
-
- Location: Germany
- Main keyboard: Model F77
- Main mouse: Logitech MX Master 3S
- Favorite switch: Alpaca V2
For those of you just tuning into the post, this is the modified Xwhatsit controller for the model F keyboards. Ellipse's new model Fs use this controller. This controller is the exact same thing Xwhatsit made in terms of schematics, but has a significantly smaller footprint (almost half the original size). The biggest problem with Xwhatsit was the shift registers used on the original design came in an exceedingly small packaging making it extremely difficult to hand solder. This modified design by Wcass uses a much larger shift register that is a lot easier to hand solder. Additionally, since the costs of PCBs and components have fallen over the past years, one can have these made for under 10 USD/EUR. Which is cheaper than the cypress CY8CKIT-059 (Minimum 23 EUR/25 USD In Europe).
-
- Location: UK
- Main keyboard: Filco ZERO green alps, Model F 122 Terminal
- Main mouse: Ducky Secret / Roller Mouse Pro 1
- Favorite switch: MX Mount Topre / Model F Buckling
- DT Pro Member: 0167
Do you think it would be worth switching that connector to USB C ? mini usb is a bit old hat now and quite unreliable.
-
- Location: Germany
- Main keyboard: Model F77
- Main mouse: Logitech MX Master 3S
- Favorite switch: Alpaca V2
No, because soldering a USB C connector is even more difficult than the shift register.
Also how did you conclude that micro usb is not reliable??
- zrrion
- Location: United States
- Main keyboard: F122
- Main mouse: Microsoft IntelliMouse
- Favorite switch: ALPS SKCC Cream
- DT Pro Member: -
- Contact:
It could be replaced with USB breakout pads, but not with another connector imo
- wcass
- Location: Columbus, OH, USA
- Main keyboard: ibm model m
- Main mouse: kensington expert mouse
- Favorite switch: buckeling spring
- DT Pro Member: 0185
I actually did design a version with USB-C connector and one with USB breakout pads.
The USB-C connector is larger (in one demension) than micro USB and requires an additional resistor, so i had to move some stuff around and i think that C6 was eliminated because of that. I think i determined that it was not necessary. The crystal footprint is 7x4.1mm. Example: ABLS7M2-16.000MHZ-D-2Y-T
I have not built either of these variants, but they are based on this version. Let me see if i can find those ...
The USB-C connector is larger (in one demension) than micro USB and requires an additional resistor, so i had to move some stuff around and i think that C6 was eliminated because of that. I think i determined that it was not necessary. The crystal footprint is 7x4.1mm. Example: ABLS7M2-16.000MHZ-D-2Y-T
I have not built either of these variants, but they are based on this version. Let me see if i can find those ...
- Attachments
-
- wcass8b.zip
- (45.29 KiB) Downloaded 178 times
-
- Location: UK
- Main keyboard: Filco ZERO green alps, Model F 122 Terminal
- Main mouse: Ducky Secret / Roller Mouse Pro 1
- Favorite switch: MX Mount Topre / Model F Buckling
- DT Pro Member: 0167
-
- Location: Germany
- Main keyboard: Model F77
- Main mouse: Logitech MX Master 3S
- Favorite switch: Alpaca V2
A USB cable once connected will probably never ever be removed from the keyboard.
But then again, the Gerber's are public, feel free to modify and attach whatever connectors works for you.
@wcass. The idea is to get these assembled by JLCPCB - so some of the parts need to be changed to match their parts list. I'll get in touch with you...
But then again, the Gerber's are public, feel free to modify and attach whatever connectors works for you.
@wcass. The idea is to get these assembled by JLCPCB - so some of the parts need to be changed to match their parts list. I'll get in touch with you...
- anthonymak
- Location: Hong Kong
- Main keyboard: IBM Model F101
- Main mouse: Microsoft arc
- Favorite switch: Buckling Spring
- DT Pro Member: -
I tried 5032 16Mhz crystal with the original xwhatsit model f controller and it works fine without any noticeable issue. the original crystal spec is just a little bit big.wcass wrote: ↑30 Jan 2020, 02:02The crystal footprint is 7x4.1mm. Example: ABLS7M2-16.000MHZ-D-2Y-T
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
I disagree.
Attached cables are much more difficult to manage for travel and storage. Sure, if the keyboard is a daily driver and never moves, an attached cable is fine. But as a collector I have a strong preference for detachable.
I also prefer recessed mounts so that, if I'm sitting at a shallow desk front to rear, there isn't an aggressive cable bend right at the cable connection point that needs to be strain relieved. IBM Model M got this right.
- zrrion
- Location: United States
- Main keyboard: F122
- Main mouse: Microsoft IntelliMouse
- Favorite switch: ALPS SKCC Cream
- DT Pro Member: -
- Contact:
Personally, I feel like detachable cables should connect to a securely mounted daughter board and not to the controller. The M gets a pass because it has a very sturdy connector, mini USB on the controller tends to be way too fragile in my experience.
- wcass
- Location: Columbus, OH, USA
- Main keyboard: ibm model m
- Main mouse: kensington expert mouse
- Favorite switch: buckeling spring
- DT Pro Member: 0185
The files for USB-C.
As stated, the connector is larger so some things needed to move around. I had to move the Reset switch to the back.
As stated, the connector is larger so some things needed to move around. I had to move the Reset switch to the back.
- Attachments
-
- Gerbers.zip
- (42.56 KiB) Downloaded 188 times
-
- Location: United States
- Main keyboard: Brand New Model F Keyboards
- DT Pro Member: -
- Contact:
Anyone interested in helping to speed up the xwhatsit GUI program?
Alas I know next to nothing about programming.
On my fairly new PC running Win 10, it always takes some time to start the program and it takes a while to import a saved layout file to a keyboard.
Also the saved layout file does not load the column skip settings - maybe that could be added (though some may not want this behavior!)?
Alas I know next to nothing about programming.
On my fairly new PC running Win 10, it always takes some time to start the program and it takes a while to import a saved layout file to a keyboard.
Also the saved layout file does not load the column skip settings - maybe that could be added (though some may not want this behavior!)?