Author Topic: [GB] F104+SSK+122+62+77+50+Ergo orders now open! Kishsaver+Industrial Model F  (Read 2563755 times)

0 Members and 1 Guest are viewing this topic.

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Everyone please do check out the manual on the project web site as I am currently in progress of a major update, which has reorganized the setup process under more manageable steps which encourage folks to take one step at a time and review just the contents of that step before going through that step, instead of the previous suggestion to go over everything before starting.

As always, if you can suggest (privately by email or message) some specific feedback on what to update or if something is out of place, it would be much appreciated.

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
F122 update: 

I am working on the first batch of F122 orders, with priority towards the low/custom serials (it is still OK to add a custom/low serial upgrade to your F122).  I want to make sure everything is good so as to avoid the need for folks to do a firmware update.  There are about 150 boards to go out.  This process only started recently; it did not start as soon as the keyboards arrived last month.  The goal was to get out that shipment out of China as quickly as possible (even if I was not ready to ship them soon after they were expected to arrive), and the shipment ended up leaving the port only days before the first tariffs went into effect.

As always for each board I do the final QC, including making sure each key pad registers in the signal level monitor.  In addition to creating the entire Leyden Jar controller hardware, firmware, and diagnostic utility (!), Rico has been very helpful in fine-tuning the firmware for the production units.  Extra attention needs to be paid to the calibration bins and the threshold offset values, so I've been trying various firmwares that vary these settings so I can put the best one on the boards.

As mentioned in the prior F122 update, some boards are in the first batch that arrived several weeks ago, while others are in the future batch that the factory is working to complete this month (they had to remake a small number of individual parts that were damaged or defective - I've asked them to make extras for future orders so that we won't have to wait to remake parts to complete a current order).  I won't be confirming everyone's order to see which batch they are in as my focus is to get these orders out as quickly as possible.  The low serial upgrades are definitely appreciated to help cover project cost overruns, but it doesn't mean your board is prioritized during factory production; it means that your board is prioritized for shipping once it is in stock.  The factory makes these keyboards by variation number, doing all boards of a particular variation at one time; they did not do 50% of each variation or prioritize making just the keyboards that were already ordered as that is not a feasible production process.  Currently there are several hundred variations of the Model F keyboards that the factory has made. 

It's always slower for a new product as I physically set up and test a sample of the first keyboards going out, with different variations (this does not mean that all the single digit serials get set up, for example).  This is a slow process.  I do a good amount of testing to measure the signal output of each key, as well as doing typing tests.  I am definitely taking my time with extra caution for the F122's since this is the very first Leyden Jar RP2040 powered keyboards. 

I mentioned an update about the tariffs earlier this month (see that post a bit earlier in this thread for details).  Currently they have no effect on the project, as nothing has shipped in the past few weeks since they went into effect.  As mentioned earlier, the current tariff rate for the HTS number 8471 containing keyboards was temporarily lowered to 20% on the production cost, which is not something that would cause an insurmountable issue if it were to remain in place. 

Currently this is not an available option but something I might consider, in addition to the other strategies noted before, is to allow folks in the second batch to switch their keyboard to an in stock variation, after all the keyboards from the current batch have shipped.  Please do not email me asking to switch now as I don't know which keyboards will be available until I've tested and mailed out the first batch.

If you are not picky with the case colors, please order a color other than Off-White/Beige or Industrial Gray.  Those colors were more popular than expected and I want to make sure some are still available in the future for those who are not flexible.
« Last Edit: Wed, 23 April 2025, 23:42:34 by Ellipse »

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Below are my current updates to the manual for the Leyden Jar firmware, which includes a discussion of optimizing the firmware.  The firmware will have various options for folks who want some choices.  I note below the current plans for which firmware I will be flashing to each F122 during QC - a firmware designed with maximum compatibility and ease of use.  Despite being a max compatibility firmware, this firmware setting will have a scan rate that is three times faster than the xwhatsit. 

Also below is a photo of one of the aforementioned keyboards that I have been testing and optimizing firmware with; it will be going to a user of the German layout (pardon the cell phone quality):
313331-0

Flashing Leyden Jar - can use Windows, Mac, and Linux (same instructions):

For keyboards with the Raspberry Pi RP2040-based Leyden Jar controller (F122, B104, B122, and others in the future)

Open the Leyden Jar diagnostic tool, which is in a folder inside the comprehensive QMK-layout-files.zip file linked above, click Refresh Device List, and click Enter Bootloader.  After clicking Enter Bootloader, an empty hard drive named "RPI-RP2" will appear in your computer's Explorer.  All you have to do is copy to this drive the .uf2 file inside one of the leyden_jar_firmware_package folders which can be found in the QMK-layout-files.zip file linked above.  There are several firmware variants with different numbers of calibration bins and activation offsets.

I recommend the one with 5 calibration bins and an activation offset of 7.  A higher number of calibration bins allows for a margin of safety around keys with different unpressed capacitance levels (for example, if there were only 1 bin then all keys would activate at the same value, but some keys may have an unpressed value close to or higher than the activation level, meaning a key would send a signal to the computer without being pressed.  I like to see the pressed value at least 3 higher than the DAC Threshold for that key's bin, and an unpressed value at least 3 less than the DAC Threshold for that key's bin (with capacitive PCBs, a pressed key may change the capacitance of other keys).

Calibration bins allow for different activation levels based on the initial unpressed level of each key when the keyboard is first plugged in.  More bins is safer but there is a performance penalty that is infinitesimally small, several thousandths of a second.  Rico notes that matrix scans are 3 times faster on the Leyden Jar compared to the xwhatsit controller (720us to scan 18 columns compared to xwhatsit's around 2ms since it is a 500hz polling rate). In other words, 5 bins would be 5 x 720us = about 3.5ms total scan time for 5 bins on the Leyden Jar compared to 5 x 2ms = 10ms for 5 bins on the xwhatsit. The xwhatsit Vial firmware uses 5 bins, so the RP2040 could even use 15 bins and still have approximately the same scan rate performance as the xwhatsit controller.

The default Leyden Jar firmware is expected to have 5 bins and an activation offset of 7 to be more foolproof, but premade firmware files with fewer bins and varying offsets are also available in the above zip file (for folks who want theoretically the best performance that they can never actually notice in real-world usage!).  Firmwares with 2 bins may be more likely to have issues with one or two keys sending a signal without being pressed, so I do not recommend them.  Be sure to close the Leyden Jar diagnostic tool before using Vial.rocks or the Vial software.
« Last Edit: Wed, 23 April 2025, 23:35:33 by Ellipse »

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Stolen keyboard alert:

Everyone please keep an eye out for a True Red Model M style case F104, serial number 680 which was stolen earlier this month.  Please let me know right away if you come across such a listing, or if you see a listing for a keyboard without a serial label shown.

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Update:  the F122 orders have started shipping out this week.  A lot of folks like the transparent relegendables with these keyboards.  Please do share photos of how you have customized your transparent relegendable Model F / M keys, whether new or original, as I have not seen too many such photos.  Any advice for how to use these keys?

Offline pixelpusher

  • * Elevated Elder
  • Posts: 4223
  • Location: Tennessee - USA
Stolen keyboard alert:

Everyone please keep an eye out for a True Red Model M style case F104, serial number 680 which was stolen earlier this month.  Please let me know right away if you come across such a listing, or if you see a listing for a keyboard without a serial label shown.


That’s crazy.  I’ll certainly keep an eye out.  :thumb:

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Firmware update request:

 Since the Round 2 beam spring boards (and eventually all Model F and beam spring keyboards) will be using the Leyden Jar controller, it would be great to combine what is great about all of the various firmwares out there! 

Hopefully someone in our community can update the Leyden Jar firmware with parts of Arkku's firmware to optimize the binning:

https://github.com/arkku/aakbd

For those not familiar, Arkku's firmware optimizes the number of calibration bins based on the variety of resting values in each keyboard, and turns off unused bins to improve the scan speed.

I think the more adaptable the firmware is to potential hardware issues in the future (including varying capacitance and dust/debris levels in the keyboards), the more these keyboards are likely to survive over the coming decades with folks who are less likely to maintain and repair their boards.

I am copying and pasting below some of the relevant discussion from the DT project thread:

Arkku:  "By optimizing the code for my firmware I got it down to under 1 ms (for the whole keyboard, but in fairness one of the "key" optimizations was to only scan bins and columns that have mapped keys in them, and this means the effective number of bins scanned was either 1 or 2 because the calibration ended up not needing more – another optimization was to not artificially force extra bins to be used if the keys were close enough in their levels to not need more)."

My reply:  "Thanks Arkku for this discussion! That is great information. I like your idea to set the number of bins based on the number of keys with different bins, and turn off / not use more bins than necessary. Would this be implementable in the new Leyden Jar Vial firmware (linked below)? For example, it could set each bin for all keys with a resting value of a certain value plus/minus 1, 2, or 3 values either higher or lower (not both higher and lower; easily user-adjustable by a variable. Should each bin's reference level be the highest level of keys in that bin, or the lowest?).

This would allow a lower offset to be used, which could be helpful to keep keyboards running even if they have some dust or debris that enter under the flipper at some point in time (these flippers would produce a weaker signal so the offset / value change when the key is pressed would be smaller). So for example it could put 378 and 379 resting values for one bin, 380 and 381 for another, one key with a 386 value on its own bin, and one key with 393 on another bin.

Sometimes with the F122 keyboards (they use the Leyden Jar controller), there are some keys that have a much higher resting value, and these values differ among these few keys. The current firmware hard-codes some of these keys to have their own custom bin, but sometimes the resting levels vary even between those keys so they shouldn't both be in one bin.

Do you (or does anyone else) have additional recommendations for the Leyden Jar project and firmware?
https://github.com/mymakercorner/vial-qmk/tree/leyden_jar 
"

Arkku:  "I haven't looked at the details of how the Leyden Jar firmware is implemented, but assuming the hardware works similarly to the xwhatit's-based controller: sure, the same optimizations can be done, but the actual values for the thresholds would differ and would probably need to be determined by trial and error.

As for what value to use for each bin, IIRC the approach used in my firmware's auto-calibration is to take the average value of that bin and then offset it by a magic number to make it less sensitive. This magic number is what needs to be determined by trial and error based on the hardware – it's basically an offset that is sufficiently large that there are no phantom keypresses, but not so high that it would stop real keypresses from being detected. It also indirectly determines how many bins are needed: there must be enough bins that the keys in the same bin are close enough that they all work after the offset is applied (i.e., the average value is ok to use because no key in the same bin differs greatly from it).

The maximum number of bins is hardcoded at compile time and can't be changed, but as long as the difference between keys is small compared to the magic number, there is no reason to use all of those bins. All four of my model F keyboards work with either 1 or 2 bins – not sure whether the keys will start to deviate more with age.

Then it's just a matter of optimizing the code to be able to skip any unnecessary scans. And there are some additional micro-optimizations possible, like do every other scan in the opposite direction (this saves changing the DAC settings once per scan because the last setting of the previous scan is the first setting of the next – although it makes the latency of some keys variable since the scan order is not always the same). When talking about fractions of milliseconds, these do add up."

My reply:  "Having manually analyzed many production F122 keyboards, including their unpressed and pressed values for each key, I believe that an offset of 6-7 (difference between pressed and unpressed values for a particular key) is acceptable for virtually all F122 keys if bins only allow 2 or 3 adjacent numbers for each bin, in terms of unpressed values. So I think your updated Leyden Jar firmware could start with those figures as an initial version.

To keep things simple I would like each bin's reference level to stay the same as what Rico has set. I like that your firmware plans for future deviance requiring more bins, without needing to recompile firmware in the future."

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
With permission I am sharing the first user image of the new F122 keyboards!  This one has the F13-F24, transparent relegendables, and blue cursor keys.  The low serials are going out first (as always, orders can still be upgraded to skip the line through the low serial product page).
313447-0

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
With permission I am sharing the second user image of the new F122 keyboards! This one includes some interesting keys from Unicomp, with legends I have not seen before.
313458-0

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
And here is another one!  This one is a dark gray F122.  Posting with permission as per usual.
313460-0

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Here is an interesting solenoid mod, along with a description.  I do not know the long-term effects of this, so I cannot recommend it, but it is something to think about!  This new F122 user wanted a much lower impact for the solenoid, even beyond the sound from the minimum throw length.

"I also restricted my solenoid a little bit further with some electrical tape. I applied it and stretched it a bit further out using the top bracket. I would say the sound without it has a bit of a harsh/high frequency impact -- metal on metal kinda sound that reverberates through the backplate.  Adding the tape sorta rounded it out, making it work much much better with the keys to my ears. Much more subtle and typewriter-y."
313462-0

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Important F122 Leyden Jar firmware update to fix phantom key press issue for some keyboards:

When you have a moment, everyone please test the updated firmware and let me know if there are any issues. 

https://www.modelfkeyboards.com/wp-content/uploads/2025/05/leyden_jar_f122_vial_2025_05_10.zip

Rico is working on a new firmware update that will fix a few other small requests too, but I recommend updating to the above firmware if you have any issues with the debounce/with phantom key presses.  The above link will no longer work and the file will be deleted after the update is made and added to the regular QMK-layout-files.zip file in the manual, where the various firmware files are all located.

The debounce was not working at all on the original firmware because the debounce time in was set too low for the higher number of bins used in the default firmware (more bins requires a few thousandths of a second more debounce time).  More details are below if you are interested.


You have to manually set the debounce time as it is a constant.  Setting this time too low results in debounce not running at all, so a setting of 10 ms is recommended as an initial test.  Rico notes "What needs to be done for the F122 keyboard is to increase debouncing time so that it is higher than the matrix scan time + additional qmk logic.  Total latency is approximately max(debounce_time, matrix_scanning_time) + qmk logic.  This means that if the matrix scanning takes more time than the debounce time, no debouncing will be done.  With 6 bins we have ~4.3ms scanning time, this is not a huge number.  Sure QMK USB polling rate take an additional 1ms and debouncing takes 5ms on top of that, we still end at ~10ms latency which is more than adequate for normal typing sessions and casual gaming (below this value only the very best players can see the difference, and they are more probably inclined to use a hall effect gaming keyboard). To reduce latencies maybe it would be easier to reduce the debouncing values (and check that it does not introduce double press issues), or even better select another debouncing algorithm (there is one that introduces no delay when detecting key presses, only one when detecting key releases).  To change the debounce time, the following line has to be added in the info.json file of the f122 board:"
"debounce": 10

The only downside to longer debounce times is a couple thousandths of a second additional input delay.  Many mechanical keyboards are about 10ms anyways, about the same as Leyden Jar-powered keyboards.

With permission I am sharing another nice customized F122. 

313477-0
« Last Edit: Mon, 12 May 2025, 14:49:04 by Ellipse »

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
The Leyden Jar firmware has just been updated (same link as my above post).  Please let me know if there are any issues!

New updates from Rico:
The NKRO option works once more (click Fn+Space+N to enable as it is disabled by default for compatibility reasons)
2nd and 3rd layer shortcuts and mappings for Fn and menu keys now match the xwhatsit Model F firmware shortcuts (see the project website manual for details)

Important note:  while in the xwhatsit NathanA firmware you can split and unsplit keys in Vial, for the Leyden Jar firmware you would have to flash the generic firmware for your keyboard (for example, leyden_jar_f122_vial.uf2) to enable additional pads.  This firmware is useful for using the shorter spacebar and for using the 5 keys above the cursor keys for those who are adding barrels, flippers, and keys to those spots.

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Posting (with permission) another nice F122 setup, customized with keys from various key groups on the Extra Keys store page.

This one features one of those third party IBM new production badges (I believe from eBay) that I do not offer.  The spot on the keyboard is designed to fit the IBM F122 style badges (the PC AT badges won't fit since they are bigger).

Everyone please share your new Model F photos, or send them to me if you prefer me to share them.

313601-0
313603-1
« Last Edit: Wed, 21 May 2025, 19:14:48 by Ellipse »

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Project milestone - this week the 6,500th keyboard shipped, for the new Model F and Beam Spring keyboard projects! 

Who would have known that we would reach that when the project started and I was getting quotes to make 50 F62 and 50 F77 keyboards!

Offline cyber_engineer

  • Posts: 3
  • Location: Japan
  • IBM 5576 A-01
    • Engineer M's homepage
My esteemed ladies and gentlemen, a very good day to you all.

I come to you from the distant and delightful isles of Japan, enjoying a rather splendid afternoon tea—Darjeeling, second flush, naturally—as I pen these humble reflections upon my venerable Model F122 keyboard.

As it happens, I've been pondering the proper utilization of the relegendable keys, particularly those curious fellows numbered F13 through F24. Truth be told, I found scarcely any practical employment for them in my daily computing affairs. Assigning these keys to custom functions through the wonders of VIA, therefore, seems quite the appropriate course of action.

I have previously bestowed upon the left-side column some charming media-control duties, yet those distinguished keys from F13 onwards remained conspicuously idle—something I could hardly abide. Thus, inspiration dawned upon me: Could these fine relegendable keys perhaps aspire to become a quaint approximation of a macro pad or, at least in spirit, something akin to the illustrious Stream Deck, albeit with somewhat less versatility?

Alas, my desk is already well-attended by numerous left-hand controllers, and thus, the precise purpose of these keys yet eludes me somewhat. Nevertheless, creativity is seldom restrained by necessity. In that vein, I have indulged myself in crafting whimsical labels for these keys, a charming folly which I share with you below. (My good friend Ellipse, you are most cordially invited to make free use of these images, should you see fit.)

313626-0

Thus arrayed from left to right:

・The noble insignia of CyberMates,
・A brisk and resolute「実行 (RUN)」(execution),
・A daring「再起動」(reboot), attired boldly in hazard colours,

And, finally, a perilous yet enticing「STOP」button of alarming crimson, whose gravity should not be underestimated.

The labels, by the by, have been conjured forth from my faithful Adobe Illustrator. Should interest be expressed by this refined assembly, I shall consider polishing and graciously uploading the template for general use.

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Thanks for sharing these nicely made transparent relegendable keys cyber_engineer!

Leyden Jar update and request for help:

So far over 130 F122's and their Leyden Jar controllers have shipped.  After some firmware updates the reports are good so far!

Here are some plans for the Leyden Jar controller:

Need help - Split communication between halves, with one half powering the other (for future split ergonomic layouts):

"Well for the moment one half is working but I have trouble making the split feature work.  I need time to understand what is wrong with my code: as I have a custom matrix scanning this looks to complicate stuff (all the project I have seen look to use standard QMK matrix scanning).  I need to make split working and also try different settings like full duplex (testing half duplex at the moment), various detection of left and right parts"

Rico has kindly published this test code for split communication with the below link.  If anyone can help it would be much appreciated to make these controllers even more powerful and useful with various keyboard projects.  Rico confirms that the controllers work even with non-capacitive keyboards.  https://github.com/mymakercorner/vial-qmk/tree/leyden_jar_impostor

I would like to use a "USB C cable to connect the two ends instead of a TRRS cable" as the latter may result in accidental shorts if the keyboard is powered on during disconnection.

4 layer PCBs:
Using 4 layer PCBs as innovated by wcass to remove the trace area around the PCB, for a smaller PCB (better for the future compact designs mentioned in the Google form above.

PS/2 support:
Rico has started this but it is not yet working.  If you'd like this feature and can help, please do!  https://github.com/mymakercorner/Leyden_Jar

Offline cyber_engineer

  • Posts: 3
  • Location: Japan
  • IBM 5576 A-01
    • Engineer M's homepage
Good day to you, dear ladies and gentlemen. I do hope your tea remains suitably warm and your scones delightfully buttery.

Having enjoyed a spot of leisure, I have been amusing myself by designing a set of templates tailored particularly for the charming relegendable keys of our esteemed Model F122 keyboards.

Behold, the delightful fruits of my idle teatime labours:

313632-0

For those amongst us whose schedules permit no delay whilst the kettle boils, I've graciously arranged the templates for your immediate convenience.

'relegendable.zip'
http://mateweb.cyber-mates.net/engineerm/download/relegendable.zip
MD5: d32378dcd3716574a670a47b0214bf2f

Mind you, owing to the whims of server administration, this archive may gracefully retire by the close of July. Therefore, my good friends at Model F Labs and our dear Ellipse are granted full permission to store and redistribute this humble creation, provided only that credit (Cyber_engineer – Twitter @Mates_ENGINEER) be kindly included in any official distributions, should you deem the offering worthy.

The archive includes both Adobe Illustrator (.ai) and PDF formats.
Should Illustrator be absent from your digital drawing-room, do consider converting the provided files into a format of your choosing through one of the numerous avenues available.

Please print at exactly 100% scale without any page scaling, and do not be alarmed if your printer issues a gentle protestation about content overflow—the necessary elements will remain quite safely ensconced within printable boundaries.

Allow me also the pleasure of sharing how I have personally adorned my own beloved Model F122:

Full Arrangement:
313634-1

Left-Side Hotkeys:
313636-2

Upper F-Keys (First set):
313638-3
Here lies my modest suite of macro keys.

Upper F-Keys (Second set):
313640-4
A whimsical homage to cherished items—British liberty, teatime, and a pair of exquisite Japanese sushi varieties: delicate salmon and delectable tamago (egg).

Upper F-Keys (Third set):
313642-5
A small array of practical functions: ‘Save As,’ ‘Overwrite Save,’ ‘Power,’ and—perhaps somewhat alarmingly—‘Self-Destruct’.
Pray, my friends, do not press the ‘Self-Destruct’ key, for my entire abode would most assuredly be reduced to rubble. Your cooperation in this matter is deeply appreciated.

Though I consider this current layout merely provisional, subject no doubt to refinement as the days roll serenely by, I nonetheless find myself quite contented to bask awhile in its gentle splendour.

May you each enjoy your keyboards with the cheerful resonance of buckling springs beneath your fingertips, your spirits buoyed by mirth, wit, and good cheer—and may your cups of tea forever remain pleasantly warm.

Should you desire to converse further, I would be honoured and most delighted indeed to hear your thoughts. And fear not, you needn't adhere strictly to such an eccentric parlance as mine; speak as plainly as you wish.

With warmest regards and an earnest toast to your continued happiness,

Cyber Engineer

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Thanks cyber_enginner; your template will be of great help!  I have linked to it on the transparent relegendable page on the project web site.

With permission I am sharing the first photo of the Hebrew English key set on the new F122!

There are a couple dozen available key sets and it is nice to see photos of some of the rarer key sets.


313694-0

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards

Offline Ellipse

  • Thread Starter
  • Posts: 1747
  • Location: New York
    • Brand New Model F Keyboards
Posting (with permission) another great F122 setup.

This one is special as it has an old hi-fi Pioneer badge (for a cool retro styling) and Unicomp Esc and APL keys.
(edit - will repost later - photo posting is currently not working)
« Last Edit: Tue, 03 June 2025, 20:19:48 by Ellipse »